PageSourceSearch

https://www.toyota.pt/var/dxp/scripts/requirees.js

js toyota.pt collected 2026-09-24 21:25:41 UTC 27,069 bytes, 1 lines download raw bytes

1!function(){"use strict";const e="undefined"!=typeof self?self:global,t={reIsAbsoluteUrl:/^(https?:)?\/\//i,reProtocolAndHost:/^(https?:)?\/\/.+?\//i,reComments:/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,reCjsRequireCalls:/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,reExtension:/\.(\w{2,4})(\?.*)?$/i,reVersionNumber:/^\s*([*<>^~])?(\d+)\.(\d+)(\.\d+)?(\.\d+)?(\-[\w\d]*)?(\-default)?\s*$/,reFindVersionNumber:/\s*@?(([*<>^~]?\d+\.\d+(\.\d+)?(\.\d+)?(\-[\w\d]*)?(\-default)?)|default)\s*/,reVersionNumberAtEnd:/\s*@?(([*<>^~]?\d+\.\d+(\.\d+)?(\.\d+)?(\-[\w\d]*)?(\-default)?)|default)\s*$/,reToleranceCharacters:/^[\^~*]/,reRelativePath:/\.\.?\//g,reVersionSplitters:/[.-]/,reUrlWithoutProtocolNorSpecialCharacters:/(https?:)|[\._:\?&=]/g,registryElementAttributeKeys:["version","url","urls","name","sort","versions","type","factory","dependencies"],versionFormat:["major","minor","patch","build","rc"],returnDefaultOnVersionStr:["default","anonymous"],toleranceFormat:["*","^","~"],events:{ns:"requirees.",pre:"pre-",register:"register",define:"define",loadFile:"file-load",wireTapEventName:"requirees.wiretaps",resolve:{regexp:/^([\w\.]*)(\[([0-9]*)\])?$/,fnName:1,fnIndex:3}}};function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?n(Object(s),!0).forEach(function(t){r(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function i(e){const r={};for(let t=0;t<e.length;t++){const n=e[t];"string"!=typeof n||r.name?n instanceof Array&&!r.dependencies?r.dependencies=o(n):r.factory=n:r.name=n}return r.dependencies instanceof Array||(r.dependencies=[],"function"==typeof r.factory&&function(e){e.factory.toString().replace(t.reComments,"").replace(t.reCjsRequireCalls,(t,r)=>e.dependencies.push(r))}(r)),r}function o(e){return e.map(e=>"."===e.charAt(0)?function(e){const r=["css","js","html","htm","json","tag","txt","wasm","xml"],n=e.match(t.reExtension);if(r.indexOf(null==n?void 0:n[1])>-1){const t=function(){var e;const t=null===(e=document.currentScript)||void 0===e?void 0:e.src;if(t)return t;{var r;const e=document.getElementsByTagName("script");return null===(r=e[e.length-1])||void 0===r?void 0:r.src}}();return new URL(e,t).href}return e.replace(/^\.\//,"")}(e):e)}function a(){if(document.currentScript)return document.currentScript;{const e=document.head.getElementsByTagName("script");return e[e.length-1]}}var c={waitForDefine:function(e){return new Promise((t,r)=>{e.confirmDefine=t,e.rejectDefine=r})},confirmDefine:function({factory:e,dependencies:r}){const n=a()||{};return function(e){return"function"==typeof e.confirmDefine&&function(e){var r;const n=e.src,s=null===(r=e.versiontype)||void 0===r?void 0:r.urls;if(s instanceof Array)for(let e=0;e<s.length;e++){const r=s[e].replace(t.reRelativePath,"");if(n.indexOf(r)>-1)return!0}return!1}(e)}
1(n)?(n.versiontype.dependencies=r,n.confirmDefine(e),n.confirmDefine=null,{currentTag:n,success:!0}):{currentTag:n,success:!1}},cancelDefine:function(e,t){t?"function"==typeof e.rejectDefine&&e.rejectDefine():"function"==typeof e.confirmDefine&&e.confirmDefine(e)},getCurrentVersion:function(){return a().version}};class l{constructor(e){const t=typeof e;if("string"===t)this.parse(e);else if("object"===t&&null!==e){const{tolerance:t,minor:r,major:n,patch:s,build:i,rc:o,isdefault:a,str:c}=e;this.tolerance=t,this.minor=r,this.major=n,this.patch=s,this.build=i,this.rc=o,this._isdefault=a,this._str=c}}parse(e){this._str=e.replace("-default",""),"*"===this._str&&(this.tolerance="*");const r=e.match(t.reVersionNumber);if(e.indexOf("default")>-1&&(this._isdefault=!0),r&&8===r.length){const e=r.indexOf("-default");e>-1&&r.splice(e,1),"string"==typeof r[1]&&(this.tolerance=r[1]),this.major=l.toNumber(r[2]),this.minor=l.toNumber(r[3]),"string"==typeof r[4]&&(this.patch=l.toNumber(r[4].substr(1))),"string"==typeof r[5]&&(this.build=l.toNumber(r[5].substr(1))),"string"==typeof r[6]&&(this.rc=l.toNumber(r[6].substr(1)))}}static toNumber(e){const t=Number(e);return isNaN(t)?e:t}get default(){return this._isdefault||!1}get str(){if(this._str)return this._str;if(void 0===this.major)return"anonymous";{const e=this.tolerance||"",t=void 0!==this.patch?`.${this.patch}`:"",r=void 0!==this.build?`.${this.build}`:"",n=void 0!==this.rc?`-${this.rc}`:"";return`${e}${this.major}.${this.minor}${t}${r}${n}`}}}class u{constructor(e){this.files=[],this._splitEachArgumentIntoSingleFiles(e)}_splitEachArgumentIntoSingleFiles(e){for(let t=0;t<e.length;t++){const r=e[t],n=typeof r;"string"===n?this._addFile(r):r instanceof Array?this._splitArrayIntoSingleFiles(r):"object"===n&&this._splitObjectIntoSingleFiles(r)}}_splitArrayIntoSingleFiles(e){e.forEach(e=>{"string"==typeof e?this._addFile(e):"object"==typeof e&&null!==e&&this._splitObjectIntoSingleFiles(e)})}_splitObjectIntoSingleFiles(e){Object.keys(e).forEach(t=>{const r=e[t],n=typeof e[t];"string"===n?this._addFile(t,r):r instanceof Array?r.forEach(e=>{const r=typeof e;"string"===r?this._addFile(t,e):"object"===r&&this._splitPackageConfigObjectIntoFiles(t,e)}):"object"===n&&this._splitPackageConfigObjectIntoFiles(t,r)})}_splitPackageConfigObjectIntoFiles(e,t){let{version:r,versions:n,url:i,urls:o,type:a,dependencies:c,factory:l,preventReregistration:u,dependencyOverrides:d}=t;n instanceof Array&&n.length>0?n.forEach(r=>this._splitPackageConfigObjectIntoFiles(e,s(s({},t),{},{version:r,versions:null}))):o instanceof Array?o.forEach(r=>this._splitPackageConfigObjectIntoFiles(e,s(s({},t),{},{url:r,urls:null}))):this._addFile(e,i,r,a,c,l,u,d)}_addFile(e,r,n,s,i,o,a,c){if(e){void 0===r&&(r=e.replace(t.reVersionNumberAtEnd,""));const d=(s=s||u.guessType(e)||u.guessType(r))?new RegExp(`^${s}!`):"",h=s?new RegExp(`^${s}!|\\.${s}$`,"g"):"";(n=n||this._getVersionInfo(e,r))instanceof l||(n=new l(n)),this.files.push({name:e.replace(t.reFindVersionNumber,"").replace(h,"").replace(t.reUrlWithoutProtocolNorSpecialCharacters,""),url:"string"==typeof r&&r.replace(d,""),version:n,type:s,dependencies:i,factory:o,preventReregistration:a,dependencyOverrides:c})}}_getVersionInfo(e,t){const r=u.getVersionString(e);if(null===r||"default"===r){const e=u.getVersionString(t);return"default"===r?e?`${e}-default`:"default":e}return r}static getVersionString(e){if(e){const r=e.match(t.reFindVersionNumber);return r&&7===r.length?r[1]:null}}static guessType(e){if(e){const r=(e=e.replace(t.reFindVersionNumber,"")).indexOf("!");if(r>-1)return e.substr(0,r);{const r=t.reExtension.exec(e);if(r&&3===r.length)return r[1]}}}}class d{constructor(e,t){this.parent=t,this.major=e.version.major,this.minor=e.version.minor,this.patch=e.version.patch,this.build=e.version.build,this.rc=e.version.rc,this.str=e.version.str||this._getVersionStr(),this.filetypes={}}addFileType(e){const t=this,r=t.str;if(!e.url&&e.urls instanceof Array&&(e.url=e.urls[0]),!(e.url&&e.url.indexOf("${")>-1))return this._processFileType(e);try{return this._processFileType(s(s({},e),{},{url:new Function(["version","obj"],"return `"+e.url+"`")(r,t)}))}catch(e){console.warn("Error parsing registry URL",e)}}loadFileType(t){if(this.filetypes[t])return e.requirees.loaders.loadTypeFromVersion(this,t);console.warn(`RequireEs: There is no ${t}-file present in package ${this.parent.name} (version ${this.str})`)}isSpecified(e){const t=(null==e?void 0:e.type)||e;if("string"==typeof t){const e=this.filetypes[t];return(null==e?void 0:e.hasOwnProperty("exports"))||!1}{const e=Object.keys(this.filetypes);for(let t=0;e.length>t;t++)if(!1===this.filetypes[e[t]].hasOwnProperty("exports"))return!1;return!0}}undef(e){const t=(null==e?void 0:e.type)||e;"string"==typeof t?delete this.filetypes[t]:Object.keys(this.filetypes).forEac
1h(e=>delete this.filetypes[e])}shim(t,r){if("object"!=typeof r)return;const n=this.getFile(t);n&&(r.deps instanceof Array&&this._addDependencies(n,r.deps,"PreLoad"),"string"==typeof r.exports&&(n.postFactory=()=>e[r.exports]),"function"==typeof r.exports&&(n.postFactory=r.exports))}addDependencies(e,t,r){if("object"!=typeof t)return;const n=this.getFile(e);this._addDependencies(n,t,r?"PreLoad":"Extra")}getFile(e){let t=(null==e?void 0:e.type)||e;return"string"!=typeof t&&(t="js"),this.filetypes[t]}_addDependencies(e,t,r){const n=`dependencies${r}`;e[n]instanceof Array||(e[n]=[]),t instanceof Array&&t.forEach(t=>{"string"==typeof t&&-1===e[n].indexOf(t)&&e[n].push(t)})}_processFileType(e){e.type=e.type||u.guessType(e.url)||"js","object"!=typeof this.filetypes[e.type]&&(this.filetypes[e.type]={urls:[]});const t=this.filetypes[e.type];return e.dependencyOverrides&&this._addDependencyOverrides(t,e.dependencyOverrides),void 0!==e.factory&&this._setFactory(e.factory,t),e.dependencies instanceof Array&&(t.dependencies=e.dependencies),"string"==typeof e.url&&-1===t.urls.indexOf(e.url)&&t.urls.unshift(e.url),t}_addDependencyOverrides(e,t){"object"==typeof t&&("object"!=typeof e.dependencyOverrides&&(e.dependencyOverrides={}),Object.assign(e.dependencyOverrides,t))}_setFactory(e,t){this._canBeDefined(t)?(delete t.dfr,delete t.exports,t.factory=e):console.warn(`RequireEs - Computer says no: package ${this.parent.name} - ${this.str} is already defined... Redefining this package is not allowed!`)}_getRequireEsConfigOptions(){var e;return null===(e=this.parent)||void 0===e||null===(e=e.parent)||void 0===e||null===(e=e.parent)||void 0===e?void 0:e.options}_canBeDefined(e){if(e.hasOwnProperty("exports")){return this._getRequireEsConfigOptions().allowRedefine||!1}return!0}_getVersionStr(){return this.str=t.versionFormat.map(e=>"rc"!==e&&this[e]).filter(e=>"number"==typeof e||"string"==typeof e).join("."),void 0!==this.rc&&null!==this.rc&&""!==this.rc&&(this.str+=`${"string"==typeof this.rc?"-":"."}${this.rc}`),this.str}test(e){const r=e.tolerance;if("*"===r)return!0;if("^"===r)return this.major===e.major;if("~"===r)return this.major===e.major&&this.minor===e.minor;for(let n=0;n<t.versionFormat.length;
1n++){const s=t.versionFormat[n];if(!r&&(this[s]||0)!==(e[s]||0))return!1}return Boolean(!r)}toJson(){const e={filetypes:this.filetypes,major:this.major,minor:this.minor,str:this.str};return void 0!==this.patch&&(e.patch=this.patch),void 0!==this.build&&(e.build=this.build),void 0!==this.rc&&(e.rc=this.rc),e}}class h{constructor(e,t){this.parent=t,this.versions=[],this.isDirty=!1,this.name=e.name}find(e){return this.versions.filter(t=>t.test(e))}findOne(e){for(let t of this.versions)if(t instanceof d&&t.test(e))return t;return null}remove(e){return e instanceof Array||(e=[e]),this.versions=this.versions.filter(t=>-1===e.indexOf(t)),this}length(){return this.versions.length}add(e){e.version&&void 0!==e.version.tolerance&&delete e.version.tolerance;let t=this.findOne(e.version);return t instanceof d||(t=new d(e,this),this.versions.push(t),this.isDirty=!0,("boolean"!=typeof e.sort||e.sort)&&this.sort(e)),t.addFileType(e),e.version.default&&(this.default=t),t}sort(e){return this.isDirty&&(this.versions=this.versions.sort((e,r)=>{for(let n=0;n<t.versionFormat.length;
1n++){const s=t.versionFormat[n];if(e[s]!==r[s])return e[s]<r[s]?1:-1}})),this.isDirty=!1,this}toJson(){return this.versions.map(e=>e.toJson())}}class f{constructor(e,t){this.parent=t,this.options=e,this.packages={}}add(){const{files:e}=new u(arguments);return e instanceof Array&&e.forEach(e=>{this._allowRegister(e)&&(this._publish(`${t.events.ns}${t.events.pre}${t.events.register}`,{file:e}),this.packages[e.name]||(this.packages[e.name]=new h(e,this)),this.packages[e.name].add(e),this._publish(`${t.events.ns}${t.events.register}`,{package:this.packages[e.name],file:e}))}),this.sort(),this}_allowRegister(e){return!e.preventReregistration||void 0===this.packages[e.name]}_publish(e,t){var r;null===(r=this.parent)||void 0===r||null===(r=r.events)||void 0===r||r.publish(e,t)}sort(){Object.keys(this.packages).forEach(e=>this.packages[e].sort())}remove(){const e=new u(arguments),t=this.find(e);return t&&(t.pckg.length()===t.versions.length?delete this.packages[t.pckg.name]:t.pckg.delete(t.versions)),this}find(){const{files:e}=new u(arguments);return e instanceof Array?this._find(e[0],!1):[]}findOne(){const{files:e}=new u(arguments);return e instanceof Array?this._find(e[0],!0):null}_find(e,r){const n=this.packages[e.name];if(n){let s;const i={pckg:n,attrs:e};if(t.returnDefaultOnVersionStr.indexOf(e.version.str)>-1&&n.default)s=r?n.default:[n.default];else{const t=e.version&&void 0!==e.version.major?e.version:{tolerance:"*"};s=n[r?"findOne":"find"](t)}return i["match"+(r?"":"es")]=s,i}return{attrs:e}}toJson(){const e={};return Object.keys(this.packages).forEach(t=>e[t]=this.packages[t].toJson()),e}}class p{constructor(){this._reservedDependencies={},this.add("require",this.requireHandler.bind(this)).add("requirees",this.requireEsHandler.bind(this)).add("exports",this.exportsHandler.bind(this)).add("mdl",this.moduleHandler.bind(this))}add(e,t){return"function"==typeof t&&"string"==typeof e&&(this._reservedDependencies[e]=t),this}get(e,t){const r=this._reservedDependencies[e];return r?r(t):null}moduleHandler(e){var t;return e.uri=e.urls,e.id=null===(t=e.parent)||void 0===t?void 0:t.name,void 0===e.exports&&(e.exports={}),e}exportsHandler(e){return void 0===e.exportsPreFactoryRun&&(e.exportsPreFactoryRun={}),e.exportsPreFactoryRun}requireHandler(e){if(e.require)return e.require;{const{require:t}=this._makeNewRequireEsContext(e);return t}}requireEsHandler(e){if(e.requirees)return e.requirees;{const{requirees:t}=this._makeNewRequireEsContext(e);return t}}_makeNewRequireEsContext(e){const t=new N;return e.require=t.asFunction(!1),e.requirees=t.asFunction(!0),{requirees:e.requirees,require:e.require}}get reservedDependencyNames(){return Object.keys(this._reservedDependencies)}}var y={load:function(e,t,r,n){return new Promise(r=>{const s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=e,s.onload=r.bind(t,s),n&&n.events.publish("requirees.styletag.preadd",s),document.head.appendChild(s),n&&n.events.publish("requirees.styletag.added",s)})},factoryRunner:function(e){if("string"==typeof e){const t=document.createElement("style");return t.innerText=e,document.head.appendChild(t)}}};function m(e){return fetch(e).then(e=>e.text())}let g=null;function v(e){g||(g=new DOMParser);const t=g.parseFromString(e,"text/html");if(t.documentElement){if(-1===e.indexOf("<body>")){const e=t.body&&t.body.children||[];return 1===e.length?e[0]:e}return t.documentElement}return e}var b={load:function(t,r,n){return new Promise(r=>{e.require(`txt!${t}`,e=>{r(v(e))})})},factoryRunner:function(e){return"string"==typeof e?v(e):e}};let _=null;function w(e){return _||(_=new DOMParser),_.parseFromString(e,"application/xml")}var O={factoryRunner:function(e){return"string"==typeof e?w(e):e},load:function(t,r,n){return new Promise(r=>{e.require(`txt!${t}`,e=>r(w(e)))})}};function j(e,t){t&&document.head.removeChild(e),c.cancelDefine(e,t)}function F(e,t,r,n){const s=document.createElement("script");if(s.charset="utf-8",s.async=!0,s.addEventListener("error",()=>j(s,`requirees: could not load ${e}`)),s.addEventListener("load",()=>j(s)),s.src=e,s.version=t,s.versiontype=r,s.src!==e){var i;const r=null===(i=t.filetypes.js)||void 0===i?void 0:i.urls,n=null==r?void 0:r.indexOf(e);null==r||r.splice(n,1,s.src)}return n&&n.events.publish("requirees.scripttag.preadd",s),document.head.appendChild(s),n&&n.events.publish("requirees.scripttag.added",s),c.waitForDefine(s)}var q={load:function(e){return fetch(e).then(e=>e.json())},factoryRunner:function(e){return"string"==typeof e?JSON.parse(e):e}};class x{constructor(e){this.version=e,this.name=e.parent.name}getAll(){return document.querySelectorAll(this.name)}}function E(e,t){return"function"==typeof e?(e.prototype.getAssociatedVersion=function(){return t},customElements.define(t.parent.name,e),new x(t)):(console.warn("RequireEs: Custom elements should be functions (or classes) extended from any HTMLElement"),{error:"Not a valid custom element factory"})}var P={load:function(t,r,n){return new Promise(n=>{e.require(t,e=>n(E(e,r)))})},factoryRunner:function(e,t){return e instanceof x?e:E(e,t)}};function k(t,r){if(void 0!==e.WebAssembly)return fetch(t).then(e=>e.arrayBuffer()).then(e=>WebAssembly.instantiate(e)).then(e=>e.instance.exports);console.warn(`Requirees: this browser does not support WebAssembly... Package ${r.parent.name} cannot be loaded`)}class ${constructor(e){this.requireContext=e,this.reservedDependencies=new p(e),this.loaders={},this.unloaders={},this.factoryRunners={},this.add("js",F),this.add("wasm",k),this.add("tag",P),this.add("html",b),this.add("htm",b),this.add("xml",O),this.add("txt",m),this.add("json",q),this.add("css",y)}add(e,t){if("object"==typeof t){const r=t.load||t.loader||t.get,n=t.unload||t.unloader||t.remove||t.delete,s=t.handleFactory||t.factory||t.factoryRunner||t.factoryLoader;"function"==typeof r&&(this.loaders[e]=r),"function"==typeof n&&(this.unloaders[e]=n),"function"==typeof s&&(this.factoryRunners[e]=s)}else"function"==typeof t&&(this.loaders[e]=t)}get(e){return this.loaders[e]||this.loaders.js}load(e={},t={}){const r=e.attrs;if(e.match){let n=e.match.filetypes;const s=r&&r.type;if(s&&n[s])return this.loadTypeFromVersion(e.match,s);{let r=!1;const s=Object.keys(n).map(t=>{const n=this.loadTypeFromVersion(e.match,t);return n instanceof Promise&&(r=!0),n});return r?Promise.all(s).then(this._returnMultiFiletypeLoad.bind(this,n,t)):this._returnMultiFiletypeLoad(n,t,s)}}return console.warn(`RequireEs - Oh fudge, we did not find any package '${r&&r.name||"<unknown>"}' that matches version '${r&&r.version&&r.version.str||"<unknown>"}'`),null}_returnMultiFiletypeLoad(e,t,r){const n=Object.keys(e);if(t.returnAll){const e={};
1return n.forEach((t,n)=>e[t]=r[n]),e}{const e=Object.keys(this.loaders);for(let t=0;t<e.length;t++){const s=n.indexOf(e[t]);if(s>-1)return r[s]}}}loadTypeFromVersion(e,r){const n=e.filetypes[r];if(this._publishEvt(`${t.events.ns}${t.events.pre}${t.events.loadFile}`,{package:e.parent,versiontype:n,version:e}),"object"==typeof n&&null!==n)return void 0!==n.exports?n.exports:n.dfr instanceof Promise?n.dfr:n.dfr=new Promise((t,s)=>{n.factory?this._resolveFactoryDependencies(t,e,r):this._loadFromUrl(e,r).then(s=>{n.factory=s,this._resolveFactoryDependencies(t,e,r)}).catch(s)}).then(r=>(this._publishEvt(`${t.events.ns}${t.events.loadFile}`,{package:e.parent,instance:r,versiontype:n,version:e}),r))}_publishEvt(e,t){this.requireContext.events.publish(e,t)}_getDependencies(e){return e.dependencies instanceof Array?"object"==typeof e.dependencyOverrides?e.dependencies.map(t=>e.dependencyOverrides[t]||t):e.dependencies:[]}_resolveFactoryDependencies(e,t,r){const n=t.filetypes[r],s=this._getDependencies(n),i=n.dependenciesExtra instanceof Array?n.dependenciesExtra:[],o=n.dependenciesPreLoad instanceof Array?n.dependenciesPreLoad:[],a=s.concat(i).concat(o),c=this.reservedDependencies.reservedDependencyNames;if(a.length){const s=a.map(e=>c.indexOf(e)>-1?this.reservedDependencies.get(e,n):this.requireContext.get(e));return Promise.all(s).then(n=>this._resolveFactory(e,t,r,n))}return this._resolveFactory(e,t,r,[])}_resolveFactory(e,t,r,n){const s=t.filetypes[r];let i;i="function"==typeof this.factoryRunners[r]?i=this.factoryRunners[r].call(t,s.factory,t,s,n):"function"==typeof s.factory?s.factory.apply(t,n):s.factory,void 0!==s.exportsPreFactoryRun&&(s.exports=s.exportsPreFactoryRun),void 0===s.exports&&("function"==typeof s.postFactory&&(i=s.postFactory(i)),s.exports=i),e(s.exports)}_getDownloadUrl(e){const r=this._getBaseUrl();return r&&!t.reIsAbsoluteUrl.test(e)?new URL(e,r).href:e}_getBaseUrl(){var e;return null===(e=this.requireContext)||void 0===e||null===(e=e.options)||void 0===e?void 0:e.baseUrl}_loadFromUrl(e,t,r=0){const n=this.get(t);if("function"==typeof n){const s=e.filetypes[t],i=s.urls;if(r<i.length){const o=this._getDownloadUrl(i[r]);try{return this._waitForPreLoadDependencies(s).then(()=>n(o,e,s,this.requireContext))}catch(n){return this._loadFromUrl(e,t,r+1)}}}}_waitForPreLoadDependencies(e){return e.dependenciesPreLoad instanceof Array&&e.dependenciesPreLoad.length>
10?this.requireContext.getPromise(e.dependenciesPreLoad):Promise.resolve()}}class D{constructor(){this.register={}}subscribe(e,t){return this.register[e]instanceof Array||(this.register[e]=[]),this.register[e].push(t),`${e}[${this.register[e].length-1}]`}unsubscribe(e){try{const r=e.match(t.events.resolve.regexp),n=r[t.events.resolve.fnName],s=r[t.events.resolve.fnIndex];void 0===s?delete this.register[n]:delete this.register[n][s]}catch(t){console.warn(`RequireEs: we could not unsubscribe from ${e}`,t)}}publish(e,r){(this.register[e]instanceof Array?this.register[e]:[]).concat(this.register[t.events.wireTapEventName]).forEach(t=>{try{"function"==typeof t&&t(r,e)}catch(t){console.error(`RequireEs: Error while executing a function in ${e}`,t)}})}addWireTap(e){return"function"==typeof e?this.subscribe(t.events.wireTapEventName,e):null}}function R(e){return-1===e.indexOf("!")&&!/\.js(\?.*)?$/.test(e)}class A{constructor(e){r(this,"_queue",[]),r(this,"_require",void 0),this._require=e,this._require.events.subscribe(`${t.events.ns}${t.events.register}`,this.processNewPackage.bind(this))}queue(e,t,r){return new Promise(n=>this._queue.push({target:e,searchAttrs:t,options:r,resolve:n}))}processNewPackage(e){this._queue.length&&(this._queue=this._queue.reduce((t,r)=>{const{target:n,searchAttrs:s,options:i,resolve:o}=r;try{if(s.name===e.package.name){this._require.findOne(n).match?this._require.getPromise(n,i).then(o):t.push(r)}else t.push(r)}catch(e){console.warn("RequireEs - Something went wrong while loading package from queue",e,n)}return t},[]))}}class N{constructor(e){this.events=new D,this.registry=new f(e,this),this.loaders=new $(this),this.waitForRegistrationQueue=new A(this),this.options=e||{},this.amd={}}define(){const e=i(arguments);this.events.publish(`${t.events.ns}${t.events.pre}${t.events.define}`,{args:e});const r="string"==typeof e.name&&!("jquery"===e.name&&void 0===e.factory),n=this._defineAnonymousModule(e.dependencies,e.factory,r),s=r?this._defineNamedModule(e.name,e.dependencies,e.factory):null;return this.events.publish(`${t.events.ns}${t.events.define}`,{args:e}),s||n}_defineNamedModule(e,t,r,n){const s={};return s[e]={dependencies:t,factory:r,url:!1,preventReregistration:n},this.register(s)}_defineAnonymousModule(e,t,r){const n=c.confirmDefine({dependencies:e,factory:t});if(!n.success&&n.currentTag instanceof HTMLElement&&!r){const r=this._defineNamedModule(n.currentTag.src,e,t,!0);if(this.options.invokeNonMatchedDefines){var s;const e=null===(s=new u([n.currentTag.src]).files)||void 0===s||null===(s=s[0])||void 0===s?void 0:s.name;e&&this.get(e)}return r}}loadAllModuleInstances(e,t){const r=t&&t.queueIfNotRegistered;return e.map(e=>{let n=this.findOne(e);return!r||void 0!==n.match&&null!==n.match?(r||void 0!==n.match||(this.register(e,t),n=this.findOne(e)),this.loaders.load(n,t)):this.waitForRegistrationQueue.queue(e,n.attrs,s(s({},t),{},{queueIfNotRegistered:!1}))})}rejectOnTimeout(e,t){const r=(null==t?void 0:t.loadTimeout)&&Number(t.loadTimeout);return r?Promise.race([e,new Promise((e,t)=>setTimeout(()=>t(new Error(`RequireEs: ${r/1e3}s load-timeout has been reached for require`)),r))]):e}runCallbackAfterInstancesAreLoaded(t,r,n,s){"function"==typeof r&&this.rejectOnTimeout(t,s).then(t=>r.apply(e,t)).catch(t=>n.apply(e,t))}get(){const{dependencies:e,callback:t,callbackFail:r,loadSinglePackage:n,options:s}=function(e){const t={};for(let r=0;r<e.length;r++){const n=e[r];n instanceof Array?t.dependencies=n:"string"!=typeof n||t.dependencies?"function"==typeof n?void 0===t.callback?t.callback=n:void 0===t.callbackFail&&(t.callbackFail=n):"object"==typeof n&&(t.options=n):(t.dependencies=[n],t.loadSinglePackage=!0)}return t}(arguments),i="function"==typeof r?r:e=>console.error(e),o=this.loadAllModuleInstances(e,s),a=Promise.all(o);return this.runCallbackAfterInstancesAreLoaded(a,t,i,s),this.rejectOnTimeout(n?o[0]:a,s)}getPromise(){return new Promise(e=>e(this.get.apply(this,arguments)))}register(){return this.registry.add.apply(this.registry,arguments)}find(){return this.registry.find.apply(this.registry,arguments)}findOne(){return this.registry.findOne.apply(this.registry,arguments)}when(){const e=[...arguments,{queueIfNotRegistered:!0}];return this.getPromise.apply(this,e)}_setBaseUrl(e){const r=`${e}${e.endsWith("/")?"":"/"}`;this.options.baseUrl=t.reIsAbsoluteUrl.test(r)?r:new URL(r,window.location.origin).href}config(e={}){void 0!==e.paths&&function(e){const t=[];return"object"==typeof e&&Object.keys(e).forEach(r=>{let n=e[r];
1"string"==typeof n&&(n=[n]),n instanceof Array&&n.forEach(e=>t.push({[r]:R(e)?`${e}.js`:e}))}),t}(e.paths).forEach(e=>this.register(e)),void 0!==e.allowRedefine&&(this.options.allowRedefine=e.allowRedefine),void 0!==e.invokeNonMatchedDefines&&(this.options.invokeNonMatchedDefines=e.invokeNonMatchedDefines),"object"==typeof e.shim&&this.shim(e.shim),"string"==typeof e.baseUrl&&this._setBaseUrl(e.baseUrl)}specified(e){if("string"==typeof e){const t=this.findOne(e);return t.match&&t.match.isSpecified(t.attrs)||!1}return!1}undef(e){if("string"==typeof e){const t=this.findOne(e);return t.match&&t.match.undef(t.attrs)}}shim(e){Object.keys(e).forEach(t=>{if("string"==typeof t){var r;let n=this.findOne(t);void 0===n.match&&(this.register({[t]:{url:!1}}),n=this.findOne(t)),null===(r=n.match)||void 0===r||r.shim(n.attrs,e[t])}})}asFunction(e){const t=e?this.getPromise.bind(this):this.get.bind(this);return t.register=this.register.bind(this),t.when=this.when.bind(this),t.find=this.find.bind(this),t.findOne=this.findOne.bind(this),t.loaders=this.loaders,t.define=this.define.bind(this),t.config=this.config.bind(this),t.specified=this.specified.bind(this),t.shim=this.shim.bind(this),t.undef=this.undef.bind(this),t.on=this.events.subscribe.bind(this.events),t.subscribe=this.events.subscribe.bind(this.events),t.unsubscribe=this.events.unsubscribe.bind(this.events),t.publish=this.events.publish.bind(this.events),t.addWireTap=this.events.addWireTap.bind(this.events),t.events=this.events,t.version="1.0.26",t}}e.RequireEs=N;const T=new N;e.require=e.requirejs=T.asFunction(!1),e.requirees=T.asFunction(!0),e.define=e.require.define,e.define.amd={}}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.