1 line
6.3 KiB
Plaintext
1 line
6.3 KiB
Plaintext
{"version":3,"sources":["../../src/client/script.tsx"],"names":["ReactDOM","React","useEffect","useContext","useRef","HeadManagerContext","DOMAttributeNames","requestIdleCallback","ScriptCache","Map","LoadCache","Set","ignoreProps","insertStylesheets","stylesheets","preinit","forEach","stylesheet","as","window","head","document","link","createElement","type","rel","href","appendChild","loadScript","props","src","id","onLoad","onReady","dangerouslySetInnerHTML","children","strategy","onError","cacheKey","has","add","get","then","afterLoad","el","loadPromise","Promise","resolve","reject","addEventListener","e","call","catch","innerHTML","__html","textContent","Array","isArray","join","set","k","value","Object","entries","undefined","includes","attr","toLowerCase","setAttribute","body","handleClientScriptLoad","loadLazyScript","readyState","addBeforeInteractiveToCache","scripts","querySelectorAll","script","getAttribute","initScriptLoader","scriptLoaderItems","Script","restProps","updateScripts","getIsSsr","appDir","nonce","hasOnReadyEffectCalled","current","hasLoadScriptEffectCalled","concat","styleSrc","JSON","stringify","preload","integrity","defineProperty"],"mappings":"AAAA;AAEA,OAAOA,cAAc,YAAW;AAChC,OAAOC,SAASC,SAAS,EAAEC,UAAU,EAAEC,MAAM,QAAQ,QAAO;AAE5D,SAASC,kBAAkB,QAAQ,oDAAmD;AACtF,SAASC,iBAAiB,QAAQ,iBAAgB;AAClD,SAASC,mBAAmB,QAAQ,0BAAyB;AAE7D,MAAMC,cAAc,IAAIC;AACxB,MAAMC,YAAY,IAAIC;AAiBtB,MAAMC,cAAc;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAED,MAAMC,oBAAoB,CAACC;IACzB,iGAAiG;IACjG,EAAE;IACF,oEAAoE;IACpE,kFAAkF;IAClF,4EAA4E;IAC5E,6EAA6E;IAC7E,IAAId,SAASe,OAAO,EAAE;QACpBD,YAAYE,OAAO,CAAC,CAACC;YACnBjB,SAASe,OAAO,CAACE,YAAY;gBAAEC,IAAI;YAAQ;QAC7C;QAEA;IACF;IAEA,gGAAgG;IAChG,EAAE;IACF,kEAAkE;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