This repository has been archived by the owner on Sep 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
inline.min.js
1 lines (1 loc) · 59.3 KB
/
inline.min.js
1
window.inlineSeachExt={},window.inlineSeachExt.overlayDisplayed=!1,window.inlineSeachExt.currentPageHeight=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),window.inlineSeachExt.currentPageWidth=Math.max(document.body.scrollWidth,document.body.offsetWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.offsetWidth),function(){function handleMouseMove(event){var dot,eventDoc,doc,body,pageX,pageY;null==(event=event||window.event).pageX&&null!=event.clientX&&(doc=(eventDoc=event.target&&event.target.ownerDocument||document).documentElement,body=eventDoc.body,event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0),event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0)),window.inlineSeachExt.extInlineSearchX=event.pageX,window.inlineSeachExt.extInlineSearchY=event.pageY}document.onmousemove=handleMouseMove}(),window.inlineSeachExt.inline=function(inCtrl,overlayEnabled,last_engine){console.log(inCtrl),window.inlineSeachExt.createShadowDOM(),window.inlineSeachExt.doc_keyUp=function(e){e.ctrlKey&&e.keyCode==inCtrl&&(1==overlayEnabled&&window.inlineSeachExt.inline_search_withOverlay(),0==overlayEnabled&&window.inlineSeachExt.inline_search_withoutOverlay())},document.addEventListener("keyup",window.inlineSeachExt.doc_keyUp,!1)},chrome.storage.local.get(["n_inCtrl","n_overlay","n_last_engine"],function(result){void 0==result.n_inCtrl&&void 0==result.n_overlay&&void 0==result.n_last_engine?chrome.storage.local.set({n_inCtrl:"B",n_overlay:1,n_last_engine:"inext-ch-google"},function(){window.inlineSeachExt.last_engine="inext-ch-google",window.inlineSeachExt.inline("B".charCodeAt(0),1,"inext-ch-google")}):(window.inlineSeachExt.last_engine=result.n_last_engine,window.inlineSeachExt.inline(result.n_inCtrl.charCodeAt(0),result.n_overlay,result.n_last_engine))}),window.inlineSeachExt.inline_search_withOverlay=function(){if(window.inlineSeachExt.overlayDisplayed)window.inlineSeachExt.shadow.getElementById("ext_inlineSearchOverlay").remove(),window.inlineSeachExt.shadow.getElementById("ext_InlineSearch_Panel").remove(),window.inlineSeachExt.overlayDisplayed=!1;else{var ext_inlineSearchOverlay=document.createElement("div");ext_inlineSearchOverlay.id="ext_inlineSearchOverlay",window.inlineSeachExt.shadow.appendChild(ext_inlineSearchOverlay),window.inlineSeachExt.inline_search_withoutOverlay()}},window.inlineSeachExt.inline_search_withoutOverlay=function(){if(window.inlineSeachExt.overlayDisplayed)window.inlineSeachExt.shadow.getElementById("ext_InlineSearch_Panel").remove(),window.inlineSeachExt.overlayDisplayed=!1;else{var ext_highlightedText=window.getSelection().toString(),ext_panel=document.createElement("div");ext_panel.id="ext_InlineSearch_Panel",ext_panel.classList+="resize-drag",ext_panel.style.position="absolute",ext_panel.style.zIndex=2147483647,ext_panel.style.top=0,ext_panel.style.left=0,ext_panel.innerHTML=`<div class="flexBox1">\n <div class="flexBox1-1">\n <div class="inext-dropdown">\n <button id="inextbtn-drop" class="inext-dropbtn ext-icon-perview">\n \n </button>\n <div id="inext-Dropdown" class="inext-dropdown-content">\n <a id="inext-ch-google" class="inext-ch-engine"><div class="ext-icon intext-google"></div> Google</a>\n <a id="inext-ch-wiki" class="inext-ch-engine"><div class="ext-icon intext-wiki"></div> Wikipedia</a> \n <a id="inext-ch-bing" class="inext-ch-engine"><div class="ext-icon intext-bing"></div> Bing</a>\n <a id="inext-ch-yahoo" class="inext-ch-engine"><div class="ext-icon intext-yahoo"></div> Yahoo</a>\n </div>\n </div>\n </div>\n <div class="flexBox1-2">\n <div class="flex-pane">\n <div class="flexBox1-2-2">\n <input type="text" id="inext-search-box" value="${ext_highlightedText}" class="inext-search-text-box ignore-interact-inext"/>\n </div>\n <div class="flexBox1-2-3">\n <button id="inext-close-options-pane" class="ext-opt-icon intext-settings"></button>\n <button id="inext-close-panel-pane" class="ext-opt-icon intext-close"></button>\n <div id="inext-close-drag-pane" class="ext-opt-icon intext-drag"></div> \n </div>\n </div>\n </div>\n </div>\n <div class="flexBox2 ignore-interact-inext">\n <div class="inext-search-conetnt">\n <div id="search-content-iframe-inext"><div id="inext-place-holder"> <div class="google-loader"><div class="dot"></div></div> </div></div>\n </div>\n </div>`;var calculateOffsetX=window.inlineSeachExt.currentPageWidth-window.inlineSeachExt.extInlineSearchX,calculateOffsetY=window.inlineSeachExt.currentPageHeight-window.inlineSeachExt.extInlineSearchY;calculateOffsetX<=450&&(window.inlineSeachExt.extInlineSearchX-=450-calculateOffsetX),calculateOffsetY<=450&&(window.inlineSeachExt.extInlineSearchY-=450-calculateOffsetY),ext_panel.style.transform="translate("+window.inlineSeachExt.extInlineSearchX+"px, "+window.inlineSeachExt.extInlineSearchY+"px)",ext_panel.setAttribute("data-x",window.inlineSeachExt.extInlineSearchX),ext_panel.setAttribute("data-y",window.inlineSeachExt.extInlineSearchY),window.inlineSeachExt.shadow.appendChild(ext_panel),window.inlineSeachExt.inext_dropdown=function(){window.inlineSeachExt.shadow.getElementById("inext-Dropdown").classList.toggle("inext-show")},window.inlineSeachExt.shadow.getElementById("inextbtn-drop").addEventListener("click",function(event){event.stopPropagation(),window.inlineSeachExt.inext_dropdown()}),window.inlineSeachExt.changeEngine(window.inlineSeachExt.last_engine);for(var engines=window.inlineSeachExt.shadow.querySelectorAll(".inext-ch-engine"),e=0;e<engines.length;e++)engines[e].addEventListener("click",function(e){window.inlineSeachExt.changeEngine(e.target.id)});window.inlineSeachExt.shadow.getElementById("inext-search-box").addEventListener("keyup",function(e){13==e.keyCode&&(window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><div class="google-loader"><div class="dot"></div></div></div>',window.inlineSeachExt.createBrowser(window.inlineSeachExt.shadow.getElementById("inext-search-box").value))}),window.inlineSeachExt.shadow.getElementById("inext-close-panel-pane").onclick=function(){var overlay;null!==window.inlineSeachExt.shadow.getElementById("ext_inlineSearchOverlay")&&window.inlineSeachExt.shadow.getElementById("ext_inlineSearchOverlay").remove(),window.inlineSeachExt.shadow.getElementById("ext_InlineSearch_Panel").remove(),window.inlineSeachExt.overlayDisplayed=!1},window.inlineSeachExt.shadow.getElementById("inext-close-options-pane").onclick=function(){window.open(chrome.extension.getURL("redirect.html"))},window.inlineSeachExt.createBrowser(ext_highlightedText),window.onclick=function(event){if(!event.target.matches("inext-dropbtn")){var dropdowns=document.getElementById("inext-shadow-dom-local-scope").shadowRoot.querySelectorAll(".inext-dropdown-content"),i;for(i=0;i<dropdowns.length;i++){var openDropdown=dropdowns[i];openDropdown.classList.contains("inext-show")&&openDropdown.classList.remove("inext-show")}}},window.inlineSeachExt.panelDragResize(),window.inlineSeachExt.overlayDisplayed=!0}},window.inlineSeachExt.createShadowDOM=function(){var div=document.createElement("div");div.style.height=window.inlineSeachExt.currentPageHeight+"px",div.style.width=window.inlineSeachExt.currentPageWidth+"px",div.id="inext-shadow-dom-local-scope",document.getElementsByTagName("body")[0].appendChild(div);var shadow=div.attachShadow({mode:"open"});shadow.innerHTML="\n \n <style>\n \n /* width */\n ::-webkit-scrollbar {\n width: 5px !important;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: transparent !important; \n }\n \n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: #999 !important;\n border-radius: 5px !important;\n }\n\n .inext-ch-engine{font-size: 14px !important;}\n #inext-Dropdown a\n {\n cursor: default;\n }\n \n @font-face {\n font-family: \"Segoe UI\";\n font-style: normal;\n font-weight: normal;\n src: local(\"Segoe UI\"), url(chrome-extension://__MSG_@@extension_id__/fonts/Segoe-UI.ttf) format(\"truetype\");\n }\n\n \n #inext-load-more\n {\n background: transparent;\n display: table;\n margin: 20px auto;\n width: 80%;\n border-radius: 500px;\n padding: 10px;\n font-family: Segoe UI, sans-serif;\n color: #999;\n outline: none;\n text-align:center;\n border: 1px solid #bbb;\n text-transform: uppercase;\n\n }\n\n #inext-load-more:hover\n {\n background: #f1f1f1;\n }\n\n .inext-search-conetnt\n {\n background: #eee !important;\n padding: 7px;\n overflow: hidden;\n }\n #inext-place-holder\n {\n margin-top: 9em;\n }\n\n .res-icon\n {\n border-right: 10px solid transparent;\n }\n .res-icon, .divider\n {\n margin: auto;\n }\n\n #search-content-iframe-inext\n {\n width: 100%;\n height: 100%;\n margin: 0;\n border-radius: 3px;\n background: transparent;\n overflow-y: scroll;\n overflow-x: hidden;\n\n }\n\n #inext-place-holder p\n {\n text-align: center;\n font-family: Segoe UI;\n color: #999;\n font-size: 16px !important;\n font-weight: lighter;\n }\n\n .icon-big\n {\n width: 100px !important;\n height: 100px !important;\n display: table !important;\n margin: 5px auto;\n opacity: .7; \n }\n\n .inext-card\n {\n font-family: Segoe UI, Arial, sans-serif;\n margin: 10px auto 30px auto;\n background-color: #fff;\n padding: 0;\n border-radius: 3px;\n width: 96%;\n border: 0;\n text-align: left;\n outline: none !important;\n display: block;\n box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;\n }\n\n .inext-card p\n {\n padding: 15px;\n width: auto;\n }\n\n .inext-card .header\n {\n width: 100%;\n border-bottom: 1px solid #eee;\n padding: 15px;\n display: flex;\n align-content: flex-start;\n \n }\n\n .inext-card .header h1\n {\n width: 92%;\n font-family: Segoe UI, Arial, sans-serif;\n font-weight: 440;\n font-size: 16px;\n white-space: no-wrap;\n margin: 0;\n color: #291db1;\n padding: 0;\n }\n\n .inext-card .header p\n {\n color: #127231;\n padding: 0;\n margin: 0;\n }\n\n \n #ext_inlineSearchOverlay\n {\n \n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n height: 100vh !important;\n z-index: 2147483647 !important;\n width: 100vw !important;\n pointer-events: all !important;\n background: rgba(0,0,0, .5) !important;\n \n }\n\n #ext_InlineSearch_Panel\n {\n position: absolute !important;\n pointer-events: all !important;\n display: flex !important;\n flex-direction: column !important;\n width: 400px;\n height: 400px;\n background: transparent !important;\n }\n\n\n\n .flexBox1\n {\n background: transparent !important;\n height: 20% !important;\n display: flex !important;\n flex-direction: row !important;\n \n }\n\n .flexBox1-1\n {\n background: transparent !important;\n width: 20% !important;\n display: flex !important;\n }\n\n .flexBox1-2\n {\n width: 80% !important;\n /* display: flex !important; */\n flex-direction: row !important;\n background: transparent !important;\n }\n\n .flex-pane\n {\n display: flex !important;\n flex-direction: row !important;\n background: white !important;\n border-radius: 500px !important;\n width: 100% !important;\n margin: auto !important;\n height: 50px !important;\n -webkit-border-radius: 500px !important;\n -moz-border-radius: 500px !important;\n -ms-border-radius: 500px !important;\n -o-border-radius: 500px !important;\n box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;\n\n }\n\n .flexBox1-2-1\n {\n background:transparent !important;\n width: 0% !important;\n display: flex !important;\n margin-left: 12px !important;\n }\n\n .flexBox1-2-2\n {\n background:transparent !important;\n width: 80% !important;\n margin-left: 12px !important;\n display: flex !important;\n }\n\n .inext-search-text-box\n {\n width: 100% !important;\n margin: auto !important;\n background: transparent !important;\n /* height: 5px !important;*/\n padding: 0 13px !important;\n margin: 0 !important;\n vertical-align: middle !important;\n color: #444 !important;\n border:0 !important;\n box-shadow: none !important;\n outline: none !important;\n font-size: 12px;\n font-weight: lighter !important;\n font-family: Montserrat, sans-serif !important;\n\n\n }\n\n .flexBox1-2-3\n {\n background: transparent !important;\n width: 30% !important;\n display: flex !important;\n padding-right: 12px !important;\n }\n\n\n .inext-search-conetnt\n {\n margin: auto !important;\n width: 100% !important;\n height: 100% !important;\n border-radius: 3px !important;\n box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;\n -webkit-border-radius: 3px !important;\n -moz-border-radius: 3px !important;\n -ms-border-radius: 3px !important;\n -o-border-radius: 3px !important;\n }\n\n .flexBox2\n {\n background: transparent !important;\n height: 80% !important;\n }\n\n\n\n /* Dropdown Button */\n .inext-dropbtn {\n background-color: white !important;\n width: 54px !important;\n height: 54px !important;\n margin: auto !important;\n vertical-align: middle !important;\n box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;\n border-radius: 50% !important;\n border: none !important;\n cursor: pointer !important;\n outline: none !important;\n -webkit-border-radius: 50% !important;\n -moz-border-radius: 50% !important;\n -ms-border-radius: 50% !important;\n -o-border-radius: 50% !important;\n }\n\n /* Dropdown button on hover & focus */\n .inext-dropbtn:hover, .inext-dropbtn:focus:not(:active){\n background-color: #eee !important;\n }\n\n /* The container <div> - needed to position the dropdown content */\n .inext-dropdown {\n position: relative !important;\n display: inline-block !important;\n }\n\n /* Dropdown Content (Hidden by Default) */\n .inext-dropdown-content {\n display: none !important;\n border-radius: 3px !important;\n position: absolute !important;\n margin-top: 12px !important;\n background-color: #fff !important;\n min-width: 160px !important;\n box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;\n -webkit-border-radius: 3px !important;\n -moz-border-radius: 3px !important;\n -ms-border-radius: 3px !important;\n -o-border-radius: 3px !important;\n }\n\n /* Links inside the dropdown */\n .inext-dropdown-content a {\n color: black !important;\n padding: 12px 16px !important;\n text-decoration: none !important;\n font-family: \"Segoe UI\",Arial,sans-serif !important;\n border-radius: 3px !important;\n display: block !important;\n -webkit-border-radius: 3px !important;\n -moz-border-radius: 3px !important;\n -ms-border-radius: 3px !important;\n -o-border-radius: 3px !important;\n }\n\n /* Change color of dropdown links on hover */\n .inext-dropdown-content a:hover {background-color: #eee !important; color: black !important; text-decoration: none !important;}\n\n /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */\n .inext-show {display:block !important;}\n\n\n .ext-icon\n {\n width: 24px !important;\n height: 24px !important;\n display: inline-block !important;\n vertical-align: middle !important;\n margin-right: 10px !important;\n }\n\n \n\n .ext-opt-icon\n {\n width: 18px !important;\n height: 18px !important;\n background-color: white !important;\n outline: none !important;\n border: none !important;\n margin: auto !important;\n opacity: .7 !important;\n transform: ease .6s all !important;\n -webkit-transform: ease .6s all !important;\n -moz-transform: ease .6s all !important;\n -ms-transform: ease .6s all !important;\n -o-transform: ease .6s all !important;\n }\n\n \n \n\n .ext-opt-icon:hover\n {\n opacity: 1 !important;\n }\n\n .ext-icon-perview\n {\n background-position: center !important;\n }\n\n .ext-icon.intext-google, .ext-icon-perview.intext-google\n {\n\n background-image: url('data:image/png !important;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAADDklEQVRIDd1UaUgUYRh+v5m9zF3dFDc8C0IpzSMPAoVIKMRAqz9mx4+I6EeQ3RpmJFTkbhKlfzKiIgJBocvMiBA1Ss2DCmKlCDJdj9S88pqZna/v291x9lBz+1fDvPfzvu+83zEA//qDlhoAHwc9YLYERnEWjGADcJgFmqFBAujRAATAM9CLp1ExTC9Wh8IXjOHTzFUwkxYTWLEgQHKuRDxEIRMqFYskl7P0aIAPgxIEpgO+iLHOwCV1WiWerUHl1mx3HOPuAJHp9Ko4LaAlU6iYi1R1J5fx8TGmFDrFDS4gllhrmC7QQRkoxCbwJevNK7fCsPUEfBXXg44Uj2a3ICPfRpAeLx3O5sSfQAX32EFoseptDsp8kQgJzH5UYq2kpjvhM+xuUDDf0BW+1T3mYeMmVS5uVGNcrsR4G2C8mVABm+MB9NIhLxFmdgJggDiyLWEqgDfWBmS0VnlZzwMuL1Gj+jOJRhKyv6KYgtL5drsh8+D8j+QrZHshLWKFhWstzlTTGPlcKmwUbOMS43izpHorh+cClFKOc4P5aaTg30psu+72bOcGfXaXg6uV0Q7NaxGoHBOkJHmTAXWSTY6kgVbeAPVzYRUAzYnUdqZ+U5zHpPtKb5rrf6Suk3ARvpY+6VLIEyDxsUhGuz8TBZcnk6CFM2y89SL+j8f0fEXh3qahTfPFaZMIH8sTKinJDQK5h8aphF/VM2vpYQXarGE2tPJ2XVwuBS5El+4c2lPdvf2BQH6yUnyVZlgI0Y8VSrbLuGXPk0pezoUXSEEqFeQyxyp+doXiaZNaEB/562bZcc5nx4CoOfmOM8Ro+1PgVXc2hdooJ6zGeCPv3FmbQZhLA2LDhdq0tg4uKJnqy6XwiWCoMx+E9KDmt3dP5aU558lL5PBm9c6mpqiGPjjMZYkev344EG9qXT35Ot09Abk7JLu8NvFau2A4OiJqnE6aFJWlgZnhk1WD149kvs+XvbK2aAMKqaqK0Y76KYq/C7pdvYI2fBxUSnoC/BHHhyimekKZqaeRrKUoI2NwiuL/T/oNotT2k2/X6oYAAAAASUVORK5CYII=') !important;\n background-repeat: no-repeat !important;\n }\n\n .ext-icon.intext-wiki, .ext-icon-perview.intext-wiki\n {\n\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABn0lEQVRIDe2TvUvCQRyHL7IiFCyLWiTKWhrrH2gocAnaI2quhiCwMQKXlpaglqIpyMVJCFojmpoiWnshMJIytVey7PkoFz8UK6uhQXme+3zve+f98FRjqq/qDfzVDYQ4KFfkCvMGfEK7dkgtMgy2t09dvE9rIfofeKgCeIBa3CCbUPQypFD9ICk6jTFnGMV2FB0MO3iMOstDljBCRwclSeeGBWOM+hFSTDLcox8t3RRZHMOy1LCia9BhU9QWL8UNZrEfr3ARnSwzOUEXfsoEqzk8Qj2QyBNmVD9OXmMzWnSdaSYz+CV17Dg1hSsZIi0+ihTqIbOkkzkmCXTjt5hmlw6KkU6iTNTXp6HMU894gfP4bRrZeYmv2INCv4xnCj3glvSiGGfIoA9LqC3pFBr6MnVQkKkLt3EVVUfIAdTDdskt3MQYVoSb3QnUz3GQfMNhbMUM6lOMkg9o/wuUlRFmew6TuIeWJQr178g1/DG61zTv1nfRR1paKNR/IQNYltqyK4WFR8KH57iCFvXdTOK4jr+ijXf7sZhmGl1Y5Z/fwDsfOmDMJEpOZgAAAABJRU5ErkJggg==') !important;\n background-repeat: no-repeat !important;\n }\n\n\n .ext-icon.intext-bing, .ext-icon-perview.intext-bing\n {\n\n background-image: url('data:image/png !important;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABy0lEQVRIDd1Uvy80URQ9d+zOTEEhn8QfIFGoKKiQCJIvaJWCQkNJbytRqCSokHyJRuRriGwisj/iXyAKkegURGQlZjd2rjNLJHbM251kC0zunXnvnvvOue/XAL/u0XyyT3PJnkZNLBEi0qYxQJc1Z99DcAwfh0iU0tKPQii3joAVnSN/oDIFkX2U3cXoPDNiEDAPrBf9XgKacf5qBm691Qd58WZgyQws50GzzqFm7Uk9hx2QmNwygSFM/APGXJ6uicrm37m3mrf/acYdUWWUYLXFEyiX0iR4pr+btlZOmqUnyDuXmnfG34GPTywBGcITKz/6GP250Umx3s8hIJZAZXDRmwNkGopAqFiJGV6xBWQUj/C9/xA9I2+BbrSEEX0Dg+27Cpo8os2w7AXOYIn9NnpNqyXgsVL+LoqnmnNX+Y+aJ2MLvW4zCXBDdZZr3QF1tkhuqpiFYBNIbFQrRwkUSJzjUuxwgKniZ+asw0+uyVDhDgjveVhA/XMexbfLRPYI87l0exArJQPeNeBFpFH+K4S3swtq7XJZ+qrwMvvbeJEVGfZu2K5pEpWh+2hCu73EGlIAHM7qAPBTMli6YL9xpplkt2bdgcYx/jSmVwuYgHvAYgfoAAAAAElFTkSuQmCC') !important;\n background-repeat: no-repeat !important;\n }\n\n .ext-icon.intext-yahoo, .ext-icon-perview.intext-yahoo\n {\n\n background-image: url('data:image/png !important;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAACMklEQVRIDeVTPWgUQRR+b/bn/IuCcNhYCylMabwEMQRBvdRKCm0M6BkSFLTRMmglBguDOdPZiNgo5jxTXZNEEMFC0gRSCFYGjRAuye3tzvO9y+2y3mZ/imvE5X3zvvcz8+3MzgL86w92bmD89HyvZ5hnEWi/0bRezHw697OzJxxfG3zbY5F9lQh/k+F9nlscWQ3XzXAgfH1za+3okZ43BHDCNd1ezl1nxJoFuSkAuo1Iqxsb9ZOdjaoz8XrlsgOK7u7maaxU+HBql0fHm/3VPiCakAqSutOaK0EIEQGplReL79hXGIqQnvAbRo5SctqAp9wjp1CZ/Xh+nnnE9hSQLgK6xb7BKJQGFq6w/8tKgwuXOHGGsdPuZRq1WIHny8U1IJiWKQT60WT/+8PCBeNDtUNE9Fg4X4bpVq8EeyBWQHrJcR/wx/4GgMccQ92XnEA72/fYH5eabngPmccaxlbahdJAdZQXesmhoxD6XNSktPrKsQ1Io+Wl4ivmsZYqIDNvFKo1QBgCgApDbISHWnn54jD7RJMbkNggRa1wQhF9YS4Ls4OmRpwUkgaV1iD1uaULK+xnGS3jbT9r51px0pBJQBYg250SLzBcK+ASJ0ElFcO1g43tuh//qP/a9HmazyywYxzY5y+Wz+dtn6f5zAIemoEAbnm5tIX9emYBvjWBQDPndn8HttMMBCzP676ARhUIOAq6f0SEGAgY2sy8g0x/snwww1TfddMbI4Xousa65P4P/AEoFqwJK1N1RgAAAABJRU5ErkJggg==') !important;\n background-repeat: no-repeat !important;\n }\n\n .ext-opt-icon.intext-close\n {\n background-image: url('data:image/png !important;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QA/wD/AP+gvaeTAAABVklEQVQ4EeWSP07DMBTGbbfMbOkAJ0gikLhK/h0AJKQudAMkWoVSVjpTwQWSrAxMjbhDkjMQRRwh4XtRXdlpCjtEdvze8+ef37PN2P/4giA49Tzv/rdqXdedO45zouqE6jRN48KfQfiEsa9x3/eXnPMpOmm3msHWgpFl2dq27SHMa4zHyO4tTdMGPgvDUBiGscJmY0AWcRzPKC47l4Y6YtcHLLjDghfTNC9pLs/zZ8QuEFtEUTSlmNp7QSSQMNivQghW1/X5Pgg0TCuNArJTmZZlHcC/QiZngD32ZYL5tmmH3UY2PzoTZDDauAywEcWk3x17M6IF6pkA+AHQpKqqI/UCVNgOqAuhcqhM3OLwJ5gGIggWrbDTzu0g3j6NfTANhHcyB2QC8RLv5Aa21gBLkdkh5sdlWQqUv5YCDQTRF0RlkiS3UtAdAXvH2xpAlxRF8dmd/4P+N1KRuRnbINAVAAAAAElFTkSuQmCC') !important;\n background-repeat: no-repeat !important;\n }\n\n \n .ext-opt-icon.intext-drag\n {\n opacity: .5;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QA/wD/AP+gvaeTAAAAo0lEQVQ4Ed1SwQ0EIQhUcoVtEWo757WjFmFluo6BZOV7vJYsIAMh47jOvdb882Yxxil1rdWnlPKc8wvMe/8rpWQ9gx6cECzcbJEFmb3j0AiabHQF6BFCuIjocsvGGL211vXMau3vsyMHEZbLjCWCrTPgLjWK5dmxEee/08EIT/zciOswE4czenoGmKkfYuufDcKKJmCCB9AzwsZMI7NFwuyF+QYXs0UYV4JO+QAAAABJRU5ErkJggg==') !important;\n background-repeat: no-repeat !important;\n }\n\n .ext-opt-icon.intext-drag:hover\n {\n opacity: .7 !important;\n }\n\n\n .ext-opt-icon.intext-settings\n {\n background-image: url('data:image/png !important;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABmJLR0QA/wD/AP+gvaeTAAAB+ElEQVQ4EbWSTUtbQRSG595cszIoLmqqpS2Ii66E/oL8hXzTXWxLSheFWuiiFeoHiBIXLtxIIQtXhiT7/hYFQSxtLQFRpKvmo8873EyuNgqCDuedc+Y9Z87H3GvMHS3vpjz5fP5tr9d7ohjf94/q9fqO7GEIhpERruJ53qjOJLxAX5vIx+kkm83OlsvlERF08xhtk6AliXQ6/UBGKpUKisXijOw+3GiZTOZhLBbbx/GHLr7RQQZ7DETlBH4PfxZSRWYbjcYptnEdBUGwCZEASYLn0VeTQJkkSRYw1O0EegVYsYlo8xmXX1hmsP3F/NTpdJ4K+D9zFodyUmYS+zHsY3e73QMC16i2SIhNjv5C2xvovqwXCgVPcSHRI36b5/ils6etj1wuV8X5UmcCpmu12k/ZfVD9Efz38Fyl0OvQHryRCP4Vl5hxuuKiiMfjjqMzF6uYQBufOo5ex1kyg1UyxkRHMzxByYSLzktM8AO9Qmcdm4h2p+jgHTHRKqsUgDLVdrvtEfOKQstmsHySLDLFLtShx2aFSxWMj+A28pVu3uiCry2ExtDPdUzlLbgTcFX0Q8p3jOMCLAErvt3ZyHzKeM9brdZMs9n8wDhz0JdEnHyKwTHHHVfMjYbjP2HcM8gxIDnn4riMYbCPPcwRcu950EnZjPtb+t7xDzGXsl+u+uWtAAAAAElFTkSuQmCC') !important;\n background-repeat: no-repeat !important;\n }\n\n\n \n\n * {\n box-sizing: border-box;\n }\n \n .google-loader {\n height: 50px;\n width: 50px;\n position: relative;\n margin: 47px auto 0 auto;\n }\n .google-loader .dot {\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 1;\n border-radius: 25px;\n background: #df4a42;\n border-right: 0px solid #ffd649;\n border-left: 25px solid #df4a42;\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n animation: flippingAnimation 2s linear infinite;\n }\n \n @keyframes opacity {\n to {\n opacity: 0;\n }\n }\n @keyframes flippingAnimation {\n /* RED TO YELLOW */\n 0% {\n border-right: 0px solid #ffc500;\n display: block;\n }\n 12.4% {\n background: #ed726c;\n }\n 12.5% {\n border-right: 25px solid #ffd649;\n border-left: 25px solid #df4a42;\n background: #ffe486;\n }\n 24.9% {\n border-right: 25px solid #ffd649;\n background: #ffd649;\n border-left: 0px solid #d8291f;\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n }\n /* Yellow to Green */\n 25% {\n border-right: 0px solid #ffd649;\n border-left: 0px solid #d8291f;\n border-top: 25px solid #ffd649;\n border-bottom: 0px solid #ffd649;\n background: #ffd649;\n }\n 37.4% {\n background: #ffde6e;\n }\n 37.5% {\n border-right: 0px solid transparent;\n border-left: 0px solid transparent;\n border-top: 25px solid #ffd649;\n border-bottom: 25px solid #28ad6b;\n background: #109f58;\n }\n 49.9% {\n border-right: 0px solid transparent;\n border-left: 0px solid transparent;\n border-top: 0px solid #ffd649;\n border-bottom: 25px solid #28ad6b;\n background: #28ad6b;\n }\n /* Green to Blue */\n 50% {\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-left: 0px solid #377af6;\n border-right: 25px solid #28ad6b;\n background: #28ad6b;\n }\n 62.4% {\n background: #2abb71;\n }\n 62.5% {\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-left: 25px solid #377af6;\n border-right: 25px solid #28ad6b;\n background: #518af4;\n }\n 74.9% {\n border-top: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-left: 25px solid #377af6;\n border-right: 0px solid #28ad6b;\n background: #377af6;\n }\n /* Blue to Red */\n 75% {\n border-top: 0px solid #df4a42;\n border-bottom: 25px solid #377af6;\n border-left: 0px solid transparent;\n border-right: 0px solid transparent;\n background: #377af6;\n }\n 87.4% {\n background: #316bd7;\n }\n 87.5% {\n border-top: 25px solid #df4a42;\n border-bottom: 25px solid #377af6;\n border-left: 0px solid transparent;\n border-right: 0px solid transparent;\n background: #f26c65;\n }\n 100% {\n border-top: 25px solid #df4a42;\n border-bottom: 0px solid #377af6;\n border-left: 0px solid transparent;\n border-right: 0px solid transparent;\n background: #df4a42;\n }\n }\n \n\n #inext-search-error\n {\n height: 200px;\n display: table;\n margin:0 auto;\n width: 200px;\n background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAACdCAYAAACdHWXfAAAgAElEQVR4nO2deZxcVZXHv9V7p5PuTqezdxbIQthkky0sIiCbOOAACiIDLogoIs4wgsAI6rgOOorKJgMyIjoICAQBWQYIiGwmSogkBLJAQgIkZN/T3fPH7965t7buqu7qruru8/186lNVr169d1/VO/ece86554JhGIZhGIZhGIZhGIZhGIZ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rwxiQJDJtPPzqkgkDn4omd/gpoBeiXOk6ZMYvQskYm1CnNQ5NHhmC8sGfRAUsDGPAMPPi5rRtpThGj0nNhvPhtb1QXHwntNYZhHjxX1Bp6AUYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYPcT/Aew6Z7jtbyS0AAAAAElFTkSuQmCC') no-repeat;\n }\n\n\n </style>\n ",window.inlineSeachExt.shadow=shadow},window.inlineSeachExt.panelDragResize=function(){function dragMoveListener(event){var target=event.target,x=(parseFloat(target.getAttribute("data-x"))||0)+event.dx,y=(parseFloat(target.getAttribute("data-y"))||0)+event.dy;target.style.webkitTransform=target.style.transform="translate("+x+"px, "+y+"px)",target.setAttribute("data-x",x),target.setAttribute("data-y",y)}interact(document.getElementById("inext-shadow-dom-local-scope").shadowRoot.querySelector(".resize-drag")).draggable({inertia:!0,ignoreFrom:".ignore-interact-inext",restrict:{restriction:"parent",endOnly:!0,elementRect:{top:0,left:0,bottom:1,right:1}},autoScroll:!0,onmove:dragMoveListener}).resizable({edges:{left:!0,right:!0,bottom:!0,top:!0},restrictEdges:{outer:"parent",endOnly:!0},restrictSize:{min:{width:320,height:320},max:{width:410,height:410}},inertia:!0}).on("resizemove",function(event){var target=event.target,x=parseFloat(target.getAttribute("data-x"))||0,y=parseFloat(target.getAttribute("data-y"))||0;target.style.width=event.rect.width+"px",target.style.height=event.rect.height+"px",x+=event.deltaRect.left,y+=event.deltaRect.top,target.style.webkitTransform=target.style.transform="translate("+x+"px,"+y+"px)",target.setAttribute("data-x",x),target.setAttribute("data-y",y)}).styleCursor(!0).pointerEvents({ignoreFrom:"[no-pointer-event]"})},window.inlineSeachExt.createBrowser=function(q){if(null==q||void 0==q||""==q||" "==q||" "==q)window.inlineSeachExt.shadow.getElementById("inext-place-holder").innerHTML="<p>Hmm, type something or a keyword to search ;-)</p>";else switch(window.inlineSeachExt.engineUsed){case"google":window.inlineSeachExt.google(q,0);break;case"wiki":window.inlineSeachExt.wiki(q,0);break;case"bing":window.inlineSeachExt.bing(q,0);break;case"yahoo":window.inlineSeachExt.yahoo(q,0);break;default:window.inlineSeachExt.google(q,0)}},window.inlineSeachExt.extractRootDomain=function(url){function extractHostname(url){var hostname;return hostname=(hostname=(hostname=url.indexOf("//")>-1?url.split("/")[2]:url.split("/")[0]).split(":")[0]).split("?")[0]}var domain=extractHostname(url),splitArr=domain.split("."),arrLen=splitArr.length;return arrLen>2&&(domain=splitArr[arrLen-2]+"."+splitArr[arrLen-1],2==splitArr[arrLen-2].length&&2==splitArr[arrLen-1].length&&(domain=splitArr[arrLen-3]+"."+domain)),domain},window.inlineSeachExt.wiki=function(query,page){var url=`https://en.wikipedia.org/w/api.php?action=query&format=json&list=search&srsearch=${query}&sroffset=${10*page}`,browserContent=window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext");fetch(url,{method:"get"}).then(function(res){res.json().then(function(data){var doc=data.query.search;0==doc.length&&(browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><p>Search result not found. <br> Try a different keyword </p></div>'),page>0&&window.inlineSeachExt.shadow.getElementById("inext-more-loader").remove();for(var i=0;i<doc.length;i++){0==page&&0==i&&(browserContent.innerHTML="");var card=document.createElement("button");card.className+="inext-card",card.innerHTML=`<div class="header" onclick="javascript:window.open(${"'https://en.wikipedia.org/?curid="+doc[i].pageid+"', '_blank'"});window.focus()" style="flex-direction:column;"><h1 style="width: 100% !important;"> ${doc[i].title}</h1><p class="domain">Wikipedia</p></div><p> ${doc[i].snippet}</p>`,browserContent.appendChild(card)}if(doc.length>0){var loadMore=document.createElement("button");loadMore.innerHTML="See more",loadMore.id="inext-load-more",loadMore.onclick=function(){window.inlineSeachExt.shadow.getElementById("inext-load-more").remove();var loader=document.createElement("div");loader.id="inext-more-loader",loader.style.marginBottom="10px",loader.innerHTML='<div class="google-loader"><div class="dot"></div></div>',browserContent.appendChild(loader),browserContent.scrollTo(0,browserContent.scrollHeight),window.inlineSeachExt.wiki(query,page+1)},browserContent.appendChild(loadMore)}})}).catch(function(err){browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><div id="inext-search-error"></div>Ops! something went wrong try again.</div>'})},window.inlineSeachExt.google=function(query,page){var url=`https://www.google.com/search?q=${query}&num=10&start=${10*page}`,browserContent=window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext");fetch(url,{method:"get"}).then(function(res){res.text().then(function(text){for(var googleDOM=new DOMParser,search=(googleDOM=(googleDOM=googleDOM.parseFromString(text,"text/html")).body).querySelector("#search").querySelectorAll(".g"),doc=[],i=0;i<search.length;i++){var title=" ",url=" ",elemUrl=search[i].querySelector("a");null!=elemUrl&&(title=elemUrl.childNodes[0].textContent,url=elemUrl.href);var elemMeta=search[i].querySelector(".slp");null!=elemMeta&&(elemMeta=elemMeta.textContent);var elemDesc=search[i].querySelector(".st");null!=elemDesc&&(elemDesc=elemDesc.textContent),doc.push({url:url,title:title,meta:elemMeta,desc:elemDesc,icon:""})}0==doc.length&&(browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><p>Search result not found. <br> Try a different keyword </p></div>'),page>0&&window.inlineSeachExt.shadow.getElementById("inext-more-loader").remove();for(var x=0;x<doc.length;x++)if(0==page&&0==x&&(browserContent.innerHTML=""),null!=doc[x].desc){var card=document.createElement("button");card.className+="inext-card";var domain=window.inlineSeachExt.extractRootDomain(doc[x].url);card.innerHTML=`<div class="header" onclick="javascript:window.open(${"'"+doc[x].url+"', '_blank'"});window.focus()" style="flex-direction:column;"><h1 style="width: 100% !important;"> ${doc[x].title}</h1><p class="domain">${domain}</p></div><p> ${doc[x].desc}</p>`,browserContent.appendChild(card)}if(doc.length>0){var loadMore=document.createElement("button");loadMore.innerHTML="See more",loadMore.id="inext-load-more",loadMore.onclick=function(){window.inlineSeachExt.shadow.getElementById("inext-load-more").remove();var loader=document.createElement("div");loader.id="inext-more-loader",loader.style.marginBottom="10px",loader.innerHTML='<div class="google-loader"><div class="dot"></div></div>',browserContent.appendChild(loader),browserContent.scrollTo(0,browserContent.scrollHeight),window.inlineSeachExt.google(query,page+1)},browserContent.appendChild(loadMore)}})}).catch(function(err){browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><div id="inext-search-error"></div>Ops! something went wrong try again.</div>'})},window.inlineSeachExt.bing=function(query,page){var url=`https://www.bing.com/search?q=${query}&count=10&first=${10*page}`,browserContent=window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext");fetch(url,{method:"get"}).then(function(res){res.text().then(function(text){for(var bingDOM=new DOMParser,search=(bingDOM=(bingDOM=bingDOM.parseFromString(text,"text/html")).body).querySelector("#b_results").querySelectorAll(".b_algo"),doc=[],i=0;i<search.length;i++){var title=" ",url=" ",elemUrl=search[i].querySelector("h2 a");null!=elemUrl&&(title=elemUrl.textContent,url=elemUrl.href);var elemDesc=search[i].querySelector("p");null!=elemDesc&&(elemDesc=elemDesc.textContent),doc.push({url:url,title:title,meta:"",desc:elemDesc,icon:""})}0==doc.length&&(browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><p>Search result not found. <br> Try a different keyword </p></div>'),page>0&&window.inlineSeachExt.shadow.getElementById("inext-more-loader").remove();for(var x=0;x<doc.length;x++)if(0==page&&0==x&&(browserContent.innerHTML=""),null!=doc[x].desc){var card=document.createElement("button");card.className+="inext-card";var domain=window.inlineSeachExt.extractRootDomain(doc[x].url);card.innerHTML=`<div class="header" onclick="javascript:window.open(${"'"+doc[x].url+"', '_blank'"});window.focus()" style="flex-direction:column;"><h1 style="width: 100% !important;"> ${doc[x].title}</h1><p class="domain">${domain}</p></div><p> ${doc[x].desc}</p>`,browserContent.appendChild(card)}if(doc.length>0){var loadMore=document.createElement("button");loadMore.innerHTML="See more",loadMore.id="inext-load-more",loadMore.onclick=function(){window.inlineSeachExt.shadow.getElementById("inext-load-more").remove();var loader=document.createElement("div");loader.id="inext-more-loader",loader.style.marginBottom="10px",loader.innerHTML='<div class="google-loader"><div class="dot"></div></div>',browserContent.appendChild(loader),browserContent.scrollTo(0,browserContent.scrollHeight),window.inlineSeachExt.bing(query,page+1)},browserContent.appendChild(loadMore)}})}).catch(function(err){browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><div id="inext-search-error"></div>Ops! something went wrong try again.</div>'})},window.inlineSeachExt.yahoo=function(query,page){var url=`https://search.yahoo.com/search?p=${query}&n=10&b=${10*page}`,browserContent=window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext");fetch(url,{method:"get"}).then(function(res){res.text().then(function(text){for(var bingDOM=new DOMParser,search=(bingDOM=(bingDOM=bingDOM.parseFromString(text,"text/html")).body).querySelector("#web").querySelectorAll(".algo"),doc=[],i=0;i<search.length;i++){var title=" ",url=" ",elemUrl=search[i].querySelector("h3 a");null!=elemUrl&&(title=elemUrl.textContent,url=elemUrl.href);var elemDesc=search[i].querySelector(".compText");null!=elemDesc&&(elemDesc=elemDesc.textContent),doc.push({url:url,title:title,meta:"",desc:elemDesc,icon:""})}0==doc.length&&(browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><p>Search result not found. <br> Try a different keyword </p></div>'),page>0&&window.inlineSeachExt.shadow.getElementById("inext-more-loader").remove();for(var x=0;x<doc.length;x++)if(0==page&&0==x&&(browserContent.innerHTML=""),null!=doc[x].desc){var card=document.createElement("button");card.className+="inext-card";var domain=window.inlineSeachExt.extractRootDomain(doc[x].url);card.innerHTML=`<div class="header" onclick="javascript:window.open(${"'"+doc[x].url+"', '_blank'"});window.focus()" style="flex-direction:column;"><h1 style="width: 100% !important;"> ${doc[x].title}</h1><p class="domain">${domain}</p></div><p> ${doc[x].desc}</p>`,browserContent.appendChild(card)}if(doc.length>0){var loadMore=document.createElement("button");loadMore.innerHTML="See more",loadMore.id="inext-load-more",loadMore.onclick=function(){window.inlineSeachExt.shadow.getElementById("inext-load-more").remove();var loader=document.createElement("div");loader.id="inext-more-loader",loader.style.marginBottom="10px",loader.innerHTML='<div class="google-loader"><div class="dot"></div></div>',browserContent.appendChild(loader),browserContent.scrollTo(0,browserContent.scrollHeight),window.inlineSeachExt.yahoo(query,page+1)},browserContent.appendChild(loadMore)}})}).catch(function(err){browserContent.innerHTML='<div id="inext-place-holder" style="margin-top: 4em;text-align:center; color: #999;"><div id="inext-search-error"></div>Ops! something went wrong try again.</div>'})},window.inlineSeachExt.changeEngine=function(id){switch(id){case"inext-ch-google":chrome.storage.local.set({n_last_engine:"inext-ch-google"},function(){window.inlineSeachExt.last_engine="inext-ch-google",window.inlineSeachExt.shadow.getElementById("inextbtn-drop").className="inext-dropbtn ext-icon-perview intext-google",window.inlineSeachExt.engineUsed="google";var q=window.inlineSeachExt.shadow.getElementById("inext-search-box").value;""!=q?(window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><div class="google-loader"><div class="dot"></div></div></div>',window.inlineSeachExt.createBrowser(q)):window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><p>Hmm, type something or a keyword to google.</p></div>'});break;case"inext-ch-wiki":chrome.storage.local.set({n_last_engine:"inext-ch-wiki"},function(){window.inlineSeachExt.last_engine="inext-ch-wiki",window.inlineSeachExt.shadow.getElementById("inextbtn-drop").className="inext-dropbtn ext-icon-perview intext-wiki",window.inlineSeachExt.engineUsed="wiki";var q=window.inlineSeachExt.shadow.getElementById("inext-search-box").value;""!=q?(window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><div class="google-loader"><div class="dot"></div></div></div>',window.inlineSeachExt.createBrowser(q)):window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><p>Hmm, type something or a keyword to wiki.</p></div>'});break;case"inext-ch-bing":chrome.storage.local.set({n_last_engine:"inext-ch-bing"},function(){window.inlineSeachExt.last_engine="inext-ch-bing",window.inlineSeachExt.shadow.getElementById("inextbtn-drop").className="inext-dropbtn ext-icon-perview intext-bing",window.inlineSeachExt.engineUsed="bing";var q=window.inlineSeachExt.shadow.getElementById("inext-search-box").value;""!=q?(window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><div class="google-loader"><div class="dot"></div></div></div>',window.inlineSeachExt.createBrowser(q)):window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><p>Hmm, type something or a keyword to bing.</p></div>'});break;case"inext-ch-yahoo":chrome.storage.local.set({n_last_engine:"inext-ch-yahoo"},function(){window.inlineSeachExt.last_engine="inext-ch-yahoo",window.inlineSeachExt.shadow.getElementById("inextbtn-drop").className="inext-dropbtn ext-icon-perview intext-yahoo",window.inlineSeachExt.engineUsed="yahoo";var q=window.inlineSeachExt.shadow.getElementById("inext-search-box").value;""!=q?(window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><div class="google-loader"><div class="dot"></div></div></div>',window.inlineSeachExt.createBrowser(q)):window.inlineSeachExt.shadow.getElementById("search-content-iframe-inext").innerHTML='<div id="inext-place-holder"><p>Hmm, type something or a keyword to yahoo.</p></div>'})}};