You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
1 year ago
|
(function(e,t){for(var n in t)e[n]=t[n]})(this,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=104)}({1:function(e,t){var n=["log","error","warn","info","debug"],r=["time","timeEnd","table","dir","group","groupEnd"],o=window.performance;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"[LO]";if(!e)throw new Error("Debug namespace required.");var i=function(n){return"".concat(t,"[").concat(e,"] ").concat(n)},a={createBoilerplate:function(e){a[e]=function(){return a.run.apply(a,[e].concat(Array.prototype.slice.call(arguments)))}},shouldDebug:function(){if(window.localStorage){var t=window.localStorage.getItem("debug");if(t){var n=(t=t.replace(/\s/g,"")).split(",");if(n.indexOf("*")>-1)return!(n.indexOf("!"+e)>-1);if(n.indexOf(e)>-1)return!0}return!1}},run:function(){if(a.shouldDebug()){var t=Array.prototype.slice.call(arguments),r=t.shift();return n.includes(r)&&(t.unshift("color: ".concat("#ff9b38",";")),t.unshift("%c".concat("[LO]","[").concat(e,"]"))),console[r].apply&&console[r].apply(console,t),!0}return!1},mark:function(e){return e=i(e),a.shouldDebug()&&o&&o.mark(e)},measure:function(e,t,n){a.shouldDebug()&&o&&(e=i(e),t=i(t),n=i(n),o.measure(e,t,n),o.clearMarks(t),o.clearMarks(n))}};return n.forEach(a.createBoilerplate),r.forEach(a.createBoilerplate),a}},104:function(e,t,n){e.exports=n(143)},13:function(e,t,n){"use strict";var r=n(1),o=new(n.n(r).a)("External Scripts"),i=(Object({NODE_ENV:"production",LO_APP_ENV:"production"}).LO_CDN_PATH,Object({NODE_ENV:"production",LO_APP_ENV:"production"}).LO_CDN_PATH||"https://tools.luckyorange.com"),a={loaded:{},whitelist:{core:{legacy:"".concat(i,"/core/core.legacy.js"),modern:"".concat(i,"/core/core.js"),module:!1},heatmap:{legacy:"".concat(i,"/heatmaps/bootstrap.js"),module:!1},messenger:{legacy:"".concat(i,"/messenger/bootstrap.js"),module:!1},selector:{legacy:"".concat(i,"/core/selector.js"),module:!1},frame:{legacy:"".concat(i,"/core/frame.js"),module:!1},lo:{legacy:"".concat(i,"/core/lo.legacy.js")}},load:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!a.whitelist[e])throw new Error("Script [".concat(e,"] was not found in whitelist."));if(!a.loaded[e]||t.allowMultiple){var n=a.isModern()&&a.whitelist[e].modern?"modern":"legacy",r=null,i=window.localStorage&&window.localStorage.getItem("lo-debug-url:".concat(e)),c=window.localStorage&&window.localStorage.getItem("lo-debug-disable-script");if(c!==e){i?(o.log("Debug URL found for script [".concat(e,"] in localStorage.")),r=i,!1!==a.whitelist[e].module&&(t.module=!0)):r=a.whitelist[e][n],!1!==t.cacheControl&&(r="".concat(r,"?v=").concat("a13a5e4"));var u=null;t.iframe&&(u=!0!==t.iframe?t.iframe:a.createFrame(e)),a.waitForFrameLoad(u,(function(){var n=document;u&&(n=u.contentDocument),t.root&&(n=window.parent.document);var i=a.createScript(r,{name:e,doc:n,module:t.module});n.head.appendChild(i),o.log("Loading script from ".concat(r," ").concat(u?"in iframe":"")),a.loaded[e]=!0}),10)}else o.warn("Script [".concat(e,"] has been disabled by 'lo-debug-disable-script' in localStorage."))}else o.log("Script [".concat(e,"] has already been loaded."))},loadIntegration:function(e){return a.whitelist[e]={legacy:"".concat(
|