Skip to content

Instantly share code, notes, and snippets.

@zavoloklom
Last active September 24, 2023 14:02
Show Gist options
  • Save zavoloklom/dcf5f47091b3b166234208d5fc180d05 to your computer and use it in GitHub Desktop.
Save zavoloklom/dcf5f47091b3b166234208d5fc180d05 to your computer and use it in GitHub Desktop.
Webpack Runtime Chunk Loader - with ">1%"
(()=>{"use strict";var e={},r={};function t(a){var o=r[a];if(void 0!==o)return o.exports;var n=r[a]={id:a,loaded:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}t.m=e,(()=>{var e=[];t.O=(r,a,o,n)=>{if(!a){var i=1/0;for(s=0;s<e.length;s++){a=e[s][0],o=e[s][1],n=e[s][2];for(var d=!0,c=0;c<a.length;c++)(!1&n||i>=n)&&Object.keys(t.O).every((e=>t.O[e](a[c])))?a.splice(c--,1):(d=!1,n<i&&(i=n));if(d){e.splice(s--,1);var l=o();void 0!==l&&(r=l)}}return r}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[a,o,n]}})(),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((r,a)=>(t.f[a](e,r),r)),[])),t.u=e=>"static/js/"+e+"."+{69:"4f205f87",128:"49264537",453:"b2fed72e",482:"f0106901",861:"7398a6b4",998:"3a2230ec",1029:"1eef9fd5",1137:"053e9a0f",1206:"c9f082bd",1218:"bcdfcb15",1337:"c544d395",1459:"4c87d9f0",1674:"e387676c",2030:"2d6fc253",2083:"b10df675",2201:"9083b4ca",2211:"af31d38c",2228:"fba59f88",2234:"6803df3f",2902:"d0796511",3952:"059db934",3976:"c696601c",4084:"878f8128",4644:"121e1af7",4902:"515493b5",5296:"6363643e",5476:"011f90a1",5744:"f555ed17",5780:"6056df9c",5799:"80dd280f",5802:"1a38bf36",6210:"f55c839c",6223:"f5c3db37",6421:"1f4dce19",6616:"6677554a",6798:"327de3ba",6874:"ce7cf93a",6914:"f12a9f8d",7201:"65b8be48",7469:"e1e97738",7472:"f3062d78",7506:"b18e49a1",7985:"0899123d",8150:"95b78ad0",8228:"8d765ae0",8313:"d194eb28",8374:"e834c31e",8665:"de0d12a7",8717:"1f08511f",8767:"b7fc956d",9028:"d8ad5494",9041:"3c949913",9144:"0545b105",9772:"98c2aaab"}[e]+".chunk.js",t.miniCssF=e=>"static/css/"+e+".css",t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="keycloak-theme:";t.l=(a,o,n,i)=>{if(e[a])e[a].push(o);else{var d,c;if(void 0!==n)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==a||f.getAttribute("data-webpack")==r+n){d=f;break}}d||(c=!0,(d=document.createElement("script")).charset="utf-8",d.timeout=120,t.nc&&d.setAttribute("nonce",t.nc),d.setAttribute("data-webpack",r+n),d.src=a),e[a]=[o];var u=(r,t)=>{d.onerror=d.onload=null,clearTimeout(b);var o=e[a];if(delete e[a],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(t))),r)return r(t)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),c&&document.head.appendChild(d)}}})(),t.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var r=t.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var o=a.length-1;o>-1&&!e;)e=a[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e+"../../"})(),(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((r,a)=>{var o=t.miniCssF(e),n=t.p+o;if(((e,r)=>{for(var t=document.getElementsByTagName("link"),a=0;a<t.length;a++){var o=(i=t[a]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===e||o===r))return i}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var i;if((o=(i=n[a]).getAttribute("data-href"))===e||o===r)return i}})(o,n))return r();((e,r,t,a,o)=>{var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.onerror=n.onload=t=>{if(n.onerror=n.onload=null,"load"===t.type)a();else{var i=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.href||r,c=new Error("Loading CSS chunk "+e+" failed.\n("+d+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=d,n.parentNode&&n.parentNode.removeChild(n),o(c)}},n.href=r,t?t.parentNode.insertBefore(n,t.nextSibling):document.head.appendChild(n)})(e,n,null,r,a)})),r={7252:0};t.f.miniCss=(t,a)=>{r[t]?a.push(r[t]):0!==r[t]&&{482:1,998:1,1137:1,1206:1,1459:1,2030:1,2201:1,2211:1,2902:1,3952:1,3976:1,4644:1,5296:1,5780:1,5802:1,6223:1,6616:1,6914:1,7201:1,7985:1,8150:1,8313:1,8374:1,8767:1,9144:1}[t]&&a.push(r[t]=e(t).then((()=>{r[t]=0}),(e=>{throw delete r[t],e})))}}})(),(()=>{var e={7252:0};t.f.j=(r,a)=>{var o=t.o(e,r)?e[r]:void 0;if(0!==o)if(o)a.push(o[2]);else if(7252!=r){var n=new Promise(((t,a)=>o=e[r]=[t,a]));a.push(o[2]=n);var i=t.p+t.u(r),d=new Error;t.l(i,(a=>{if(t.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;d.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",d.name="ChunkLoadError",d.type=n,d.request=i,o[1](d)}}),"chunk-"+r,r)}else e[r]=0},t.O.j=r=>0===e[r];var r=(r,a)=>{var o,n,i=a[0],d=a[1],c=a[2],l=0;if(i.some((r=>0!==e[r]))){for(o in d)t.o(d,o)&&(t.m[o]=d[o]);if(c)var s=c(t)}for(r&&r(a);l<i.length;l++)n=i[l],t.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return t.O(s)},a=self.webpackChunkkeycloak_theme=self.webpackChunkkeycloak_theme||[];a.forEach(r.bind(null,0)),a.push=r.bind(null,a.push.bind(a))})()})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment