LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/6.9.15/vendors~initializer.jsm

2 lines
17 KiB
JavaScript

(window.findifyJsonp=window.findifyJsonp||[]).push([[3],{"0vIE":function(t,n,e){"use strict";function o(t){return"/"===t.charAt(0)}function r(t,n){for(var e=n,o=e+1,r=t.length;o<r;e+=1,o+=1)t[e]=t[o];t.pop()}e.r(n),n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=t&&t.split("/")||[],i=n&&n.split("/")||[],a=t&&o(t),u=n&&o(n),s=a||u;if(t&&o(t)?i=e:e.length&&(i.pop(),i=i.concat(e)),!i.length)return"/";var c=void 0;if(i.length){var f=i[i.length-1];c="."===f||".."===f||""===f}else c=!1;for(var p=0,l=i.length;l>=0;l--){var h=i[l];"."===h?r(i,l):".."===h?(r(i,l),p++):p&&(r(i,l),p--)}if(!s)for(;p--;p)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var d=i.join("/");return c&&"/"!==d.substr(-1)&&(d+="/"),d}},"2FVa":function(t,n,e){var o=e("72Lq");t.exports=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=o&&void 0===n?"__lodash_hash_undefined__":n,this}},"3b4b":function(t,n,e){var o=e("u1+z");t.exports=function(t){if("string"==typeof t||o(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},"4qYs":function(t,n,e){var o,r=e("5OKZ"),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";t.exports=function(t){return!!i&&i in t}},"5OKZ":function(t,n,e){var o=e("hE5e")["__core-js_shared__"];t.exports=o},"6fDi":function(t,n,e){var o=e("BEGA");t.exports=function(t){return o(this,t).has(t)}},"72Lq":function(t,n,e){var o=e("QG9H")(Object,"create");t.exports=o},"75F+":function(t,n,e){"use strict";n.__esModule=!0,n.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},n.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t};var o=n.hasBasename=function(t,n){return new RegExp("^"+n+"(\\/|\\?|#|$)","i").test(t)};n.stripBasename=function(t,n){return o(t,n)?t.substr(n.length):t},n.stripTrailingSlash=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},n.parsePath=function(t){var n=t||"/",e="",o="",r=n.indexOf("#");-1!==r&&(o=n.substr(r),n=n.substr(0,r));var i=n.indexOf("?");return-1!==i&&(e=n.substr(i),n=n.substr(0,i)),{pathname:n,search:"?"===e?"":e,hash:"#"===o?"":o}},n.createPath=function(t){var n=t.pathname,e=t.search,o=t.hash,r=n||"/";return e&&"?"!==e&&(r+="?"===e.charAt(0)?e:"?"+e),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r}},"75ju":function(t,n,e){var o=e("DgOe");t.exports=function(t){var n=this.__data__,e=o(n,t);return e<0?void 0:n[e][1]}},AO1H:function(t,n,e){"use strict";e.r(n);var o=function(t,n,e,o){return(t/=o/2)<1?e/2*t*t+n:-e/2*(--t*(t-2)-1)+n},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){var t=void 0,n=void 0,e=void 0,i=void 0,a=void 0,u=void 0,s=void 0,c=void 0,f=void 0,p=void 0,l=void 0,h=void 0;function d(t){return t.getBoundingClientRect().top+n}function v(e){f||(f=e),l=a(p=e-f,n,s,c),window.scrollTo(0,l),p<c?window.requestAnimationFrame(v):(window.scrollTo(0,n+s),t&&u&&(t.setAttribute("tabindex","-1"),t.focus()),"function"==typeof h&&h(),f=!1)}return function(f){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(c=p.duration||1e3,i=p.offset||0,h=p.callback,a=p.easing||o,u=p.a11y||!1,n=window.scrollY||window.pageYOffset,void 0===f?"undefined":r(f)){case"number":t=void 0,u=!1,e=n+f;break;case"object":e=d(t=f);break;case"string":t=document.querySelector(f),e=d(t)}switch(s=e-n+i,r(p.duration)){case"number":c=p.duration;break;case"function":c=p.duration(s)}window.requestAnimationFrame(v)}}();n.default=i},AVEa:function(t,n,e){var o=e("QG9H")(e("hE5e"),"Map");t.exports=o},BEGA:function(t,n,e){var o=e("ZXwq");t.exports=function(t,n){var e=t.__data__;return o(n)?e["string"==typeof n?"string":"hash"]:e.map}},CVoo:function(t,n,e){"use strict";e.r(n);var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.default=function t(n,e){if(n===e)return!0;if(null==n||null==e)return!1;if(Array.isArray(n))return Array.isArray(e)&&n.length===e.length&&n.every(function(n,o){return t(n,e[o])});var r=void 0===n?"undefined":o(n);if(r!==(void 0===e?"undefined":o(e)))return!1;if("object"===r){var i=n.valueOf(),a=e.valueOf();if(i!==n||a!==e)return t(i,a);var u=Object.keys(n),s=Object.keys(e);return u.length===s.length&&u.every(function(o){return t(n[o],e[o])})}return!1}},CojF:function(t,n,e){var o=e("BEGA");t.exports=function(t,n){var e=o(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}},DgOe:function(t,n,e){var o=e("ibEE");t.exports=function(t,n){for(var e=t.length;e--;)if(o(t[e][0],n))return e;return-1}},FkFa:function(t,n,e){var o=e("eSMZ"),r=e("bTPm"),i=e("75ju"),a=e("vYS6"),u=e("OaSm");function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var o=t[n];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},"IF/i":function(t,n,e){var o=e("Pj/d"),r=e("u1+z"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(o(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!r(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},KQle:function(t,n,e){e("DQrB").polyfill()},OaSm:function(t,n,e){var o=e("DgOe");t.exports=function(t,n){var e=this.__data__,r=o(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}},PhMZ:function(t,n,e){var o=e("roI0"),r=e("S3NW"),i=e("oJKN"),a=e("6fDi"),u=e("CojF");function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var o=t[n];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},Q3WY:function(t,n,e){var o=e("+2LJ"),r=e("4qYs"),i=e("GRPs"),a=e("V6Wn"),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,p=c.hasOwnProperty,l=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||r(t))&&(o(t)?l:u).test(a(t))}},QG9H:function(t,n,e){var o=e("Q3WY"),r=e("V4+K");t.exports=function(t,n){var e=r(t,n);return o(e)?e:void 0}},QpDA:function(t,n,e){"use strict";n.__esModule=!0;var o,r=(o=e("bVGC"))&&o.__esModule?o:{default:o};n.default=function(){var t=null,n=[];return{setPrompt:function(n){return(0,r.default)(null==t,"A history supports only one prompt at a time"),t=n,function(){t===n&&(t=null)}},confirmTransitionTo:function(n,e,o,i){if(null!=t){var a="function"==typeof t?t(n,e):t;"string"==typeof a?"function"==typeof o?o(a,i):((0,r.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},appendListener:function(t){var e=!0,o=function(){e&&t.apply(void 0,arguments)};return n.push(o),function(){e=!1,n=n.filter(function(t){return t!==o})}},notifyListeners:function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];n.forEach(function(t){return t.apply(void 0,e)})}}}},S3NW:function(t,n,e){var o=e("BEGA");t.exports=function(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}},TSCZ:function(t,n,e){var o=e("PhMZ"),r="Expected a function";function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(r);var e=function(){var o=arguments,r=n?n.apply(this,o):o[0],i=e.cache;if(i.has(r))return i.get(r);var a=t.apply(this,o);return e.cache=i.set(r,a)||i,a};return e.cache=new(i.Cache||o),e}i.Cache=o,t.exports=i},"V4+K":function(t,n){t.exports=function(t,n){return null==t?void 0:t[n]}},V6Wn:function(t,n){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},Wsaz:function(t,n,e){"use strict";n.__esModule=!0,n.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),n.addEventListener=function(t,n,e){return t.addEventListener?t.addEventListener(n,e,!1):t.attachEvent("on"+n,e)},n.removeEventListener=function(t,n,e){return t.removeEventListener?t.removeEventListener(n,e,!1):t.detachEvent("on"+n,e)},n.getConfirmation=function(t,n){return n(window.confirm(t))},n.supportsHistory=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},n.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},n.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},n.isExtraneousPopstateEvent=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},XiCH:function(t,n,e){var o=e("72Lq");t.exports=function(){this.__data__=o?o(null):{},this.size=0}},ZXwq:function(t,n){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},bTPm:function(t,n,e){var o=e("DgOe"),r=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=o(n,t);return!(e<0||(e==n.length-1?n.pop():r.call(n,e,1),--this.size,0))}},bVGC:function(t,n,e){"use strict";t.exports=function(){}},eSMZ:function(t,n){t.exports=function(){this.__data__=[],this.size=0}},eZ91:function(t,n,e){var o=e("72Lq"),r=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(o){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return r.call(n,t)?n[t]:void 0}},ei2i:function(t,n,e){"use strict";n.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},i=p(e("bVGC")),a=p(e("f7gw")),u=e("qSJn"),s=e("75F+"),c=p(e("QpDA")),f=e("Wsaz");function p(t){return t&&t.__esModule?t:{default:t}}var l=function(){try{return window.history.state||{}}catch(t){return{}}};n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(f.canUseDOM,"Browser history needs a DOM");var n=window.history,e=(0,f.supportsHistory)(),p=!(0,f.supportsPopStateOnHashChange)(),h=t.forceRefresh,d=void 0!==h&&h,v=t.getUserConfirmation,y=void 0===v?f.getConfirmation:v,m=t.keyLength,g=void 0===m?6:m,w=t.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(t.basename)):"",b=function(t){var n=t||{},e=n.key,o=n.state,r=window.location,a=r.pathname+r.search+r.hash;return(0,i.default)(!w||(0,s.hasBasename)(a,w),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+w+'".'),w&&(a=(0,s.stripBasename)(a,w)),(0,u.createLocation)(a,o,e)},_=function(){return Math.random().toString(36).substr(2,g)},x=(0,c.default)(),O=function(t){r(H,t),H.length=n.length,x.notifyListeners(H.location,H.action)},E=function(t){(0,f.isExtraneousPopstateEvent)(t)||L(b(t.state))},S=function(){L(b(l()))},A=!1,L=function(t){A?(A=!1,O()):x.confirmTransitionTo(t,"POP",y,function(n){n?O({action:"POP",location:t}):P(t)})},P=function(t){var n=H.location,e=j.indexOf(n.key);-1===e&&(e=0);var o=j.indexOf(t.key);-1===o&&(o=0);var r=e-o;r&&(A=!0,T(r))},k=b(l()),j=[k.key],C=function(t){return w+(0,s.createPath)(t)},T=function(t){n.go(t)},M=0,F=function(t){1===(M+=t)?((0,f.addEventListener)(window,"popstate",E),p&&(0,f.addEventListener)(window,"hashchange",S)):0===M&&((0,f.removeEventListener)(window,"popstate",E),p&&(0,f.removeEventListener)(window,"hashchange",S))},q=!1,H={length:n.length,action:"POP",location:k,createHref:C,push:function(t,r){(0,i.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var a=(0,u.createLocation)(t,r,_(),H.location);x.confirmTransitionTo(a,"PUSH",y,function(t){if(t){var o=C(a),r=a.key,u=a.state;if(e)if(n.pushState({key:r,state:u},null,o),d)window.location.href=o;else{var s=j.indexOf(H.location.key),c=j.slice(0,-1===s?0:s+1);c.push(a.key),j=c,O({action:"PUSH",location:a})}else(0,i.default)(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o}})},replace:function(t,r){(0,i.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var a=(0,u.createLocation)(t,r,_(),H.location);x.confirmTransitionTo(a,"REPLACE",y,function(t){if(t){var o=C(a),r=a.key,u=a.state;if(e)if(n.replaceState({key:r,state:u},null,o),d)window.location.replace(o);else{var s=j.indexOf(H.location.key);-1!==s&&(j[s]=a.key),O({action:"REPLACE",location:a})}else(0,i.default)(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)}})},go:T,goBack:function(){return T(-1)},goForward:function(){return T(1)},block:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=x.setPrompt(t);return q||(F(1),q=!0),function(){return q&&(q=!1,F(-1)),n()}},listen:function(t){var n=x.appendListener(t);return F(1),function(){F(-1),n()}}};return H}},fF9q:function(t,n,e){"use strict";e.r(n);var o=e("EcSR"),r=e.n(o),i=e("lW+r"),a=e.n(i);n.default=function(){if(!(document.documentElement.dataset||a()(HTMLElement.prototype,"dataset")&&a()(HTMLElement.prototype,"dataset").get)){var t={enumerable:!0,get:function(){var n={},e=this.attributes;function o(t){return t.charAt(1).toUpperCase()}function i(){return this.value}function a(t,n){void 0!==n?this.setAttribute(t,n):this.removeAttribute(t)}for(var u=0;u<e.length;u+=1){var s=e[u];if(s&&s.name&&/^data-\w[\w-]*$/.test(s.name)){var c=s.name,f=s.value,p=c.substr(5).replace(/-./g,o);r()(n,p,{enumerable:t.enumerable,get:i.bind({value:f||""}),set:a.bind(this,c)})}}return n}};Object.defineProperty(HTMLElement.prototype,"dataset",t)}}},kTJd:function(t,n,e){var o=e("XiCH"),r=e("wYX8"),i=e("eZ91"),a=e("wD9p"),u=e("2FVa");function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var o=t[n];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},l84h:function(t,n,e){var o=e("TSCZ");t.exports=function(t){var n=o(t,function(t){return 500===e.size&&e.clear(),t}),e=n.cache;return n}},"lL/J":function(t,n,e){var o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,i=e("l84h")(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,function(t,e,o,i){n.push(o?i.replace(r,"$1"):e||t)}),n});t.exports=i},oJKN:function(t,n,e){var o=e("BEGA");t.exports=function(t){return o(this,t).get(t)}},p0qE:function(t,n,e){var o=e("Pj/d"),r=e("IF/i"),i=e("lL/J"),a=e("fGZ3");t.exports=function(t,n){return o(t)?t:r(t,n)?[t]:i(a(t))}},qSJn:function(t,n,e){"use strict";n.__esModule=!0,n.locationsAreEqual=n.createLocation=void 0;var o=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},r=u(e("0vIE")),i=u(e("CVoo")),a=e("75F+");function u(t){return t&&t.__esModule?t:{default:t}}n.createLocation=function(t,n,e,i){var u=void 0;"string"==typeof t?(u=(0,a.parsePath)(t)).state=n:(void 0===(u=o({},t)).pathname&&(u.pathname=""),u.search?"?"!==u.search.charAt(0)&&(u.search="?"+u.search):u.search="",u.hash?"#"!==u.hash.charAt(0)&&(u.hash="#"+u.hash):u.hash="",void 0!==n&&void 0===u.state&&(u.state=n));try{u.pathname=decodeURI(u.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+u.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return e&&(u.key=e),i?u.pathname?"/"!==u.pathname.charAt(0)&&(u.pathname=(0,r.default)(u.pathname,i.pathname)):u.pathname=i.pathname:u.pathname||(u.pathname="/"),u},n.locationsAreEqual=function(t,n){return t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash&&t.key===n.key&&(0,i.default)(t.state,n.state)}},roI0:function(t,n,e){var o=e("kTJd"),r=e("FkFa"),i=e("AVEa");t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},"sK+k":function(t,n,e){var o=e("p0qE"),r=e("3b4b");t.exports=function(t,n){for(var e=0,i=(n=o(n,t)).length;null!=t&&e<i;)t=t[r(n[e++])];return e&&e==i?t:void 0}},vYS6:function(t,n,e){var o=e("DgOe");t.exports=function(t){return o(this.__data__,t)>-1}},wD9p:function(t,n,e){var o=e("72Lq"),r=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return o?void 0!==n[t]:r.call(n,t)}},wYX8:function(t,n){t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},xKMM:function(t,n,e){var o=e("sK+k");t.exports=function(t,n,e){var r=null==t?void 0:o(t,n);return void 0===r?e:r}}}]);
//# sourceMappingURL=vendors~initializer.js.map