fa23-si/plugin/search/search.js

2 lines
15 KiB
JavaScript
Raw Normal View History

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealSearch=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),o=function(e){try{return!!e()}catch(e){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=function(e){return"object"==typeof e?null!==e:"function"==typeof e},u=r.document,a=c(u)&&c(u.createElement),l=!i&&!o((function(){return 7!=Object.defineProperty((e="div",a?u.createElement(e):{}),"a",{get:function(){return 7}}).a;var e})),f=function(e){if(!c(e))throw TypeError(String(e)+" is not an object");return e},s=function(e,t){if(!c(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!c(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!c(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!c(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},p=Object.defineProperty,d={f:i?p:function(e,t,n){if(f(e),t=s(t,!0),f(n),l)try{return p(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},g=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},h=i?function(e,t,n){return d.f(e,t,g(1,n))}:function(e,t,n){return e[t]=n,e},y=function(e,t){try{h(r,e,t)}catch(n){r[e]=t}return t},v="__core-js_shared__",b=r[v]||y(v,{}),x=t((function(e){(e.exports=function(e,t){return b[e]||(b[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),m={}.hasOwnProperty,E=function(e,t){return m.call(e,t)},S=0,w=Math.random(),R=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++S+w).toString(36)},O=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),T=O&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_=x("wks"),j=r.Symbol,P=T?j:j&&j.withoutSetter||R,I=function(e){return E(_,e)||(O&&E(j,e)?_[e]=j[e]:_[e]=P("Symbol."+e)),_[e]},C={};C[I("toStringTag")]="z";var N="[object z]"===String(C),A=Function.toString;"function"!=typeof b.inspectSource&&(b.inspectSource=function(e){return A.call(e)});var k,$,L,M,U=b.inspectSource,D=r.WeakMap,F="function"==typeof D&&/native code/.test(U(D)),K=x("keys"),z={},B=r.WeakMap;if(F){var W=b.state||(b.state=new B),q=W.get,G=W.has,V=W.set;k=function(e,t){return t.facade=e,V.call(W,e,t),t},$=function(e){return q.call(W,e)||{}},L=function(e){return G.call(W,e)}}else{var Y=K[M="state"]||(K[M]=R(M));z[Y]=!0,k=function(e,t){return t.facade=e,h(e,Y,t),t},$=function(e){return E(e,Y)?e[Y]:{}},L=function(e){return E(e,Y)}}var X={set:k,get:$,has:L,enforce:function(e){return L(e)?$(e):k(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=$(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},H=t((function(e){var t=X.get,n=X.enforce,o=String(String).split("String");(e.exports=function(e,t,i,c){var u,a=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof t||E(i,"name")||h(i,"name",t),(u=n(i)).source||(u.source=o.join("string"==typeof t?t:""))),e!==r?(a?!f&&e[t]&&(l=!0):delete e[t],l?e[t]=i:h(e,t,i)):l?e[t]=i:y(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),J={}.toString,Q=function(e){return J.call(e).slice(8,-1)},Z=I("toStringTag"),ee="Arguments"==Q(function(){return