Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jinabox

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jinabox - npm Package Compare versions

Comparing version 0.1.23 to 0.1.24

2

dist/jinabox.min.js

@@ -1,1 +0,1 @@

let _icons={color:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDEwcHgiIGhlaWdodD0iNDEwcHgiIHZpZXdCb3g9IjAgMCA0MTAgNDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2NCAoOTM1MzcpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPlByb2R1Y3QgbG9nb19Db3JlX0NvbG9yZnVsPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iUHJvZHVjdC1sb2dvX0NvcmVfQ29sb3JmdWwiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNDcuODE2MjczLDE1My4yMTczNjggTDI0OS43MzA4MzIsMTUzLjI0MDUzMSBDMjg4LjIwODk3NCwxNTQuNjgzMDI3IDMwOS44NjQ2OSwxNzAuMzE1MTY2IDMyNy4xMDg5ODUsMTkzLjE1Nzg2MyBDMzE5LjIxNDY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I2LjVjMC0xNC42LDExLjktMjYuNSwyNi41LTI2LjVjMTQuNywwLDI2LjUsMTEuOSwyNi41LDI2LjUgICAgQzg0LjQ1LDYxLjIsNzIuNTUsNzMuMSw1Ny45NSw3My4xeiIgZmlsbD0iIzAwMDAwMCIvPgoJPC9nPgo8L2c+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTMyMi4wNSwyODYuOGgtMTgyLjZjLTUuNSwwLTEwLDQuNS0xMCwxMHM0LjUsMTAsMTAsMTBoMTgyLjZjNS41LDAsMTAtNC41LDEwLTEwUzMyNy42NSwyODYuOCwzMjIuMDUsMjg2Ljh6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNTcuOTUsMjUwLjVjLTI1LjcsMC00Ni41LDIwLjgtNDYuNSw0Ni41YzAsMjUuNywyMC44LDQ2LjUsNDYuNSw0Ni41czQ2LjUtMjAuOCw0Ni41LTQ2LjUgICAgQzEwNC40NSwyNzEuNCw4My42NSwyNTAuNSw1Ny45NSwyNTAuNXogTTU3Ljk1LDMyMy42Yy0xNC43LDAtMjYuNS0xMS45LTI2LjUtMjYuNWMwLTE0LjcsMTEuOS0yNi41LDI2LjUtMjYuNSAgICBjMTQuNywwLDI2LjUsMTEuOSwyNi41LDI2LjVTNzIuNTUsMzIzLjYsNTcuOTUsMzIzLjZ6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg=="},stylesElement=document.createElement("style");stylesElement.innerHTML="\n@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&display=swap');\n@keyframes jina-bg-rotate {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n.jina-bg-default {\n position: relative;\n border-radius: 100px;\n border-color: #dbdbdb;\n overflow: hidden;\n border-style: solid;\n border-width: 1px;\n}\n.jina-theme-persian .jina-bg-default{\n\tborder-color: #009999;\n}\n.jina-theme-pompelmo .jina-bg-default{\n\tborder-color: #FF6666;\n}\n.jina-theme-honeybee .jina-bg-default{\n\tborder-color: #FFCC66;\n}\n.jina-bg-rainbow {\n position: relative;\n z-index: 0;\n border-radius: 50px;\n overflow-y: hidden;\n padding: 1px;\n}\n.jina-bg-rainbow:before {\n content: '';\n position: absolute;\n z-index: -2;\n left: -50%;\n top: -450%;\n width: 200%;\n height: 1000%;\n background-color: #399953;\n background-repeat: no-repeat;\n background-size: 50% 50%, 50% 50%;\n background-position: 0 0, 100% 0, 100% 100%, 0 100%;\n background-image: linear-gradient(#399953, #399953), linear-gradient(#fbb300, #fbb300), linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5);\n animation: jina-bg-rotate 4s linear infinite;\n}\n.jina-bg-rainbow:after {\n content: '';\n position: absolute;\n z-index: -1;\n left: 1px;\n top: 1px;\n width: calc(100% - 2px);\n height: calc(100% - 2px);\n background: white;\n border-radius: 50px;\n}\n.jina-search-input::placeholder {\n opacity: .5;\n font-weight: 700;\n font-size: .75em;\n line-height:1.5;\n}\n\n.jina-sea {\n width: 300px;\n height: 300px;\n background-color: white;\n background-image: linear-gradient(#8e9eab, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n position: relative;\n}\n.jina-theme-persian .jina-sea{\n\tbackgrond-image: linear-gradient(#009999, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n.jina-theme-pompelmo .jina-sea{\n\tbackground-image: linear-gradient(#ff6666, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n.jina-theme-honeybee .jina-sea{\n\tbackground-image: linear-gradient(#ffcc66, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n\n.jina-sea .title {\n color: white;\n font-size: 24px;\n font-family: Comfortaa;\n text-align: center;\n line-height: 250px;\n position: absolute;\n z-index: 1;\n width: 100%;\n}\n.jina-sea .jina-wave {\n position: absolute;\n top: -250px;\n left: -100px;\n width: 500px;\n height: 500px;\n background: #8e9eab;\n border-radius: 35%;\n filter: opacity(0.4);\n animation: jina-drift linear infinite;\n transform-origin: 50% 48%;\n}\n.jina-theme-persian .jina-sea .jina-wave{\n\tbackground: #009999;\n}\n.jina-theme-pompelmo .jina-sea .jina-wave{\n\tbackground: #ff6666;\n}\n.jina-theme-honeybee .jina-sea .jina-wave{\n\tbackground: #ffcc66;\n}\n\n.jina-sea .jina-wave:nth-of-type(1) {\n animation-duration: 5s;\n}\n.jina-sea .jina-wave:nth-of-type(2) {\n animation-duration: 7s;\n}\n.jina-sea .jina-wave:nth-of-type(3) {\n animation-duration: 9s;\n background-color: #009999;\n filter: opacity(0.1);\n}\n.jina-theme-persian .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #009999 !important;\n}\n.jina-theme-pompelmo .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #ff6666 !important;\n}\n.jina-theme-honeybee .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #ffcc66 !important;\n}\n\n@keyframes jina-drift {\n from {\n transform: rotate(360deg);\n }\n}\n.jina-floater-container {\n font-family: Comfortaa;\n position: fixed;\n bottom: 2em;\n right: 2em;\n}\n.jina-floater {\n background: white;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n width: 3.5em;\n height: 3.5em;\n border-radius: 50%;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n}\n.jina-theme-persian .jina-floater{\n\tbackground: #009999;\n}\n.jina-theme-pompelmo .jina-floater {\n\tbackground: #ff6666;\n}\n.jina-theme-honeybee .jina-floater {\n\tbackground: #ffcc66;\n}\n.jina-floater-icon {\n width: 1.5em;\n height: 1.5em;\n position: absolute;\n top: 1em;\n left: 1em;\n transition: .2s;\n}\n.jina-floater {\n transition: .2s;\n}\n.jina-floater-large {\n width: 14em;\n height: 14em;\n transition: .2s;\n}\n.jina-floater-large .jina-floater-icon {\n left: 6em;\n top: 3em;\n}\n.jina-floater-box {\n position: fixed;\n background: white;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n bottom: 6em;\n right: 2em;\n height: 0px;\n max-height: 65vh;\n width: 300px;\n border-radius: 1em;\n flex-direction: column;\n align-items: stretch;\n font-family: Comfortaa;\n opacity: 0;\n transition: all .2s ease-out;\n display: flex;\n visibility: hidden;\n}\n.jina-floater-box-visible {\n\topacity: 1;\n visibility: visible;\n height: 400px\n}\n.jina-search-input {\n font-family: Comfortaa;\n font-size: 1em;\n border: none;\n outline: none;\n padding: .5em;\n padding-left: 2.5rem;\n margin: 0px;\n line-height: 1;\n border-width: 1px;\n\tbox-shadow: inset 0 0.0625em 0.125em rgba(10,10,10,0.05);\n}\n.jina-search-input {\n border-color: #d5ac2c;\n}\n.jina-floater-search-container {\n padding: .5em;\n border-radius: .5em .5em 0em 0em;\n position: relative;\n}\n.jina-floater-results-container {\n align-content: flex-end;\n border: 1px solid white;\n border-radius: .5em;\n margin: .5em;\n\t\tmargin-top: 0px;\n height: 100%;\n transition: .2s;\n\t\toverflow: hidden;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n}\n.jina-floater-results-container .jina-results-toolbar{\n\tpadding-top: 0px;\n}\n.jina-floater-file-input {\n display: none;\n}\n.jina-floater-result, .jina-result {\n background: white;\n margin: .1em;\n border-radius: .25em;\n cursor: pointer;\n\t\ttransition: .1s;\n\t\ttext-align: center;\n}\n\n.jina-result-video{\n\toutline: none;\n\twidth: 100%;\n\tmax-height: 300px;\n\tpadding: .5em;\n}\n\n.jina-result-audio{\n\toutline: none;\n\tpadding: .5em;\n\tmax-width: 100%;\n}\n\n.jina-result.jina-text-result{\n\ttext-align: left;\n\tpadding: .25em;\n\tpadding-left: .5em;\n\tpadding-right: .5em;\n}\n.jina-grid-container {\n display: inline-block;\n margin: none;\n width: 33%;\n}\n.jina-floater-result:hover, .jina-result:hover {\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n.jina-results-area {\n font-family: Comfortaa;\n padding: .5em;\n height: 100%;\n overflow-y: auto;\n}\n.jina-highlighted {\n border-color: #009999;\n}\n.jina-highlighted .jina-floater-instructions{\n\tcolor: white;\n\topacity: 1;\n}\n\n.jina-theme-persian .jina-highlighted {\n\tborder-color: #009999;\n}\n.jina-theme-pompelmo .jina-highlighted {\n\tborder-color: #FF6666;\n}\n.jina-theme-honeybee .jina-highlighted {\n\tborder-color: #FFCC66;\n}\n\n.jina-theme-persian input :focus {\n border-color: #d5ac2c;\n}\n\n.jina-search-icon {\n height: 1.25rem;\n position: absolute;\n top: .5rem;\n left: .65rem;\n\t\tpadding-right: .25rem;\n}\n.jina-border-right {\n border-right: 1px solid #009999;\n}\n.jina-floater-instructions {\n text-align: center;\n opacity: .5;\n\tmargin-top: 40%;\n}\n.jina-results-label {\n font-size: .75em;\n text-align: left;\n padding-left: .5em;\n font-family: Comfortaa;\n margin-top: 1em;\n margin-left: .5em;\n opacity: .5;\n}\n.jina-search-container {\n position: relative;\n}\n.jina-persian {\n border-color: #009999;\n}\n.jina-searchbar-container {\n width: 300px;\n position: relative;\n display: inline-block;\n}\n.jina-expander {\n font-family: Comfortaa;\n background: white;\n position: absolute;\n top: 2.5em;\n width: 100%;\n border-radius: 1.1em;\n padding-top: 0em;\n padding-bottom: 0em;\n text-align: center;\n opacity: 0;\n height: 0px;\n transition: .2s;\n overflow: hidden;\n max-height: 65vh;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n}\n.jina-expander-results-area {\n overflow-x: hidden;\n overflow-y: auto;\n padding-bottom: .5em;\n flex: fill;\n}\n.jina-expander-close {\n cursor: pointer;\n color: white;\n padding-top: .5em;\n padding-bottom: .5em;\n background: #009999;\n}\n.jina-contained {\n width: 100%;\n box-sizing: border-box;\n}\n.jina-floater-label {\n font-family: Comfortaa;\n text-align: center;\n padding-top: 5em;\n padding-right: 2.5em;\n padding-left: 2.5em;\n opacity: 0;\n font-size: 1px;\n transition: .2s;\n text-transform: uppercase;\n letter-spacing: 3px;\n}\n.jina-floater-large .jina-floater-label {\n font-size: 1.25em;\n opacity: 1;\n}\n.jina-expander-label {\n font-family: Comfortaa;\n text-align: center;\n color: white;\n}\n.jina-dropdown-message {\n\t\ttext-align: center;\n font-family: Comfortaa;\n padding-top: 9em;\n padding-bottom: 3em;\n padding-right: .5em;\n padding-left: .5em;\n height: 100%;\n}\n.jina-error {\n background: linear-gradient(to bottom left, #EF8D9C 40%, #FFC39E 100%);;\n}\n.jina-ready {\n background: #eef2f3;\n color: #000;\n}\n.jina-theme-persian .jina-ready{\n\tbackground: linear-gradient(to bottom right, #009999 40%, #32C8CD 100%);\n\tcolor: #fff;\n}\n.jina-theme-pompelmo .jina-ready{\n\tbackground: linear-gradient(to bottom right, #FF6666 40%, #ff8b8b 100%);\n\tcolor: #fff;\n}\n.jina-theme-honeybee .jina-ready{\n\tbackground: linear-gradient(to bottom right, #FFCC66 40%, #ffda8f 100%);\n\tcolor: #fff;\n}\n\n.jina-dropdown-message h4 {\n font-weight: 100;\n letter-spacing: 3px;\n padding-top: 5px;\n padding-bottom: 5px;\n text-transform: uppercase;\n}\n.jina-dropdown-message button {\n\t\tfont-family: Comfortaa;\n\t\tbackground: whitesmoke;\n padding: .5em;\n font-size: 1em;\n padding-left: 1em;\n padding-right: 1em;\n border: none;\n border-radius: 20px;\n cursor: pointer;\n outline: none;\n}\n.jina-face {\n position: absolute;\n width: 4em;\n height: 4em;\n background: white;\n border-radius: 50%;\n top: 4em;\n left: 37.5%;\n z-index: 2;\n animation: jina-animation-bounce 1s ease-in infinite;\n}\n.jina-shadow {\n position: absolute;\n width: 3.75em;\n height: .75em;\n opacity: .5;\n background: #777777;\n left: 7.25em;\n top: 8em;\n border-radius: 50%;\n z-index: 1;\n}\n.jina-scale {\n animation: jina-animation-scale 1s ease-in infinite;\n}\n.jina-move {\n animation: jina-animation-move 3s ease-in-out infinite;\n}\n.jina-roll {\n animation: jina-animation-roll 3s ease-in-out infinite;\n}\n@keyframes jina-animation-scale {\n 50% {\n transform: scale(0.9);\n }\n}\n@keyframes jina-animation-move {\n 0% {\n left: 25%;\n }\n 50% {\n left: 60%;\n }\n 100% {\n left: 25%;\n }\n}\n@keyframes jina-animation-roll {\n 0% {\n transform: rotate(0deg);\n left: 25%;\n }\n 50% {\n left: 60%;\n transform: rotate(168deg);\n }\n 100% {\n transform: rotate(0deg);\n left: 25%;\n }\n}\n@keyframes jina-animation-bounce {\n 50% {\n transform: translateY(-15px);\n }\n}\n.jina-expander-overlay {\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .5);\n display: none;\n opacity: 0;\n}\n.jina-results-toolbar {\n\t\tpadding-top: .75em;\n padding-right: .5em;\n padding-left: .5em;\n text-align: left;\n\tdisplay: flex;\n\tflex-shrink: 0;\n flex-direction: row;\n\tborder-bottom: 1px solid #cfd8dc;\n}\n.jina-results-tabs {\n overflow-x: auto;\n\t\tflex: 1;\n\t\tdisplay: block;\n}\n.jina-results-tab {\n display: inline-block;\n margin: .15em;\n cursor: pointer;\n border-bottom: 2px solid #cfd8dc;\n}\n.jina-results-tab.jina-active {\n border-bottom-color: #009999;\n}\n.jina-theme-persian .jina-results-tab.jina-active{\n\tborder-bottom-color: #009999;\n}\n.jina-theme-pompelmo .jina-results-tab.jina-active{\n\tborder-bottom-color: #FF6666;\n}\n.jina-theme-honeybee .jina-results-tab.jina-active{\n\tborder-bottom-color: #FFCC66;\n}\n\n.jina-results-tab-img {\n width: 2em;\n height: 2em;\n margin-bottom: .25em;\n border-radius: .25em;\n}\n\n.jina-results-tab-audio{\n\twidth: 2em;\n\theight: 2em;\n border-radius: .25em;\n}\n\n.jina-results-tab-video{\n\twidth: 2em;\n\theight: 2em;\n border-radius: .25em;\n}\n\n.jina-results-action-button {\n\t\tbox-sizing: border-box;\n cursor: pointer;\n width: 1.85em;\n height: 1.85em;\n border-radius: 5px;\n \tpadding: .25em;\n}\n.jina-results-action-button.jina-active {\n background-color: rgba(0, 153, 153, 0.25);\n}\n.jina-theme-persian .jina-results-action-button.jina-active {\n\tbackground-color: rgba(0, 153, 153, 0.25);\n}\n.jina-theme-pompelmo .jina-results-action-button.jina-active {\n\tbackground-color: rgba(255, 102, 102, 0.25);;\n}\n.jina-theme-honeybee .jina-results-action-button.jina-active {\n\tbackground-color: rgba(255, 204, 102, 0.25);\n}\n\n.eye {\n position: absolute;\n width: 5px;\n height: 5px;\n background: #777777;\n border-radius: 50%;\n top: 40%;\n left: 20%;\n}\n.right {\n left: 68%;\n}\n.mouth {\n position: absolute;\n top: 43%;\n left: 41%;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n}\n.happy {\n border: 2px solid;\n border-color: transparent #777777 #777777 transparent;\n transform: rotate(45deg);\n}\n.sad {\n top: 49%;\n border: 2px solid;\n border-color: #777777 transparent transparent #777777;\n transform: rotate(45deg);\n}\n.unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.jina-scrollable{\n\toverflow-y: auto;\n}\n";document.body.appendChild(stylesElement);let defaultPlaceholders=["type or drag anything to search","powered by Jina","unleash your curiosity and happy searching"],defaultSettings={showResults:!0,typewriterEffect:!1,typewriterDelayCharacter:50,typewriterDelayItem:1e3,theme:"default",searchIcon:"color",floaterIcon:"color",globalDrag:!0};class Floater extends HTMLElement{constructor(){super();this.typeWriter=(t,e=0,i=0,n=100,a=1e3)=>{e||(this.searchInput.placeholder="");let s=t[i];if(e<s.length){this.searchInput.placeholder+=s.charAt(e);e++;setTimeout(this.typeWriter,n,t,e,i,n,a)}else if(void 0===t[++i])setTimeout(this.typeWriter,a,t,0,0,n,a);else{e=0;setTimeout(this.typeWriter,a,t,e,i,n,a)}};this.search=async(t=[this.searchInput.value],e=!1)=>{if(!e||t.length>1){this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right")}this.showLoading();await waitFor(2);let i,n=new Date;try{i=await window.JinaBox.search(t,16,e);this.dropped=!1}catch(t){this.dropped=!1;return this.showError(t)}let a=new Date,s=Math.round((a-n)/10)/100,r=[],o=[],M=0,c=!1,l=!1,d=!0,{docs:g}=i.search,{code:j,description:h}=i.status||{};if("ERROR"==j)return this.showError(h);try{for(let t=0;t<g.length;++t){let e=g[t],{topkResults:i,uri:n,mimeType:a}=e;"text/plain"!==e.mimeType&&(c=!0);o.push({uri:n,mimeType:a});for(let e=0;e<i.length;++e){const n=i[e];r[t]||(r[t]=[]);"text/plain"===n.matchDoc.mimeType&&(l=!0);n.matchDoc.mimeType.startsWith("image")||(d=!1);r[t].push({mimeType:n.matchDoc.mimeType,data:n.matchDoc.uri,text:n.matchDoc.text,score:n.score.value});M++}}}catch(t){return this.showError("Could not get results")}for(let t=0;t<r.length;++t)r[t]=r[t].sort((t,e)=>e.score-t.score);this.queries=o;this.results=r;this.resultsMeta={totalTime:s,totalResults:M,resultsContainText:l,queriesContainMedia:c,onlyImages:d};this.showResults(0)};this.showError=(t="could not reach server")=>{this.dropArea.innerHTML=`\n\t\t\t<div class="jina-dropdown-message jina-error unselectable">\n \t\t<div class="jina-face jina-roll"><div class="eye"></div><div class="eye right"></div><div class="mouth sad"></div>\n \t</div>\n \t\t\t<div class="jina-shadow jina-move"></div>\n\t\t\t\t<h4 class="alert">Error!</h4>\n\t\t\t\t<p>${t}</p>\n\t\t\t\t<button id="jina-floater-error-ok">Ok</button>\n\t\t\t</div>\n\t\t`;this.errorButton=document.getElementById("jina-floater-error-ok");this.errorButton.onclick=this.clearDropArea};this.showLoading=()=>{this.dropArea.innerHTML='\n\t\t\t<div class="jina-sea">\n\t\t\t\t<p class="title">Searching</p>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t</div>\n\t\t'};this.clearDropArea=()=>{this.dropArea.classList.remove("jina-scrollable");this.dropArea.innerHTML='\n\t\t\t<input type="file" id="jina-floater-file-input" class="jina-floater-file-input" multiple>\n\t\t\t\t<h3 class="jina-floater-instructions">Drop here to search</h3>\n\t\t\t\t'};this.showResults=(t=this.resultsIndex)=>{this.resultsIndex=t;let e,i="",n=this.results,a=this.queries,{totalResults:s,totalTime:r,onlyImages:o,queriesContainMedia:M}=this.resultsMeta;if(a.length>1||M){e='\n\t\t\t\t<div class="jina-results-toolbar">\n\t\t\t\t\t<div class="jina-results-tabs">';if(M)for(let i=0;i<a.length;++i)e+=this.renderPreviewTab(a[i],i,t===i);o&&(e+=`\n\t\t\t\t\t</div>\n\t\t\t\t\t<img class="jina-results-action-button${"list"===this.resultsView?" jina-active":""}" src="${_icons.listView}" id="jina-toolbar-button-list" draggable="false">\n\t\t\t\t\t<img class="jina-results-action-button${"grid"===this.resultsView?" jina-active":""}" src="${_icons.gridView}" id="jina-toolbar-button-grid" draggable="false">`);e+="</div></div>"}i+=`<p class="jina-results-label">${s} results in ${r} seconds</p>`;for(let e=0;e<n[t].length;++e){let a=n[t][e];a.index=e;i+=this.renderResult(a)}this.dropArea.innerHTML=`\n\t\t\t\t${e||""}\n\t\t\t\t<div class="jina-expander-results-area">\n\t\t\t\t\t${i}\n\t\t\t\t</div>\n\t\t\t\t`;if(e){for(let t=0;t<a.length;++t)document.getElementById("jina-results-tab-"+t).addEventListener("click",()=>this.showResults(t));if(o){document.getElementById("jina-toolbar-button-list").addEventListener("click",()=>this.setResultsView("list"));document.getElementById("jina-toolbar-button-grid").addEventListener("click",()=>this.setResultsView("grid"))}}n[t].map((t,e)=>{document.getElementById("jina-result-"+e).addEventListener("click",()=>{if(t.mimeType.startsWith("text")){this.searchInput.value=t.text;this.search()}else{this.search([t.data],!0);this.searchIcon.src=t.data;this.searchIcon.classList.add("jina-border-right")}})})};this.renderResult=t=>t.mimeType.startsWith("text")?`<div class="jina-result jina-text-result" id="jina-result-${t.index}">${t.text}</div>`:t.mimeType.startsWith("image")?"grid"===this.resultsView?`<div class="jina-grid-container"><div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div></div>`:`<div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div>`:t.mimeType.startsWith("audio")?`<div class="jina-result" id="jina-result-${t.index}"><audio src="${t.data}" class="jina-result-audio" controls></audio></div>`:t.mimeType.startsWith("video")?`<div class="jina-result" id="jina-result-${t.index}"><video src="${t.data}" class="jina-result-video" controls autoplay muted loop></video></div>`:void 0;this.renderPreviewTab=(t,e,i)=>{const{uri:n,mimeType:a}=t;return`\n\t\t\t<div class="jina-results-tab${i?" jina-active":""}" id="jina-results-tab-${e}">\n\t\t\t${a.startsWith("image")?`<div class="jina-results-tab-img" style="background:url(${n});background-size: cover;"></div>`:a.startsWith("video")?`<video class="jina-results-tab-video" src="${n}" autoplay muted loop></video>`:a.startsWith("audio")?`<audio controls class="jina-results-tab-audio" src="${n}"></audio>`:""}\n\t\t\t</div>`};this.setResultsView=t=>{localStorage.setItem("jina-floater-results-view",t);this.resultsView=t;this.showResults()};this.listenForEnter=t=>{13==t.keyCode&&this.search()};this.preventDefaults=t=>{t.preventDefault();t.stopPropagation()};this.handleDrag=()=>{this.dragCounter++;if(this.showBox){this.highlightArea();this.highlightSearch()}else this.showLargeFloater()};this.handleDragLeave=()=>{this.dragCounter--;if(this.dragCounter<1){if(this.showBox){this.unhighlightArea();this.unhighlightSearch()}else this.hideLargeFloater();this.dragCounter=0}};this.handleDrop=async t=>{this.dropped=!0;let e=t.dataTransfer,i=e.getData("URL");this.showBox||this.toggleShow();if(i)if(i.startsWith("data:")){this.search([i],!0);this.searchIcon.src=i;this.searchIcon.classList.add("jina-border-right")}else{let e;try{e=await getDataUri(i)}catch(t){e=i}this.searchIcon.src=e;this.searchIcon.classList.add("jina-border-right");this.search([i],!0)}else{let t=e.files,i=[];for(let e=0;e<t.length;++e){const n=t[e];let a=new FileReader;a.addEventListener("load",()=>{const e=a.result;i.push(e);if(i.length===t.length){this.search(i,!0);if(i.length<2){this.searchIcon.src=i[0];this.searchIcon.classList.add("jina-border-right")}}},!1);a.readAsDataURL(n)}}};this.toggleShow=()=>{this.hideLargeFloater();this.showBox=!this.showBox;if(this.showBox){this.floaterBox.classList.add("jina-floater-box-visible");document.querySelector("#jina-floater-icon img").src=this.closeIcon}else{this.clearDropArea();this.floaterBox.classList.remove("jina-floater-box-visible");document.querySelector("#jina-floater-icon img").src=this.floaterIcon}};this.showLargeFloater=()=>{this.jinaButton.classList.add("jina-floater-large");this.jinaButton.classList.add("jina-ready")};this.hideLargeFloater=()=>{this.jinaButton.classList.remove("jina-floater-large");this.jinaButton.classList.remove("jina-ready")};this.highlightArea=()=>{this.dropArea.classList.add("jina-highlighted");this.dropArea.classList.add("jina-ready")};this.unhighlightArea=()=>{this.dropArea.classList.remove("jina-highlighted");this.dropArea.classList.remove("jina-ready")};this.highlightSearch=()=>{this.searchInput.classList.add("jina-highlighted")};this.unhighlightSearch=()=>{this.searchInput.classList.remove("jina-highlighted")};this.settings={};let t=Object.keys(defaultSettings);for(let e=0;e<t.length;++e){const i=t[e];this.settings[i]=this.getAttribute(i)||defaultSettings[i]}this.getAttribute("floaterIcon")||"default"!==this.settings.theme&&(this.settings.floaterIcon="inverse");"default"!==this.settings.theme?this.closeIcon=_icons.closeLight:this.closeIcon=_icons.closeDark;this.floaterIcon=_icons[this.settings.floaterIcon]||this.settings.floaterIcon;const e=_icons[this.settings.searchIcon]||this.settings.searchIcon;this.originalSearchIcon=e;this.innerHTML=`\n\t\t<div class="jina-floater-container jina-theme-${this.settings.theme}">\n\t\t\t<div class="jina-floater" id="jina-floater-icon">\n\t\t\t\t<img src="${this.floaterIcon}" class="jina-floater-icon"/>\n\t\t\t\t<h4 class="jina-floater-label">Drop here</h4>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jina-floater-box jina-theme-${this.settings.theme}" id="jina-floater-box">\n\t\t\t<div class="jina-floater-search-container">\n\t\t\t\t<div id="jina-floater-background-search-container" class="jina-bg-default">\n\t\t\t\t\t<div class="jina-search-container">\n\t\t\t\t\t\t<img src="${e}" class="jina-search-icon" id="jina-floater-search-icon" onerror="this.src='${this.originalSearchIcon}'"/>\n\t\t\t\t\t\t<input placeholder="type or drop to search" class="jina-search-input jina-contained" id="jina-floater-search-box" autocomplete="off">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="jina-floater-results-container" id="jina-floater-drop-area">\n\t\t\t\t<input type="file" id="jina-floater-file-input" class="jina-floater-file-input" multiple>\n\t\t\t\t<h3 class="jina-floater-instructions">Drop here to search</h3>\n\t\t\t</div>\n\t\t</div>\n\t\t`;this.showBox=!1;this.dragCounter=0;this.jinaButton=document.getElementById("jina-floater-icon");this.dropArea=document.getElementById("jina-floater-drop-area");this.searchInput=document.getElementById("jina-floater-search-box");this.searchBackground=document.getElementById("jina-floater-background-search-container");this.floaterBox=document.getElementById("jina-floater-box");this.searchIcon=document.getElementById("jina-floater-search-icon");this.jinaButton.addEventListener("click",this.toggleShow);["drag","dragenter","dragover","dragleave","dragexit","drop"].forEach(t=>{document.addEventListener(t,this.preventDefaults,!1)});["dragenter"].forEach(t=>{document.addEventListener(t,this.handleDrag,!1)});["dragleave","drop","dragexit"].forEach(t=>{document.addEventListener(t,this.handleDragLeave,!1)});this.dropArea.addEventListener("drop",this.handleDrop,!1);this.jinaButton.addEventListener("drop",this.handleDrop,!1);this.searchInput.addEventListener("drop",this.handleDrop,!1);this.searchInput=document.getElementById("jina-floater-search-box");this.searchInput.addEventListener("keydown",this.listenForEnter);this.searchInput.addEventListener("focus",this.highlightSearch);this.searchInput.addEventListener("blur",this.unhighlightSearch);this.resultsView=localStorage.getItem("jina-floater-results-view")||"list";if(this.settings.typewriterEffect){const t=JSON.parse(this.getAttribute("placeholders"));this.typeWriter(t||defaultPlaceholders,0,0,this.settings.typewriterDelayCharacter,this.settings.typewriterDelayItem)}}}class SearchBar extends HTMLElement{constructor(){super();this.typeWriter=(t,e=0,i=0,n=100,a=1e3)=>{e||(this.searchInput.placeholder="");let s=t[i];if(e<s.length){this.searchInput.placeholder+=s.charAt(e);e++;setTimeout(this.typeWriter,n,t,e,i,n,a)}else if(void 0===t[++i])setTimeout(this.typeWriter,a,t,0,0,n,a);else{e=0;setTimeout(this.typeWriter,a,t,e,i,n,a)}};this.search=async(t=[this.searchInput.value],e=!1)=>{if(!e||t.length>1){this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right")}this.showLoading();let i,n=new Date;try{i=await window.JinaBox.search(t,16,e);this.dropped=!1}catch(t){this.dropped=!1;return this.showError(t)}let a=new Date,s=Math.round((a-n)/10)/100,r=[],o=[],M=0,c=!1,l=!1,d=!0,{docs:g}=i.search,{code:j,description:h}=i.status||{};if("ERROR"==j)return this.showError(h);for(let t=0;t<g.length;++t){let e=g[t],{topkResults:i,uri:n,mimeType:a}=e;"text/plain"!==e.mimeType&&(c=!0);o.push({uri:n,mimeType:a});for(let e=0;e<i.length;++e){const n=i[e];r[t]||(r[t]=[]);"text/plain"===n.matchDoc.mimeType&&(l=!0);n.matchDoc.mimeType.startsWith("image")||(d=!1);r[t].push({mimeType:n.matchDoc.mimeType,data:n.matchDoc.uri,text:n.matchDoc.text,score:n.score.value});M++}}for(let t=0;t<r.length;++t)r[t]=r[t].sort((t,e)=>e.score-t.score);this.queries=o;this.results=r;this.resultsMeta={totalTime:s,totalResults:M,resultsContainText:l,queriesContainMedia:c,onlyImages:d};this.showResults(0)};this.setResultsView=t=>{localStorage.setItem("jina-expander-results-view",t);this.resultsView=t;this.showResults()};this.listenForEnter=t=>{13==t.keyCode&&this.search()};this.preventDefaults=t=>{t.preventDefault();t.stopPropagation()};this.handleDrop=async t=>{this.dropped=!0;let e=t.dataTransfer,i=e.getData("URL");if(i)if(i.startsWith("data:")){this.search([i],!0);this.searchIcon.src=i;this.searchIcon.classList.add("jina-border-right")}else{let e;try{e=await getDataUri(i)}catch(t){e=i}this.searchIcon.src=e;this.searchIcon.classList.add("jina-border-right");this.search([i],!0)}else{let t=e.files,i=[];for(let e=0;e<t.length;++e){const n=t[e];let a=new FileReader;a.addEventListener("load",()=>{const e=a.result;i.push(e);if(i.length===t.length){this.search(i,!0);if(i.length<2){this.searchIcon.src=i[0];this.searchIcon.classList.add("jina-border-right")}}},!1);a.readAsDataURL(n)}}};this.handleDrag=()=>{this.dragCounter++;if(!this.highlighted){this.overlay.style.display="block";this.overlay.style.opacity="1";this.searchInput.classList.add("jina-highlighted");this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML='\n\t\t\t\t<div class="jina-dropdown-message jina-ready unselectable">\n \t\t\t<div class="jina-face"><div class="eye"></div><div class="eye right"></div><div class="mouth happy"></div></div>\n \t\t\t<div class="jina-shadow jina-scale"></div>\n\t\t\t\t\t<h4 class="alert">Drop here</h4>\n\t\t\t\t\t<p>Drop any content here from webpage/local to search</p>\n\t\t\t\t</div>\n\t\t\t\t';this.highlighted=!0}};this.handleDragLeave=()=>{this.dragCounter--;if(this.dragCounter<1){this.searchInput.classList.remove("jina-highlighted");if(!this.dropped){this.overlay.style.display="none";this.overlay.style.opacity="0";this.expander.style.height="0px";this.expander.style.opacity=0;this.clearExpander()}this.dragCounter=0}};this.showLoading=()=>{this.overlay.style.display="block";this.overlay.style.opacity="1";this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML='\n\t\t\t<div class="jina-sea">\n\t\t\t\t<p class="title">Searching</p>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t</div>\n\t\t'};this.showError=(t="could not reach server")=>{this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML=`\n\t\t\t<div class="jina-dropdown-message jina-error unselectable">\n \t\t<div class="jina-face jina-roll"><div class="eye"></div><div class="eye right"></div><div class="mouth sad"></div>\n \t</div>\n \t\t\t<div class="jina-shadow jina-move"></div>\n\t\t\t\t<h4 class="alert">Error!</h4>\n\t\t\t\t<p>${t}</p>\n\t\t\t\t<button id="jina-searchbar-error-ok">Ok</button>\n\t\t\t</div>\n\t\t`;this.errorButton=document.getElementById("jina-searchbar-error-ok");this.errorButton.onclick=this.clearExpander};this.showResults=(t=this.resultsIndex)=>{this.resultsIndex=t;let e,i="",n=this.results,a=this.queries,{totalResults:s,totalTime:r,onlyImages:o,queriesContainMedia:M}=this.resultsMeta;if(a.length>1||M){e='\n\t\t\t\t<div class="jina-results-toolbar">\n\t\t\t\t\t<div class="jina-results-tabs">';if(M)for(let i=0;i<a.length;++i)e+=this.renderPreviewTab(a[i],i,t===i);o&&(e+=`\n\t\t\t\t\t</div>\n\t\t\t\t\t<img class="jina-results-action-button${"list"===this.resultsView?" jina-active":""}" src="${_icons.listView}" id="jina-toolbar-button-list" draggable="false">\n\t\t\t\t\t<img class="jina-results-action-button${"grid"===this.resultsView?" jina-active":""}" src="${_icons.gridView}" id="jina-toolbar-button-grid" draggable="false">`);e+="</div></div>"}i+=`<p class="jina-results-label">${s} results in ${r} seconds</p>`;for(let e=0;e<n[t].length;++e){let a=n[t][e];a.index=e;i+=this.renderResult(a)}if(this.settings.showResults){this.overlay.style.display="block";this.overlay.style.opacity="1";this.expander.style.height="500px";this.expander.style.opacity=1;this.expander.innerHTML=`\n\t\t\t\t${e||""}\n\t\t\t\t<div class="jina-expander-results-area">\n\t\t\t\t\t${i}\n\t\t\t\t</div>\n\t\t\t\t`;if(e){for(let t=0;t<a.length;++t)document.getElementById("jina-results-tab-"+t).addEventListener("click",()=>this.showResults(t));if(o){document.getElementById("jina-toolbar-button-list").addEventListener("click",()=>this.setResultsView("list"));document.getElementById("jina-toolbar-button-grid").addEventListener("click",()=>this.setResultsView("grid"))}}}else{this.resultsArea=document.getElementById("jina-results-area");this.resultsArea.innerHTML=html;this.clearExpander()}n[t].map((t,e)=>{document.getElementById("jina-result-"+e).addEventListener("click",()=>{if(t.mimeType.startsWith("text")){this.searchInput.value=t.text;this.search()}else{this.search([t.data],!0);this.searchIcon.src=t.data;this.searchIcon.classList.add("jina-border-right")}})})};this.renderResult=t=>t.mimeType.startsWith("text")?`<div class="jina-result jina-text-result" id="jina-result-${t.index}">${t.text}</div>`:t.mimeType.startsWith("image")?"grid"===this.resultsView?`<div class="jina-grid-container"><div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div></div>`:`<div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div>`:t.mimeType.startsWith("audio")?`<div class="jina-result" id="jina-result-${t.index}"><audio src="${t.data}" class="jina-result-audio" controls></audio></div>`:t.mimeType.startsWith("video")?`<div class="jina-result" id="jina-result-${t.index}"><video src="${t.data}" class="jina-result-video" controls autoplay muted loop></video></div>`:void 0;this.renderPreviewTab=(t,e,i)=>{const{uri:n,mimeType:a}=t;return`\n\t\t\t<div class="jina-results-tab${i?" jina-active":""}" id="jina-results-tab-${e}">\n\t\t\t${a.startsWith("image")?`<div class="jina-results-tab-img" style="background:url(${n});background-size: cover;"></div>`:a.startsWith("video")?`<video class="jina-results-tab-video" src="${n}" autoplay muted loop></video>`:a.startsWith("audio")?`<audio controls class="jina-results-tab-audio" src="${n}"></audio>`:""}\n\t\t\t</div>`};this.clearExpander=async()=>{this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right");this.searchInput.value="";this.overlay.style.display="none";this.overlay.style.opacity="0";this.dragCounter=0;this.searchInput.classList.remove("jina-highlighted");this.expander.style.height="0px";this.expander.style.opacity=0;this.expander.style.transition=".2s";await waitFor(.2);this.expander.innerHTML="";this.highlighted=!1};this.settings={};let t=Object.keys(defaultSettings);for(let e=0;e<t.length;++e){const i=t[e];this.settings[i]=this.getAttribute(i)||defaultSettings[i]}this.originalSearchIcon=_icons[this.settings.searchIcon]||this.settings.searchIcon;this.innerHTML=`\n\t\t<div class="jina-expander-overlay" id="jina-expander-overlay"></div>\n\t\t<div class="jina-searchbar-container jina-theme-${this.settings.theme}">\n\t\t\t<div class="jina-expander" id="jina-search-expander"></div>\n\t\t\t<div id="jina-searchbar-background-container" class="jina-bg-default">\n\t\t\t\t<div class="jina-search-container">\n\t\t\t\t\t<img src="${this.originalSearchIcon}" class="jina-search-icon" id="jina-search-icon" onerror="this.src='${this.originalSearchIcon}'" />\n\t\t\t\t\t<input placeholder="type or drop to search" class="jina-search-input jina-contained" id="jina-search-input" autocomplete="off">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t`;this.overlay=document.getElementById("jina-expander-overlay");this.expander=document.getElementById("jina-search-expander");this.searchInput=document.getElementById("jina-search-input");this.searchIcon=document.getElementById("jina-search-icon");this.dragCounter=0;["drag","dragenter","dragover","dragleave","dragexit","drop"].forEach(t=>{document.addEventListener(t,this.preventDefaults)});["dragenter"].forEach(t=>{document.addEventListener(t,this.handleDrag)});["dragleave","drop","dragexit"].forEach(t=>{document.addEventListener(t,this.handleDragLeave)});this.overlay.addEventListener("click",this.clearExpander);this.searchInput.addEventListener("drop",this.handleDrop);this.expander.addEventListener("drop",this.handleDrop);this.searchInput.addEventListener("keydown",this.listenForEnter);this.resultsView=localStorage.getItem("jina-expander-results-view")||"list";if(this.settings.typewriterEffect){const t=JSON.parse(this.getAttribute("placeholders"));this.typeWriter(t||defaultPlaceholders,0,0,this.settings.typewriterDelayCharacter,this.settings.typewriterDelayItem)}}}class Results extends HTMLElement{constructor(){super();this.handleDrag=()=>{};this.handleDragLeave=()=>{};this.innerHTML='\n\t\t<div class="jina-results-area" id="jina-results-area"></div>\n\t\t';this.dropArea=document.getElementById("jina-search-input");this.dropArea.addEventListener("dragenter",this.handleDrag);this.dropArea.addEventListener("drop",this.handleDrop);this.dropArea.addEventListener("dragleave",this.handleDragLeave)}}window.customElements.define("jina-floater",Floater);window.customElements.define("jina-searchbar",SearchBar);window.customElements.define("jina-results",Results);window.JinaSettings={timeout:5e3,url:!1,top_k:16};window.JinaBox={init:function(t,e){window.JinaSettings={...window.JinaSettings,...e,url:t}},search:async function(t){return new Promise((function(e,i){const{url:n,timeout:a,top_k:s}=window.JinaSettings;var r=new XMLHttpRequest;r.open("POST",n);r.setRequestHeader("Content-Type","application/json");r.onload=()=>{try{const t=JSON.parse(r.responseText);e(t)}catch{i("request failed at "+n)}};r.onerror=function(t){i("request failed at "+n)};r.timeout=a;r.ontimeout=()=>i("Search Timeout");r.send(JSON.stringify({data:t,top_k:parseInt(s),mode:"search"}))}))},updateSettings:function(t){window.JinaSettings={...window.JinaSettings,...t}}};function getDataUri(t){return new Promise((function(e,i){var n=new XMLHttpRequest;n.responseType="arraybuffer";n.open("GET",""+t);n.onload=function(){var t,i,a,s;a=new Uint8Array(n.response);i=[].map.call(a,(function(t){return String.fromCharCode(t)})).join("");t=["data:",(s=n.getResponseHeader("content-type"))?s+";":"","base64,",btoa(i)].join("");e(t)};n.onerror=function(t){i(t)};n.send()}))}function waitFor(t){return new Promise((e,i)=>{setTimeout(()=>e(),1e3*t)})}
let _icons={color:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDEwcHgiIGhlaWdodD0iNDEwcHgiIHZpZXdCb3g9IjAgMCA0MTAgNDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2NCAoOTM1MzcpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPH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wyNTAuNXogTTU3Ljk1LDMyMy42Yy0xNC43LDAtMjYuNS0xMS45LTI2LjUtMjYuNWMwLTE0LjcsMTEuOS0yNi41LDI2LjUtMjYuNSAgICBjMTQuNywwLDI2LjUsMTEuOSwyNi41LDI2LjVTNzIuNTUsMzIzLjYsNTcuOTUsMzIzLjZ6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg=="},stylesElement=document.createElement("style");stylesElement.innerHTML="\n@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&display=swap');\n@keyframes jina-bg-rotate {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n.jina-bg-default {\n position: relative;\n border-radius: 100px;\n border-color: #dbdbdb;\n overflow: hidden;\n border-style: solid;\n border-width: 1px;\n}\n.jina-theme-persian .jina-bg-default{\n\tborder-color: #009999;\n}\n.jina-theme-pompelmo .jina-bg-default{\n\tborder-color: #FF6666;\n}\n.jina-theme-honeybee .jina-bg-default{\n\tborder-color: #FFCC66;\n}\n.jina-bg-rainbow {\n position: relative;\n z-index: 0;\n border-radius: 50px;\n overflow-y: hidden;\n padding: 1px;\n}\n.jina-bg-rainbow:before {\n content: '';\n position: absolute;\n z-index: -2;\n left: -50%;\n top: -450%;\n width: 200%;\n height: 1000%;\n background-color: #399953;\n background-repeat: no-repeat;\n background-size: 50% 50%, 50% 50%;\n background-position: 0 0, 100% 0, 100% 100%, 0 100%;\n background-image: linear-gradient(#399953, #399953), linear-gradient(#fbb300, #fbb300), linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5);\n animation: jina-bg-rotate 4s linear infinite;\n}\n.jina-bg-rainbow:after {\n content: '';\n position: absolute;\n z-index: -1;\n left: 1px;\n top: 1px;\n width: calc(100% - 2px);\n height: calc(100% - 2px);\n background: white;\n border-radius: 50px;\n}\n.jina-search-input::placeholder {\n opacity: .5;\n font-weight: 700;\n font-size: .75em;\n line-height:1.5;\n}\n\n.jina-sea {\n width: 300px;\n height: 300px;\n background-color: white;\n background-image: linear-gradient(#8e9eab, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n position: relative;\n}\n.jina-theme-persian .jina-sea{\n\tbackgrond-image: linear-gradient(#009999, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n.jina-theme-pompelmo .jina-sea{\n\tbackground-image: linear-gradient(#ff6666, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n.jina-theme-honeybee .jina-sea{\n\tbackground-image: linear-gradient(#ffcc66, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.5));\n}\n\n.jina-sea .title {\n color: white;\n font-size: 24px;\n font-family: Comfortaa;\n text-align: center;\n line-height: 250px;\n position: absolute;\n z-index: 1;\n width: 100%;\n}\n.jina-sea .jina-wave {\n position: absolute;\n top: -250px;\n left: -100px;\n width: 500px;\n height: 500px;\n background: #8e9eab;\n border-radius: 35%;\n filter: opacity(0.4);\n animation: jina-drift linear infinite;\n transform-origin: 50% 48%;\n}\n.jina-theme-persian .jina-sea .jina-wave{\n\tbackground: #009999;\n}\n.jina-theme-pompelmo .jina-sea .jina-wave{\n\tbackground: #ff6666;\n}\n.jina-theme-honeybee .jina-sea .jina-wave{\n\tbackground: #ffcc66;\n}\n\n.jina-sea .jina-wave:nth-of-type(1) {\n animation-duration: 5s;\n}\n.jina-sea .jina-wave:nth-of-type(2) {\n animation-duration: 7s;\n}\n.jina-sea .jina-wave:nth-of-type(3) {\n animation-duration: 9s;\n background-color: #009999;\n filter: opacity(0.1);\n}\n.jina-theme-persian .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #009999 !important;\n}\n.jina-theme-pompelmo .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #ff6666 !important;\n}\n.jina-theme-honeybee .jina-sea .jina-wave:nth-of-type(3) {\n\tbackground: #ffcc66 !important;\n}\n\n@keyframes jina-drift {\n from {\n transform: rotate(360deg);\n }\n}\n.jina-floater-container {\n font-family: Comfortaa;\n position: fixed;\n bottom: 2em;\n right: 2em;\n}\n.jina-floater {\n background: white;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n width: 3.5em;\n height: 3.5em;\n border-radius: 50%;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n}\n.jina-theme-persian .jina-floater{\n\tbackground: #009999;\n}\n.jina-theme-pompelmo .jina-floater {\n\tbackground: #ff6666;\n}\n.jina-theme-honeybee .jina-floater {\n\tbackground: #ffcc66;\n}\n.jina-floater-icon {\n width: 1.5em;\n height: 1.5em;\n position: absolute;\n top: 1em;\n left: 1em;\n transition: .2s;\n}\n.jina-floater {\n transition: .2s;\n}\n.jina-floater-large {\n width: 14em;\n height: 14em;\n transition: .2s;\n}\n.jina-floater-large .jina-floater-icon {\n left: 6em;\n top: 3em;\n}\n.jina-floater-box {\n position: fixed;\n background: white;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n bottom: 6em;\n right: 2em;\n height: 0px;\n max-height: 65vh;\n width: 300px;\n border-radius: 1em;\n flex-direction: column;\n align-items: stretch;\n font-family: Comfortaa;\n opacity: 0;\n transition: all .2s ease-out;\n display: flex;\n visibility: hidden;\n}\n.jina-floater-box-visible {\n\topacity: 1;\n visibility: visible;\n height: 400px\n}\n.jina-search-input {\n font-family: Comfortaa;\n font-size: 1em;\n border: none;\n outline: none;\n padding: .5em;\n padding-left: 2.5rem;\n margin: 0px;\n line-height: 1;\n border-width: 1px;\n\tbox-shadow: inset 0 0.0625em 0.125em rgba(10,10,10,0.05);\n}\n.jina-search-input {\n border-color: #d5ac2c;\n}\n.jina-floater-search-container {\n padding: .5em;\n border-radius: .5em .5em 0em 0em;\n position: relative;\n}\n.jina-floater-results-container {\n align-content: flex-end;\n border: 1px solid white;\n border-radius: .5em;\n margin: .5em;\n\t\tmargin-top: 0px;\n height: 100%;\n transition: .2s;\n\t\toverflow: hidden;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n}\n.jina-floater-results-container .jina-results-toolbar{\n\tpadding-top: 0px;\n}\n.jina-floater-file-input {\n display: none;\n}\n.jina-floater-result, .jina-result {\n background: white;\n margin: .1em;\n border-radius: .25em;\n cursor: pointer;\n\t\ttransition: .1s;\n\t\ttext-align: center;\n}\n\n.jina-result-video{\n\toutline: none;\n\twidth: 100%;\n\tmax-height: 300px;\n\tpadding: .5em;\n}\n\n.jina-result-audio{\n\toutline: none;\n\tpadding: .5em;\n\tmax-width: 100%;\n}\n\n.jina-result.jina-text-result{\n\ttext-align: left;\n\tpadding: .25em;\n\tpadding-left: .5em;\n\tpadding-right: .5em;\n}\n.jina-grid-container {\n display: inline-block;\n margin: none;\n width: 33%;\n}\n.jina-floater-result:hover, .jina-result:hover {\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n.jina-results-area {\n font-family: Comfortaa;\n padding: .5em;\n height: 100%;\n overflow-y: auto;\n}\n.jina-highlighted {\n border-color: #009999;\n}\n.jina-highlighted .jina-floater-instructions{\n\tcolor: white;\n\topacity: 1;\n}\n\n.jina-theme-persian .jina-highlighted {\n\tborder-color: #009999;\n}\n.jina-theme-pompelmo .jina-highlighted {\n\tborder-color: #FF6666;\n}\n.jina-theme-honeybee .jina-highlighted {\n\tborder-color: #FFCC66;\n}\n\n.jina-theme-persian input :focus {\n border-color: #d5ac2c;\n}\n\n.jina-search-icon {\n height: 1.25rem;\n position: absolute;\n top: .5rem;\n left: .65rem;\n\t\tpadding-right: .25rem;\n}\n.jina-border-right {\n border-right: 1px solid #009999;\n}\n.jina-floater-instructions {\n text-align: center;\n opacity: .5;\n\tmargin-top: 40%;\n}\n.jina-results-label {\n font-size: .75em;\n text-align: left;\n padding-left: .5em;\n font-family: Comfortaa;\n margin-top: 1em;\n margin-left: .5em;\n\t\topacity: .5;\n\t\tz-index: 1;\n}\n.jina-search-container {\n position: relative;\n}\n.jina-persian {\n border-color: #009999;\n}\n.jina-searchbar-container {\n width: 300px;\n position: relative;\n display: inline-block;\n}\n.jina-expander {\n font-family: Comfortaa;\n background: white;\n position: absolute;\n top: 2.5em;\n width: 100%;\n border-radius: 1.1em;\n padding-top: 0em;\n padding-bottom: 0em;\n text-align: center;\n opacity: 0;\n height: 0px;\n transition: .2s;\n overflow: hidden;\n max-height: 65vh;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);\n display: flex;\n\t\tflex-direction: column;\n\t\tz-index: 2;\n}\n.jina-expander-results-area {\n overflow-x: hidden;\n overflow-y: auto;\n padding-bottom: .5em;\n flex: fill;\n}\n.jina-expander-close {\n cursor: pointer;\n color: white;\n padding-top: .5em;\n padding-bottom: .5em;\n background: #009999;\n}\n.jina-contained {\n width: 100%;\n box-sizing: border-box;\n}\n.jina-floater-label {\n font-family: Comfortaa;\n text-align: center;\n padding-top: 5em;\n padding-right: 2.5em;\n padding-left: 2.5em;\n opacity: 0;\n font-size: 1px;\n transition: .2s;\n text-transform: uppercase;\n letter-spacing: 3px;\n}\n.jina-floater-large .jina-floater-label {\n font-size: 1.25em;\n opacity: 1;\n}\n.jina-expander-label {\n font-family: Comfortaa;\n text-align: center;\n color: white;\n}\n.jina-dropdown-message {\n\t\ttext-align: center;\n font-family: Comfortaa;\n padding-top: 9em;\n padding-bottom: 3em;\n padding-right: .5em;\n padding-left: .5em;\n height: 100%;\n}\n.jina-error {\n background: linear-gradient(to bottom left, #EF8D9C 40%, #FFC39E 100%);;\n}\n.jina-ready {\n background: #eef2f3;\n color: #000;\n}\n.jina-theme-persian .jina-ready{\n\tbackground: linear-gradient(to bottom right, #009999 40%, #32C8CD 100%);\n\tcolor: #fff;\n}\n.jina-theme-pompelmo .jina-ready{\n\tbackground: linear-gradient(to bottom right, #FF6666 40%, #ff8b8b 100%);\n\tcolor: #fff;\n}\n.jina-theme-honeybee .jina-ready{\n\tbackground: linear-gradient(to bottom right, #FFCC66 40%, #ffda8f 100%);\n\tcolor: #fff;\n}\n\n.jina-dropdown-message h4 {\n font-weight: 100;\n letter-spacing: 3px;\n padding-top: 5px;\n padding-bottom: 5px;\n text-transform: uppercase;\n}\n.jina-dropdown-message button {\n\t\tfont-family: Comfortaa;\n\t\tbackground: whitesmoke;\n padding: .5em;\n font-size: 1em;\n padding-left: 1em;\n padding-right: 1em;\n border: none;\n border-radius: 20px;\n cursor: pointer;\n outline: none;\n}\n.jina-face {\n position: absolute;\n width: 4em;\n height: 4em;\n background: white;\n border-radius: 50%;\n top: 4em;\n left: 37.5%;\n z-index: 2;\n animation: jina-animation-bounce 1s ease-in infinite;\n}\n.jina-shadow {\n position: absolute;\n width: 3.75em;\n height: .75em;\n opacity: .5;\n background: #777777;\n left: 7.25em;\n top: 8em;\n border-radius: 50%;\n z-index: 1;\n}\n.jina-scale {\n animation: jina-animation-scale 1s ease-in infinite;\n}\n.jina-move {\n animation: jina-animation-move 3s ease-in-out infinite;\n}\n.jina-roll {\n animation: jina-animation-roll 3s ease-in-out infinite;\n}\n@keyframes jina-animation-scale {\n 50% {\n transform: scale(0.9);\n }\n}\n@keyframes jina-animation-move {\n 0% {\n left: 25%;\n }\n 50% {\n left: 60%;\n }\n 100% {\n left: 25%;\n }\n}\n@keyframes jina-animation-roll {\n 0% {\n transform: rotate(0deg);\n left: 25%;\n }\n 50% {\n left: 60%;\n transform: rotate(168deg);\n }\n 100% {\n transform: rotate(0deg);\n left: 25%;\n }\n}\n@keyframes jina-animation-bounce {\n 50% {\n transform: translateY(-15px);\n }\n}\n.jina-expander-overlay {\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, .5);\n display: none;\n opacity: 0;\n}\n.jina-results-toolbar {\n\t\tpadding-top: .75em;\n padding-right: .5em;\n padding-left: .5em;\n text-align: left;\n\tdisplay: flex;\n\tflex-shrink: 0;\n flex-direction: row;\n\tborder-bottom: 1px solid #cfd8dc;\n}\n.jina-results-tabs {\n overflow-x: auto;\n\t\tflex: 1;\n\t\tdisplay: block;\n}\n.jina-results-tab {\n display: inline-block;\n margin: .15em;\n cursor: pointer;\n border-bottom: 2px solid #cfd8dc;\n}\n.jina-results-tab.jina-active {\n border-bottom-color: #009999;\n}\n.jina-theme-persian .jina-results-tab.jina-active{\n\tborder-bottom-color: #009999;\n}\n.jina-theme-pompelmo .jina-results-tab.jina-active{\n\tborder-bottom-color: #FF6666;\n}\n.jina-theme-honeybee .jina-results-tab.jina-active{\n\tborder-bottom-color: #FFCC66;\n}\n\n.jina-results-tab-img {\n width: 2em;\n height: 2em;\n margin-bottom: .25em;\n border-radius: .25em;\n}\n\n.jina-results-tab-audio{\n\twidth: 2em;\n\theight: 2em;\n border-radius: .25em;\n}\n\n.jina-results-tab-video{\n\twidth: 2em;\n\theight: 2em;\n border-radius: .25em;\n}\n\n.jina-results-action-button {\n\t\tbox-sizing: border-box;\n cursor: pointer;\n width: 1.85em;\n height: 1.85em;\n border-radius: 5px;\n \tpadding: .25em;\n}\n.jina-results-action-button.jina-active {\n background-color: rgba(0, 153, 153, 0.25);\n}\n.jina-theme-persian .jina-results-action-button.jina-active {\n\tbackground-color: rgba(0, 153, 153, 0.25);\n}\n.jina-theme-pompelmo .jina-results-action-button.jina-active {\n\tbackground-color: rgba(255, 102, 102, 0.25);;\n}\n.jina-theme-honeybee .jina-results-action-button.jina-active {\n\tbackground-color: rgba(255, 204, 102, 0.25);\n}\n\n.eye {\n position: absolute;\n width: 5px;\n height: 5px;\n background: #777777;\n border-radius: 50%;\n top: 40%;\n left: 20%;\n}\n.right {\n left: 68%;\n}\n.mouth {\n position: absolute;\n top: 43%;\n left: 41%;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n}\n.happy {\n border: 2px solid;\n border-color: transparent #777777 #777777 transparent;\n transform: rotate(45deg);\n}\n.sad {\n top: 49%;\n border: 2px solid;\n border-color: #777777 transparent transparent #777777;\n transform: rotate(45deg);\n}\n.unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.jina-scrollable{\n\toverflow-y: auto;\n}\n";document.body.appendChild(stylesElement);let defaultPlaceholders=["type or drag anything to search","powered by Jina","unleash your curiosity and happy searching"],defaultSettings={resultsInDropdown:!1,typewriterEffect:!1,typewriterDelayCharacter:50,typewriterDelayItem:1e3,theme:"default",searchIcon:"color",floaterIcon:"color"};class Floater extends HTMLElement{constructor(){super();this.typeWriter=(t,e=0,i=0,n=100,a=1e3)=>{e||(this.searchInput.placeholder="");let s=t[i];if(e<s.length){this.searchInput.placeholder+=s.charAt(e);e++;setTimeout(this.typeWriter,n,t,e,i,n,a)}else if(void 0===t[++i])setTimeout(this.typeWriter,a,t,0,0,n,a);else{e=0;setTimeout(this.typeWriter,a,t,e,i,n,a)}};this.search=async(t=[this.searchInput.value],e=!1)=>{if(!e||t.length>1){this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right")}this.showLoading();await waitFor(2);let i,n=new Date;try{i=await window.JinaBox.search(t,16,e);this.dropped=!1}catch(t){this.dropped=!1;return this.showError(t)}let a=new Date,s=Math.round((a-n)/10)/100,r=[],o=[],M=0,c=!1,l=!1,d=!0,{docs:g}=i.search,{code:j,description:h}=i.status||{};if("ERROR"==j)return this.showError(h);try{for(let t=0;t<g.length;++t){let e=g[t],{topkResults:i,uri:n,mimeType:a}=e;"text/plain"!==e.mimeType&&(c=!0);o.push({uri:n,mimeType:a});for(let e=0;e<i.length;++e){const n=i[e];r[t]||(r[t]=[]);"text/plain"===n.matchDoc.mimeType&&(l=!0);n.matchDoc.mimeType.startsWith("image")||(d=!1);r[t].push({mimeType:n.matchDoc.mimeType,data:n.matchDoc.uri,text:n.matchDoc.text,score:n.score.value});M++}}}catch(t){return this.showError("Could not get results")}for(let t=0;t<r.length;++t)r[t]=r[t].sort((t,e)=>e.score-t.score);this.queries=o;this.results=r;this.resultsMeta={totalTime:s,totalResults:M,resultsContainText:l,queriesContainMedia:c,onlyImages:d};this.showResults(0)};this.showError=(t="could not reach server")=>{this.dropArea.innerHTML=`\n\t\t\t<div class="jina-dropdown-message jina-error unselectable">\n \t\t<div class="jina-face jina-roll"><div class="eye"></div><div class="eye right"></div><div class="mouth sad"></div>\n \t</div>\n \t\t\t<div class="jina-shadow jina-move"></div>\n\t\t\t\t<h4 class="alert">Error!</h4>\n\t\t\t\t<p>${t}</p>\n\t\t\t\t<button id="jina-floater-error-ok">Ok</button>\n\t\t\t</div>\n\t\t`;this.errorButton=document.getElementById("jina-floater-error-ok");this.errorButton.onclick=this.clearDropArea};this.showLoading=()=>{this.dropArea.innerHTML='\n\t\t\t<div class="jina-sea">\n\t\t\t\t<p class="title">Searching</p>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t</div>\n\t\t'};this.clearDropArea=()=>{this.dropArea.classList.remove("jina-scrollable");this.dropArea.innerHTML='\n\t\t\t<input type="file" id="jina-floater-file-input" class="jina-floater-file-input" multiple>\n\t\t\t\t<h3 class="jina-floater-instructions">Drop here to search</h3>\n\t\t\t\t'};this.showResults=(t=this.resultsIndex)=>{this.resultsIndex=t;let e,i="",n=this.results,a=this.queries,{totalResults:s,totalTime:r,onlyImages:o,queriesContainMedia:M}=this.resultsMeta;if(a.length>1||M){e='\n\t\t\t\t<div class="jina-results-toolbar">\n\t\t\t\t\t<div class="jina-results-tabs">';if(M)for(let i=0;i<a.length;++i)e+=this.renderPreviewTab(a[i],i,t===i);o&&(e+=`\n\t\t\t\t\t</div>\n\t\t\t\t\t<img class="jina-results-action-button${"list"===this.resultsView?" jina-active":""}" src="${_icons.listView}" id="jina-toolbar-button-list" draggable="false">\n\t\t\t\t\t<img class="jina-results-action-button${"grid"===this.resultsView?" jina-active":""}" src="${_icons.gridView}" id="jina-toolbar-button-grid" draggable="false">`);e+="</div></div>"}i+=`<p class="jina-results-label">${s} results in ${r} seconds</p>`;for(let e=0;e<n[t].length;++e){let a=n[t][e];a.index=e;i+=this.renderResult(a)}this.dropArea.innerHTML=`\n\t\t\t\t${e||""}\n\t\t\t\t<div class="jina-expander-results-area">\n\t\t\t\t\t${i}\n\t\t\t\t</div>\n\t\t\t\t`;if(e){for(let t=0;t<a.length;++t)document.getElementById("jina-results-tab-"+t).addEventListener("click",()=>this.showResults(t));if(o){document.getElementById("jina-toolbar-button-list").addEventListener("click",()=>this.setResultsView("list"));document.getElementById("jina-toolbar-button-grid").addEventListener("click",()=>this.setResultsView("grid"))}}n[t].map((t,e)=>{document.getElementById("jina-result-"+e).addEventListener("click",()=>{if(t.mimeType.startsWith("text")){this.searchInput.value=t.text;this.search()}else{this.search([t.data],!0);this.searchIcon.src=t.data;this.searchIcon.classList.add("jina-border-right")}})})};this.renderResult=t=>t.mimeType.startsWith("text")?`<div class="jina-result jina-text-result" id="jina-result-${t.index}">${t.text}</div>`:t.mimeType.startsWith("image")?"grid"===this.resultsView?`<div class="jina-grid-container"><div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div></div>`:`<div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div>`:t.mimeType.startsWith("audio")?`<div class="jina-result" id="jina-result-${t.index}"><audio src="${t.data}" class="jina-result-audio" controls></audio></div>`:t.mimeType.startsWith("video")?`<div class="jina-result" id="jina-result-${t.index}"><video src="${t.data}" class="jina-result-video" controls autoplay muted loop></video></div>`:void 0;this.renderPreviewTab=(t,e,i)=>{const{uri:n,mimeType:a}=t;return`\n\t\t\t<div class="jina-results-tab${i?" jina-active":""}" id="jina-results-tab-${e}">\n\t\t\t${a.startsWith("image")?`<div class="jina-results-tab-img" style="background:url(${n});background-size: cover;"></div>`:a.startsWith("video")?`<video class="jina-results-tab-video" src="${n}" autoplay muted loop></video>`:a.startsWith("audio")?`<audio controls class="jina-results-tab-audio" src="${n}"></audio>`:""}\n\t\t\t</div>`};this.setResultsView=t=>{localStorage.setItem("jina-floater-results-view",t);this.resultsView=t;this.showResults()};this.listenForEnter=t=>{13==t.keyCode&&this.search()};this.preventDefaults=t=>{t.preventDefault();t.stopPropagation()};this.handleDrag=()=>{this.dragCounter++;if(this.showBox){this.highlightArea();this.highlightSearch()}else this.showLargeFloater()};this.handleDragLeave=()=>{this.dragCounter--;if(this.dragCounter<1){if(this.showBox){this.unhighlightArea();this.unhighlightSearch()}else this.hideLargeFloater();this.dragCounter=0}};this.handleDrop=async t=>{this.dropped=!0;let e=t.dataTransfer,i=e.getData("URL");this.showBox||this.toggleShow();if(i)if(i.startsWith("data:")){this.search([i],!0);this.searchIcon.src=i;this.searchIcon.classList.add("jina-border-right")}else{let e;try{e=await getDataUri(i)}catch(t){e=i}this.searchIcon.src=e;this.searchIcon.classList.add("jina-border-right");this.search([i],!0)}else{let t=e.files,i=[];for(let e=0;e<t.length;++e){const n=t[e];let a=new FileReader;a.addEventListener("load",()=>{const e=a.result;i.push(e);if(i.length===t.length){this.search(i,!0);if(i.length<2){this.searchIcon.src=i[0];this.searchIcon.classList.add("jina-border-right")}}},!1);a.readAsDataURL(n)}}};this.toggleShow=()=>{this.hideLargeFloater();this.showBox=!this.showBox;if(this.showBox){this.floaterBox.classList.add("jina-floater-box-visible");document.querySelector("#jina-floater-icon img").src=this.closeIcon}else{this.clearDropArea();this.floaterBox.classList.remove("jina-floater-box-visible");document.querySelector("#jina-floater-icon img").src=this.floaterIcon}};this.showLargeFloater=()=>{this.jinaButton.classList.add("jina-floater-large");this.jinaButton.classList.add("jina-ready")};this.hideLargeFloater=()=>{this.jinaButton.classList.remove("jina-floater-large");this.jinaButton.classList.remove("jina-ready")};this.highlightArea=()=>{this.dropArea.classList.add("jina-highlighted");this.dropArea.classList.add("jina-ready")};this.unhighlightArea=()=>{this.dropArea.classList.remove("jina-highlighted");this.dropArea.classList.remove("jina-ready")};this.highlightSearch=()=>{this.searchInput.classList.add("jina-highlighted")};this.unhighlightSearch=()=>{this.searchInput.classList.remove("jina-highlighted")};this.settings={};let t=Object.keys(defaultSettings);for(let e=0;e<t.length;++e){const i=t[e];this.settings[i]=this.getAttribute(i)||defaultSettings[i]}this.getAttribute("floaterIcon")||"default"!==this.settings.theme&&(this.settings.floaterIcon="inverse");"default"!==this.settings.theme?this.closeIcon=_icons.closeLight:this.closeIcon=_icons.closeDark;this.floaterIcon=_icons[this.settings.floaterIcon]||this.settings.floaterIcon;const e=_icons[this.settings.searchIcon]||this.settings.searchIcon;this.originalSearchIcon=e;this.innerHTML=`\n\t\t<div class="jina-floater-container jina-theme-${this.settings.theme}">\n\t\t\t<div class="jina-floater" id="jina-floater-icon">\n\t\t\t\t<img src="${this.floaterIcon}" class="jina-floater-icon"/>\n\t\t\t\t<h4 class="jina-floater-label">Drop here</h4>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jina-floater-box jina-theme-${this.settings.theme}" id="jina-floater-box">\n\t\t\t<div class="jina-floater-search-container">\n\t\t\t\t<div id="jina-floater-background-search-container" class="jina-bg-default">\n\t\t\t\t\t<div class="jina-search-container">\n\t\t\t\t\t\t<img src="${e}" class="jina-search-icon" id="jina-floater-search-icon" onerror="this.src='${this.originalSearchIcon}'"/>\n\t\t\t\t\t\t<input placeholder="type or drop to search" class="jina-search-input jina-contained" id="jina-floater-search-box" autocomplete="off">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="jina-floater-results-container" id="jina-floater-drop-area">\n\t\t\t\t<input type="file" id="jina-floater-file-input" class="jina-floater-file-input" multiple>\n\t\t\t\t<h3 class="jina-floater-instructions">Drop here to search</h3>\n\t\t\t</div>\n\t\t</div>\n\t\t`;this.showBox=!1;this.dragCounter=0;this.jinaButton=document.getElementById("jina-floater-icon");this.dropArea=document.getElementById("jina-floater-drop-area");this.searchInput=document.getElementById("jina-floater-search-box");this.searchBackground=document.getElementById("jina-floater-background-search-container");this.floaterBox=document.getElementById("jina-floater-box");this.searchIcon=document.getElementById("jina-floater-search-icon");this.jinaButton.addEventListener("click",this.toggleShow);["drag","dragenter","dragover","dragleave","dragexit","drop"].forEach(t=>{document.addEventListener(t,this.preventDefaults,!1)});["dragenter"].forEach(t=>{document.addEventListener(t,this.handleDrag,!1)});["dragleave","drop","dragexit"].forEach(t=>{document.addEventListener(t,this.handleDragLeave,!1)});this.dropArea.addEventListener("drop",this.handleDrop,!1);this.jinaButton.addEventListener("drop",this.handleDrop,!1);this.searchInput.addEventListener("drop",this.handleDrop,!1);this.searchInput=document.getElementById("jina-floater-search-box");this.searchInput.addEventListener("keydown",this.listenForEnter);this.searchInput.addEventListener("focus",this.highlightSearch);this.searchInput.addEventListener("blur",this.unhighlightSearch);this.resultsView=localStorage.getItem("jina-floater-results-view")||"list";if(this.settings.typewriterEffect){const t=JSON.parse(this.getAttribute("placeholders"));this.typeWriter(t||defaultPlaceholders,0,0,this.settings.typewriterDelayCharacter,this.settings.typewriterDelayItem)}}}class SearchBar extends HTMLElement{constructor(){super();this.typeWriter=(t,e=0,i=0,n=100,a=1e3)=>{e||(this.searchInput.placeholder="");let s=t[i];if(e<s.length){this.searchInput.placeholder+=s.charAt(e);e++;setTimeout(this.typeWriter,n,t,e,i,n,a)}else if(void 0===t[++i])setTimeout(this.typeWriter,a,t,0,0,n,a);else{e=0;setTimeout(this.typeWriter,a,t,e,i,n,a)}};this.search=async(t=[this.searchInput.value],e=!1)=>{if(!e||t.length>1){this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right")}this.showLoading();let i,n=new Date;try{i=await window.JinaBox.search(t,16,e);this.dropped=!1}catch(t){this.dropped=!1;return this.showError(t)}let a=new Date,s=Math.round((a-n)/10)/100,r=[],o=[],M=0,c=!1,l=!1,d=!0,{docs:g}=i.search,{code:j,description:h}=i.status||{};if("ERROR"==j)return this.showError(h);for(let t=0;t<g.length;++t){let e=g[t],{topkResults:i,uri:n,mimeType:a}=e;"text/plain"!==e.mimeType&&(c=!0);o.push({uri:n,mimeType:a});for(let e=0;e<i.length;++e){const n=i[e];r[t]||(r[t]=[]);"text/plain"===n.matchDoc.mimeType&&(l=!0);n.matchDoc.mimeType.startsWith("image")||(d=!1);r[t].push({mimeType:n.matchDoc.mimeType,data:n.matchDoc.uri,text:n.matchDoc.text,score:n.score.value});M++}}for(let t=0;t<r.length;++t)r[t]=r[t].sort((t,e)=>e.score-t.score);this.queries=o;this.results=r;this.resultsMeta={totalTime:s,totalResults:M,resultsContainText:l,queriesContainMedia:c,onlyImages:d};this.showResults(0)};this.setResultsView=t=>{localStorage.setItem("jina-expander-results-view",t);this.resultsView=t;this.showResults()};this.listenForEnter=t=>{13==t.keyCode&&this.search()};this.preventDefaults=t=>{t.preventDefault();t.stopPropagation()};this.handleDrop=async t=>{this.dropped=!0;let e=t.dataTransfer,i=e.getData("URL");if(i)if(i.startsWith("data:")){this.search([i],!0);this.searchIcon.src=i;this.searchIcon.classList.add("jina-border-right")}else{let e;try{e=await getDataUri(i)}catch(t){e=i}this.searchIcon.src=e;this.searchIcon.classList.add("jina-border-right");this.search([i],!0)}else{let t=e.files,i=[];for(let e=0;e<t.length;++e){const n=t[e];let a=new FileReader;a.addEventListener("load",()=>{const e=a.result;i.push(e);if(i.length===t.length){this.search(i,!0);if(i.length<2){this.searchIcon.src=i[0];this.searchIcon.classList.add("jina-border-right")}}},!1);a.readAsDataURL(n)}}};this.handleDrag=()=>{this.dragCounter++;if(!this.highlighted){this.overlay.style.display="block";this.overlay.style.opacity="1";this.searchInput.classList.add("jina-highlighted");this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML='\n\t\t\t\t<div class="jina-dropdown-message jina-ready unselectable">\n \t\t\t<div class="jina-face"><div class="eye"></div><div class="eye right"></div><div class="mouth happy"></div></div>\n \t\t\t<div class="jina-shadow jina-scale"></div>\n\t\t\t\t\t<h4 class="alert">Drop here</h4>\n\t\t\t\t\t<p>Drop any content here from webpage/local to search</p>\n\t\t\t\t</div>\n\t\t\t\t';this.highlighted=!0}};this.handleDragLeave=()=>{this.dragCounter--;if(this.dragCounter<1){this.searchInput.classList.remove("jina-highlighted");if(!this.dropped){this.overlay.style.display="none";this.overlay.style.opacity="0";this.expander.style.height="0px";this.expander.style.opacity=0;this.clearExpander()}this.dragCounter=0}};this.showLoading=()=>{this.overlay.style.display="block";this.overlay.style.opacity="1";this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML='\n\t\t\t<div class="jina-sea">\n\t\t\t\t<p class="title">Searching</p>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t\t<span class="jina-wave"></span>\n\t\t\t</div>\n\t\t'};this.showError=(t="could not reach server")=>{this.expander.style.height="auto";this.expander.style.opacity=1;this.expander.innerHTML=`\n\t\t\t<div class="jina-dropdown-message jina-error unselectable">\n \t\t<div class="jina-face jina-roll"><div class="eye"></div><div class="eye right"></div><div class="mouth sad"></div>\n \t</div>\n \t\t\t<div class="jina-shadow jina-move"></div>\n\t\t\t\t<h4 class="alert">Error!</h4>\n\t\t\t\t<p>${t}</p>\n\t\t\t\t<button id="jina-searchbar-error-ok">Ok</button>\n\t\t\t</div>\n\t\t`;this.errorButton=document.getElementById("jina-searchbar-error-ok");this.errorButton.onclick=this.clearExpander};this.showResults=(t=this.resultsIndex)=>{this.resultsIndex=t;let e,i="",n=this.results,a=this.queries,{totalResults:s,totalTime:r,onlyImages:o,queriesContainMedia:M}=this.resultsMeta;if(a.length>1||M){e='\n\t\t\t\t<div class="jina-results-toolbar">\n\t\t\t\t\t<div class="jina-results-tabs">';if(M)for(let i=0;i<a.length;++i)e+=this.renderPreviewTab(a[i],i,t===i);o&&(e+=`\n\t\t\t\t\t</div>\n\t\t\t\t\t<img class="jina-results-action-button${"list"===this.resultsView?" jina-active":""}" src="${_icons.listView}" id="jina-toolbar-button-list" draggable="false">\n\t\t\t\t\t<img class="jina-results-action-button${"grid"===this.resultsView?" jina-active":""}" src="${_icons.gridView}" id="jina-toolbar-button-grid" draggable="false">`);e+="</div></div>"}i+=`<p class="jina-results-label">${s} results in ${r} seconds</p>`;for(let e=0;e<n[t].length;++e){let a=n[t][e];a.index=e;i+=this.renderResult(a)}if(this.settings.resultsInDropdown){this.overlay.style.display="block";this.overlay.style.opacity="1";this.expander.style.height="500px";this.expander.style.opacity=1;this.expander.innerHTML=`\n\t\t\t\t${e||""}\n\t\t\t\t<div class="jina-expander-results-area">\n\t\t\t\t\t${i}\n\t\t\t\t</div>\n\t\t\t\t`}else{this.resultsArea=document.getElementById("jina-results-area");this.resultsArea.innerHTML=`\n\t\t\t\t${e||""}\n\t\t\t\t<div class="jina-expander-results-area">\n\t\t\t\t\t${i}\n\t\t\t\t</div>\n\t\t\t\t`;this.clearExpander()}if(e){for(let t=0;t<a.length;++t)document.getElementById("jina-results-tab-"+t).addEventListener("click",()=>this.showResults(t));if(o){document.getElementById("jina-toolbar-button-list").addEventListener("click",()=>this.setResultsView("list"));document.getElementById("jina-toolbar-button-grid").addEventListener("click",()=>this.setResultsView("grid"))}}n[t].map((t,e)=>{document.getElementById("jina-result-"+e).addEventListener("click",()=>{if(t.mimeType.startsWith("text")){this.searchInput.value=t.text;this.search()}else{this.search([t.data],!0);this.searchIcon.src=t.data;this.searchIcon.classList.add("jina-border-right")}})})};this.renderResult=t=>t.mimeType.startsWith("text")?`<div class="jina-result jina-text-result" id="jina-result-${t.index}">${t.text}</div>`:t.mimeType.startsWith("image")?"grid"===this.resultsView?`<div class="jina-grid-container"><div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div></div>`:`<div class="jina-result" id="jina-result-${t.index}"><img src="${t.data}" class="jina-result-image"/></div>`:t.mimeType.startsWith("audio")?`<div class="jina-result" id="jina-result-${t.index}"><audio src="${t.data}" class="jina-result-audio" controls></audio></div>`:t.mimeType.startsWith("video")?`<div class="jina-result" id="jina-result-${t.index}"><video src="${t.data}" class="jina-result-video" controls autoplay muted loop></video></div>`:void 0;this.renderPreviewTab=(t,e,i)=>{const{uri:n,mimeType:a}=t;return`\n\t\t\t<div class="jina-results-tab${i?" jina-active":""}" id="jina-results-tab-${e}">\n\t\t\t${a.startsWith("image")?`<div class="jina-results-tab-img" style="background:url(${n});background-size: cover;"></div>`:a.startsWith("video")?`<video class="jina-results-tab-video" src="${n}" autoplay muted loop></video>`:a.startsWith("audio")?`<audio controls class="jina-results-tab-audio" src="${n}"></audio>`:""}\n\t\t\t</div>`};this.clearExpander=async()=>{this.searchIcon.src=this.originalSearchIcon;this.searchIcon.classList.remove("jina-border-right");this.searchInput.value="";this.overlay.style.display="none";this.overlay.style.opacity="0";this.dragCounter=0;this.searchInput.classList.remove("jina-highlighted");this.expander.style.height="0px";this.expander.style.opacity=0;this.expander.style.transition=".2s";await waitFor(.2);this.expander.innerHTML="";this.highlighted=!1};this.settings={};let t=Object.keys(defaultSettings);for(let e=0;e<t.length;++e){const i=t[e];this.settings[i]=this.getAttribute(i)||defaultSettings[i]}this.originalSearchIcon=_icons[this.settings.searchIcon]||this.settings.searchIcon;this.innerHTML=`\n\t\t<div class="jina-expander-overlay" id="jina-expander-overlay"></div>\n\t\t<div class="jina-searchbar-container jina-theme-${this.settings.theme}">\n\t\t\t<div class="jina-expander" id="jina-search-expander"></div>\n\t\t\t<div id="jina-searchbar-background-container" class="jina-bg-default">\n\t\t\t\t<div class="jina-search-container">\n\t\t\t\t\t<img src="${this.originalSearchIcon}" class="jina-search-icon" id="jina-search-icon" onerror="this.src='${this.originalSearchIcon}'" />\n\t\t\t\t\t<input placeholder="type or drop to search" class="jina-search-input jina-contained" id="jina-search-input" autocomplete="off">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t`;this.overlay=document.getElementById("jina-expander-overlay");this.expander=document.getElementById("jina-search-expander");this.searchInput=document.getElementById("jina-search-input");this.searchIcon=document.getElementById("jina-search-icon");this.dragCounter=0;["drag","dragenter","dragover","dragleave","dragexit","drop"].forEach(t=>{document.addEventListener(t,this.preventDefaults)});["dragenter"].forEach(t=>{document.addEventListener(t,this.handleDrag)});["dragleave","drop","dragexit"].forEach(t=>{document.addEventListener(t,this.handleDragLeave)});this.overlay.addEventListener("click",this.clearExpander);this.searchInput.addEventListener("drop",this.handleDrop);this.expander.addEventListener("drop",this.handleDrop);this.searchInput.addEventListener("keydown",this.listenForEnter);this.resultsView=localStorage.getItem("jina-expander-results-view")||"list";if(this.settings.typewriterEffect){const t=JSON.parse(this.getAttribute("placeholders"));this.typeWriter(t||defaultPlaceholders,0,0,this.settings.typewriterDelayCharacter,this.settings.typewriterDelayItem)}}}class Results extends HTMLElement{constructor(){super();this.handleDrag=()=>{};this.handleDragLeave=()=>{};this.innerHTML='\n\t\t<div class="jina-results-area" id="jina-results-area"></div>\n\t\t';this.dropArea=document.getElementById("jina-search-input");this.dropArea.addEventListener("dragenter",this.handleDrag);this.dropArea.addEventListener("drop",this.handleDrop);this.dropArea.addEventListener("dragleave",this.handleDragLeave)}}window.customElements.define("jina-floater",Floater);window.customElements.define("jina-searchbar",SearchBar);window.customElements.define("jina-results",Results);window.JinaSettings={timeout:5e3,url:!1,top_k:16};window.JinaBox={init:function(t,e){window.JinaSettings={...window.JinaSettings,...e,url:t}},search:async function(t){return new Promise((function(e,i){const{url:n,timeout:a,top_k:s}=window.JinaSettings;var r=new XMLHttpRequest;r.open("POST",n);r.setRequestHeader("Content-Type","application/json");r.onload=()=>{try{const t=JSON.parse(r.responseText);e(t)}catch{i("request failed at "+n)}};r.onerror=function(t){i("request failed at "+n)};r.timeout=a;r.ontimeout=()=>i("Search Timeout");r.send(JSON.stringify({data:t,top_k:parseInt(s),mode:"search"}))}))},updateSettings:function(t){window.JinaSettings={...window.JinaSettings,...t}}};function getDataUri(t){return new Promise((function(e,i){var n=new XMLHttpRequest;n.responseType="arraybuffer";n.open("GET",""+t);n.onload=function(){var t,i,a,s;a=new Uint8Array(n.response);i=[].map.call(a,(function(t){return String.fromCharCode(t)})).join("");t=["data:",(s=n.getResponseHeader("content-type"))?s+";":"","base64,",btoa(i)].join("");e(t)};n.onerror=function(t){i(t)};n.send()}))}function waitFor(t){return new Promise((e,i)=>{setTimeout(()=>e(),1e3*t)})}
{
"name": "jinabox",
"version": "0.1.23",
"version": "0.1.24",
"description": "A lightweight, customizable omnibox. Useful for searching text, images, videos, audios or all other kinds data with a Jina backend.",

@@ -5,0 +5,0 @@ "main": "library/jinabox.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc