'use strict';const bingUrl=new URL(window.location.href);bingUrl.searchParams.has("form")||(bingUrl.searchParams.set("form","MA13KP"),window.history.replaceState({},"",bingUrl.toString()));const bingUrlParams=new URLSearchParams(location.search),bingUrlFormValue=bingUrlParams.get("form"),bingLinks=document.querySelectorAll("a"); bingLinks.forEach(c=>{const a=c.getAttribute("href");if(a&&(a.includes("copilot.microsoft.com")||a.includes("microsoft-copilot/for-individuals/do-more-with-ai")||a.includes("/bing"))&&!a.includes("form\x3d")){var b=new URL(a);b=-1!=b.search.indexOf("https:")?(2==b.search.split("?").length?"?":"\x26")+"form\x3d"+bingUrlFormValue:(a.includes("?")?"\x26":"?")+"form\x3d"+bingUrlFormValue;c.setAttribute("href",a+b)}});