1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-12 03:16:16 +01:00
LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/7.1.13/bundle.jsm
2021-11-03 05:47:04 +01:00

1 line
6.7 KiB
JavaScript

!function(){var e,t,n={eZBL:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},"151q":function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},cvGY:function(e){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}},e.exports.default=e.exports,e.exports.__esModule=!0},"/FUz":function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},"Bcl+":function(e,t,n){var r=n("151q"),o=n("cvGY"),i=n("JAfm"),u=n("/FUz");e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},JAfm:function(e,t,n){var r=n("eZBL");e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},Qaxh:function(e,t){"use strict";t.default=function(e){var t=document.createElement("link");t.href=e,t.id="findify-styles",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t)}},oDZl:function(e,t){"use strict";t.default=function(e,t){for(var n,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];(n=console).log.apply(n,["%cFindify: %c".concat(e),"color: #5980B7; font-size: 10px; font-weight: bold;",t].concat(o))}},"6sO2":function(e,t,n){"use strict";var r=n("Bcl+"),o=n.n(r),i=n("Qaxh"),u=n("oDZl");n.g.__FINDIFY_PATH__&&(n.p=n.g.__FINDIFY_PATH__),window.crypto||(window.crypto=window.msCrypto);var a=function(){if(!n.g.__findify_initialized){var e;n.g.__findify_initialized=!0;var t=[Promise.all([n.e(879),n.e(407)]).then(n.bind(n,"9MC2"))];__SENTRY_ENABLED__&&t.push(n.e(897).then(n.bind(n,"ZWPJ"))),t.push(new Promise((function(e){return n.l(__MERCHANT_CONFIG_URL__,e,"config")}))),__MERCHANT_CSS__,__MERCHANT_CSS__?(0,i.default)(__MERCHANT_CSS__):(0,i.default)(n.p+"styles.css"),Promise.all(t).then((function(t){var r=o()(t,3),i=r[0],a=(r[1],r[2]);__SENTRY_ENABLED__&&a&&a.init&&(a.init({dsn:"https://0815ca0746cb49a4abdc89a6d3821eb3@sentry.io/4580512",version:__MERCHANT_VERSION__,environment:__ENVIRONMENT__,whitelistUrls:[n.p,"https://findify-assets-2bveeb6u8ag.netdna-ssl.com"],defaultIntegrations:!1}),a.configureScope((function(e){return e.setExtra("version",__MERCHANT_VERSION__)}))),e=a,i.default({key:__MERCHANT_API_KEY__},a),(0,u.default)("ready","color: #3DBC88"),(0,u.default)("version: ".concat(__MERCHANT_VERSION__))})).catch((function(n){throw e&&e.captureException(n),(0,u.default)("error","color: #D9463F"),(0,u.default)(n.stack),Promise.all(t).then((function(e){var t=o()(e,2),n=t[0],r=t[1];n.default({key:__MERCHANT_API_KEY__},r)})).catch((function(){(0,u.default)("Please contact support team","color: #D9463F")})),n}))}},l=function(){window&&/MSIE|Trident/.test(window.navigator.userAgent)?Promise.all(n.chunks.map(n.e)).then(a):a()};"undefined"==typeof Symbol||"undefined"==typeof Map||"undefined"==typeof Promise?n.l(n.p+"polyfill.js",l,"polyfill"):l()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports&&i.exports.default&&Object.defineProperty(i.exports,"__esModule",{value:!0}),i.exports}o.m=n,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return({407:"initializer",413:"autocomplete",464:"search",864:"recommendation",897:"sentry"}[e]||e)+".js"},o.miniCssF=function(e){},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="@findify/bundle:",o.l=function(n,r,i,u){if(e[n])e[n].push(r);else{var a,l;if(void 0!==i)for(var s=document.getElementsByTagName("script"),f=0;f<s.length;f++){var c=s[f];if(c.getAttribute("src")==n||c.getAttribute("data-webpack")==t+i){a=c;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+i),a.src=n),e[n]=[r];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),l&&document.head.appendChild(a)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o.p="https://cdn.jsdelivr.net/npm/@findify/bundle@__MERCHANT_VERSION_RAW__/dist/",o.chunks=["407","413","464","864","897"],o.frozen=!1,o.invalidate=function(){var e=r;r={Jmof:e.Jmof},o.frozen=!0,e=null},function(){var e={296:0};o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=i);var u=o.p+o.u(t),a=new Error;o.l(u,(function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+u+")",a.name="ChunkLoadError",a.type=i,a.request=u,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,u=n[0],a=n[1],l=n[2],s=0;for(r in a)o.o(a,r)&&("extra"!==u[0]&&o.m[r]&&o.frozen||(o.m[r]=a[r]));for(l&&l(o),t&&t(n);s<u.length;s++)i=u[s],o.o(e,i)&&e[i]&&e[i][0](),e[u[s]]=0},n=self.findifyJsonp=self.findifyJsonp||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();o("6sO2")}();