-
Notifications
You must be signed in to change notification settings - Fork 0
/
sw.js
2 lines (2 loc) · 33.1 KB
/
sw.js
1
2
try{self["workbox:core:6.4.1"]&&_()}catch(e){}const e=(e,...s)=>{let i=e;return s.length>0&&(i+=` :: ${JSON.stringify(s)}`),i};class s extends Error{constructor(s,i){super(e(s,i)),this.name=s,this.details=i}}try{self["workbox:routing:6.4.1"]&&_()}catch(e){}const i=e=>e&&"object"==typeof e?e:{handle:e};class r{constructor(e,s,r="GET"){this.handler=i(s),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=i(e)}}class a extends r{constructor(e,s,i){super((({url:s})=>{const i=e.exec(s.href);if(i&&(s.origin===location.origin||0===i.index))return i.slice(1)}),s,i)}}class c{constructor(){this.i=new Map,this.t=new Map}get routes(){return this.i}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:s}=e,i=this.handleRequest({request:s,event:e});i&&e.respondWith(i)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:s}=e.data,i=Promise.all(s.urlsToCache.map((s=>{"string"==typeof s&&(s=[s]);const i=new Request(...s);return this.handleRequest({request:i,event:e})})));e.waitUntil(i),e.ports&&e.ports[0]&&i.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:s}){const i=new URL(e.url,location.href);if(!i.protocol.startsWith("http"))return;const r=i.origin===location.origin,{params:a,route:c}=this.findMatchingRoute({event:s,request:e,sameOrigin:r,url:i});let t=c&&c.handler;const n=e.method;if(!t&&this.t.has(n)&&(t=this.t.get(n)),!t)return;let o;try{o=t.handle({url:i,request:e,event:s,params:a})}catch(e){o=Promise.reject(e)}const d=c&&c.catchHandler;return o instanceof Promise&&(this.o||d)&&(o=o.catch((async r=>{if(d)try{return await d.handle({url:i,request:e,event:s,params:a})}catch(e){e instanceof Error&&(r=e)}if(this.o)return this.o.handle({url:i,request:e,event:s});throw r}))),o}findMatchingRoute({url:e,sameOrigin:s,request:i,event:r}){const a=this.i.get(i.method)||[];for(const c of a){let a;const t=c.match({url:e,sameOrigin:s,request:i,event:r});if(t)return a=t,(Array.isArray(a)&&0===a.length||t.constructor===Object&&0===Object.keys(t).length||"boolean"==typeof t)&&(a=void 0),{route:c,params:a}}return{}}setDefaultHandler(e,s="GET"){this.t.set(s,i(e))}setCatchHandler(e){this.o=i(e)}registerRoute(e){this.i.has(e.method)||this.i.set(e.method,[]),this.i.get(e.method).push(e)}unregisterRoute(e){if(!this.i.has(e.method))throw new s("unregister-route-but-not-found-with-method",{method:e.method});const i=this.i.get(e.method).indexOf(e);if(!(i>-1))throw new s("unregister-route-route-not-registered");this.i.get(e.method).splice(i,1)}}let t;const n=()=>(t||(t=new c,t.addFetchListener(),t.addCacheListener()),t);function o(e,i,c){let t;if("string"==typeof e){const s=new URL(e,location.href);t=new r((({url:e})=>e.href===s.href),i,c)}else if(e instanceof RegExp)t=new a(e,i,c);else if("function"==typeof e)t=new r(e,i,c);else{if(!(e instanceof r))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});t=e}return n().registerRoute(t),t}try{self["workbox:strategies:6.4.1"]&&_()}catch(e){}const d={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null},l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},f=e=>[l.prefix,e,l.suffix].filter((e=>e&&e.length>0)).join("-"),u=e=>e||f(l.precache),b=e=>e||f(l.runtime);function h(e,s){const i=new URL(e);for(const e of s)i.searchParams.delete(e);return i.href}class v{constructor(){this.promise=new Promise(((e,s)=>{this.resolve=e,this.reject=s}))}}const p=new Set;function m(e){return"string"==typeof e?new Request(e):e}class w{constructor(e,s){this.l={},Object.assign(this,s),this.event=s.event,this.u=e,this.h=new v,this.v=[],this.p=[...e.plugins],this.m=new Map;for(const e of this.p)this.m.set(e,{});this.event.waitUntil(this.h.promise)}async fetch(e){const{event:i}=this;let r=m(e);if("navigate"===r.mode&&i instanceof FetchEvent&&i.preloadResponse){const e=await i.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))r=await e({request:r.clone(),event:i})}catch(e){if(e instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const c=r.clone();try{let e;e=await fetch(r,"navigate"===r.mode?void 0:this.u.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))e=await s({event:i,request:c,response:e});return e}catch(e){throw a&&await this.runCallbacks("fetchDidFail",{error:e,event:i,originalRequest:a.clone(),request:c.clone()}),e}}async fetchAndCachePut(e){const s=await this.fetch(e),i=s.clone();return this.waitUntil(this.cachePut(e,i)),s}async cacheMatch(e){const s=m(e);let i;const{cacheName:r,matchOptions:a}=this.u,c=await this.getCacheKey(s,"read"),t=Object.assign(Object.assign({},a),{cacheName:r});i=await caches.match(c,t);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))i=await e({cacheName:r,matchOptions:a,cachedResponse:i,request:c,event:this.event})||void 0;return i}async cachePut(e,i){const r=m(e);var a;await(a=0,new Promise((e=>setTimeout(e,a))));const c=await this.getCacheKey(r,"write");if(!i)throw new s("cache-put-with-no-response",{url:(t=c.url,new URL(String(t),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var t;const n=await this.j(i);if(!n)return!1;const{cacheName:o,matchOptions:d}=this.u,l=await self.caches.open(o),f=this.hasCallback("cacheDidUpdate"),u=f?await async function(e,s,i,r){const a=h(s.url,i);if(s.url===a)return e.match(s,r);const c=Object.assign(Object.assign({},r),{ignoreSearch:!0}),t=await e.keys(s,c);for(const s of t)if(a===h(s.url,i))return e.match(s,r)}(l,c.clone(),["__WB_REVISION__"],d):null;try{await l.put(c,f?n.clone():n)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await async function(){for(const e of p)await e()}(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:o,oldResponse:u,newResponse:n.clone(),request:c,event:this.event});return!0}async getCacheKey(e,s){const i=`${e.url} | ${s}`;if(!this.l[i]){let r=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=m(await e({mode:s,request:r,event:this.event,params:this.params}));this.l[i]=r}return this.l[i]}hasCallback(e){for(const s of this.u.plugins)if(e in s)return!0;return!1}async runCallbacks(e,s){for(const i of this.iterateCallbacks(e))await i(s)}*iterateCallbacks(e){for(const s of this.u.plugins)if("function"==typeof s[e]){const i=this.m.get(s),r=r=>{const a=Object.assign(Object.assign({},r),{state:i});return s[e](a)};yield r}}waitUntil(e){return this.v.push(e),e}async doneWaiting(){let e;for(;e=this.v.shift();)await e}destroy(){this.h.resolve(null)}async j(e){let s=e,i=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(s=await e({request:this.request,response:s,event:this.event})||void 0,i=!0,!s)break;return i||s&&200!==s.status&&(s=void 0),s}}class j{constructor(e={}){this.cacheName=b(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[s]=this.handleAll(e);return s}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const s=e.event,i="string"==typeof e.request?new Request(e.request):e.request,r="params"in e?e.params:void 0,a=new w(this,{event:s,request:i,params:r}),c=this.g(a,i,s);return[c,this.R(c,a,i,s)]}async g(e,i,r){let a;await e.runCallbacks("handlerWillStart",{event:r,request:i});try{if(a=await this.q(i,e),!a||"error"===a.type)throw new s("no-response",{url:i.url})}catch(s){if(s instanceof Error)for(const c of e.iterateCallbacks("handlerDidError"))if(a=await c({error:s,event:r,request:i}),a)break;if(!a)throw s}for(const s of e.iterateCallbacks("handlerWillRespond"))a=await s({event:r,request:i,response:a});return a}async R(e,s,i,r){let a,c;try{a=await e}catch(c){}try{await s.runCallbacks("handlerDidRespond",{event:r,request:i,response:a}),await s.doneWaiting()}catch(e){e instanceof Error&&(c=e)}if(await s.runCallbacks("handlerDidComplete",{event:r,request:i,response:a,error:c}),s.destroy(),c)throw c}}function g(e,s){const i=s();return e.waitUntil(i),i}try{self["workbox:precaching:6.4.1"]&&_()}catch(e){}function y(e){if(!e)throw new s("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const s=new URL(e,location.href);return{cacheKey:s.href,url:s.href}}const{revision:i,url:r}=e;if(!r)throw new s("add-to-cache-list-unexpected-type",{entry:e});if(!i){const e=new URL(r,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(r,location.href),c=new URL(r,location.href);return a.searchParams.set("__WB_REVISION__",i),{cacheKey:a.href,url:c.href}}class z{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:s})=>{s&&(s.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:s,cachedResponse:i})=>{if("install"===e.type&&s&&s.originalRequest&&s.originalRequest instanceof Request){const e=s.originalRequest.url;i?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return i}}}class R{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:s})=>{const i=(null==s?void 0:s.cacheKey)||this.L.getCacheKeyForURL(e.url);return i?new Request(i,{headers:e.headers}):e},this.L=e}}let q,L;async function U(e,i){let r=null;if(e.url){r=new URL(e.url).origin}if(r!==self.location.origin)throw new s("cross-origin-copy-response",{origin:r});const a=e.clone(),c={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},t=i?i(c):c,n=function(){if(void 0===q){const e=new Response("");if("body"in e)try{new Response(e.body),q=!0}catch(e){q=!1}q=!1}return q}()?a.body:await a.blob();return new Response(n,t)}class E extends j{constructor(e={}){e.cacheName=u(e.cacheName),super(e),this.U=!1!==e.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async q(e,s){const i=await s.cacheMatch(e);return i||(s.event&&"install"===s.event.type?await this.D(e,s):await this.C(e,s))}async C(e,i){let r;const a=i.params||{};if(!this.U)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{const s=a.integrity,c=e.integrity,t=!c||c===s;r=await i.fetch(new Request(e,{integrity:c||s})),s&&t&&(this.S(),await i.cachePut(e,r.clone()))}return r}async D(e,i){this.S();const r=await i.fetch(e);if(!await i.cachePut(e,r.clone()))throw new s("bad-precaching-response",{url:e.url,status:r.status});return r}S(){let e=null,s=0;for(const[i,r]of this.plugins.entries())r!==E.copyRedirectedCacheableResponsesPlugin&&(r===E.defaultPrecacheCacheabilityPlugin&&(e=i),r.cacheWillUpdate&&s++);0===s?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):s>1&&null!==e&&this.plugins.splice(e,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await U(e):e};class x{constructor({cacheName:e,plugins:s=[],fallbackToNetwork:i=!0}={}){this._=new Map,this.T=new Map,this.O=new Map,this.u=new E({cacheName:u(e),plugins:[...s,new R({precacheController:this})],fallbackToNetwork:i}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.u}precache(e){this.addToCacheList(e),this.N||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.N=!0)}addToCacheList(e){const i=[];for(const r of e){"string"==typeof r?i.push(r):r&&void 0===r.revision&&i.push(r.url);const{cacheKey:e,url:a}=y(r),c="string"!=typeof r&&r.revision?"reload":"default";if(this._.has(a)&&this._.get(a)!==e)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this._.get(a),secondEntry:e});if("string"!=typeof r&&r.integrity){if(this.O.has(e)&&this.O.get(e)!==r.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:a});this.O.set(e,r.integrity)}if(this._.set(a,e),this.T.set(a,c),i.length>0){const e=`Workbox is precaching URLs without revision info: ${i.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return g(e,(async()=>{const s=new z;this.strategy.plugins.push(s);for(const[s,i]of this._){const r=this.O.get(i),a=this.T.get(s),c=new Request(s,{integrity:r,cache:a,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:c,event:e}))}const{updatedURLs:i,notUpdatedURLs:r}=s;return{updatedURLs:i,notUpdatedURLs:r}}))}activate(e){return g(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),s=await e.keys(),i=new Set(this._.values()),r=[];for(const a of s)i.has(a.url)||(await e.delete(a),r.push(a.url));return{deletedURLs:r}}))}getURLsToCacheKeys(){return this._}getCachedURLs(){return[...this._.keys()]}getCacheKeyForURL(e){const s=new URL(e,location.href);return this._.get(s.href)}getIntegrityForCacheKey(e){return this.O.get(e)}async matchPrecache(e){const s=e instanceof Request?e.url:e,i=this.getCacheKeyForURL(s);if(i){return(await self.caches.open(this.strategy.cacheName)).match(i)}}createHandlerBoundToURL(e){const i=this.getCacheKeyForURL(e);if(!i)throw new s("non-precached-url",{url:e});return s=>(s.request=new Request(e),s.params=Object.assign({cacheKey:i},s.params),this.strategy.handle(s))}}const D=()=>(L||(L=new x),L);class C extends r{constructor(e,s){super((({request:i})=>{const r=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:s=[/^utm_/,/^fbclid$/],directoryIndex:i="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const c=new URL(e,location.href);c.hash="",yield c.href;const t=function(e,s=[]){for(const i of[...e.searchParams.keys()])s.some((e=>e.test(i)))&&e.searchParams.delete(i);return e}(c,s);if(yield t.href,i&&t.pathname.endsWith("/")){const e=new URL(t.href);e.pathname+=i,yield e.href}if(r){const e=new URL(t.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:c});for(const s of e)yield s.href}}(i.url,s)){const s=r.get(a);if(s){return{cacheKey:s,integrity:e.getIntegrityForCacheKey(s)}}}}),e.strategy)}}var S;self.skipWaiting(),S={},function(e){D().precache(e)}([{url:"public/ace/ext-searchbox.js",revision:"c3ad58df7587107f71fc1d511624250d"},{url:"public/ace/mode-xml.js",revision:"9785371a49d2674f50bc4884eef35301"},{url:"public/ace/theme-solarized_dark.js",revision:"06f0522377bc0d70432b087bd37ffdf6"},{url:"public/ace/theme-solarized_light.js",revision:"e5f391ed15940217eea430074be6f6e5"},{url:"public/ace/worker-xml.js",revision:"1028c8cbfbf27b3242f66ea35531eaa4"},{url:"public/apple-touch-icon.png",revision:"62e7c75a8b21624dca15bd0bef539438"},{url:"public/css/normalize.css",revision:"112272e51c80ffe5bd01becd2ce7d656"},{url:"public/favicon-16x16.png",revision:"275aa2d0c672623cc28f0572348befe7"},{url:"public/favicon-32x32.png",revision:"2ee56f4805a985f34bd914dad9a5af78"},{url:"public/google/fonts/roboto-mono-v13.css",revision:"e1eb94539e43886f10f2776d68363800"},{url:"public/google/fonts/roboto-v27.css",revision:"e2632eed0f396ae44ab740aecf61194e"},{url:"public/google/icons/material-icons-outlined.css",revision:"a52bef2eb1033e6ac2171ef197b28b2c"},{url:"public/icon-192x192.png",revision:"31ae08296b6be35de83931d8e1cf966b"},{url:"public/icon-512x512.png",revision:"1e7723b8736961b09acce6ea63178a40"},{url:"public/icon.svg",revision:"26984e5d2724d581bc7fb39c3f7cb389"},{url:"public/js/plugins.js",revision:"3abaf79edcdcd830026b4451fcb9451c"},{url:"public/js/worker.js",revision:"a77ab898eac9d3acc3841252aefe5f36"},{url:"public/js/xmlvalidate.js",revision:"13a15ca3eb50636fb4971e1ea7d664e8"},{url:"public/js/xmlvalidate.wasm",revision:"622a405972a204ca97e7e994a0e8244b"},{url:"public/maskable_icon.png",revision:"dcf4d1e9a7c6d791c83345eadaa8251d"},{url:"public/md/_Sidebar.md",revision:"caea034073501b949839092cae363e73"},{url:"public/md/Add-DAType-from-templates.md",revision:"d269e99b724a119f16991e06a6307a94"},{url:"public/md/Add-DOType-from-templates.md",revision:"ef32a3099889efadea46ae664877d23d"},{url:"public/md/Add-EnumType-from-templates.md",revision:"363aee1414bd70cd0aef0e8b06ea93df"},{url:"public/md/Add-LNodeType-from-templates.md",revision:"7c40c5b834208a7d95466102517ee465"},{url:"public/md/All-template-editor-wizards.md",revision:"8080c845ea32b97b5d8ea6039fc3a916"},{url:"public/md/ClientLN.md",revision:"5ac0534689609a228d844d8067b23626"},{url:"public/md/Communication.md",revision:"42d76b0b8c94c4f4d9cc25e0fd1ce012"},{url:"public/md/Data-attribute-type-child-BDA.md",revision:"e3d6286a137ddc094bcad5381a3356c5"},{url:"public/md/Data-attribute-type-DAType.md",revision:"6960ca29cfda78156586ff270e2edfcd"},{url:"public/md/Data-object-type-child-DA.md",revision:"e0cfe1ac920248e123430953aae4f4eb"},{url:"public/md/Data-object-type-child-SDO.md",revision:"baf4858f4d6d7bcd6808142e84bd7e0c"},{url:"public/md/Data-object-type-DOType.md",revision:"a0b985cdacae0708072317cdc1cc2648"},{url:"public/md/DataTypeTemplates.md",revision:"761d02523a7fa929b1e96d05e131bd25"},{url:"public/md/Enumeration-EnumType.md",revision:"3e5035ba716e5f2f31dbe5cf04095452"},{url:"public/md/Enumeration-EnumVal.md",revision:"40b2caf67c9d1b80af63a942c6f8da16"},{url:"public/md/Global-SCL-manipulation.md",revision:"9d5bf643ac42fabbd28a0d064bcb78ee"},{url:"public/md/Guess-substation-structure.md",revision:"36e07421b0daefab658fada7f5f23141"},{url:"public/md/Home.md",revision:"2545ec536d197b53d4e7070d5d1251b9"},{url:"public/md/IED.md",revision:"12aa231a7513739cc640abac5ac1b854"},{url:"public/md/Import-IEDs.md",revision:"51abf1b529a2c81b718c4aadf7496a26"},{url:"public/md/Install-OpenSCD.md",revision:"cc52cee3558f7f2cd522b213187b5d18"},{url:"public/md/Logical-node-type-child-DO.md",revision:"d6848ee5ff6125180a6e859e854683c8"},{url:"public/md/Logical-node-type-LNodeType.md",revision:"3b3c724128fd1eb2aa6a3ae14b89c737"},{url:"public/md/Merge-functionality.md",revision:"d401661d4f06c332f69e2a1b78c23858"},{url:"public/md/Project-workflow.md",revision:"ff1a6b4d2a408051fa327a9c0416fbac"},{url:"public/md/Save-project.md",revision:"c64ca60b5ce8210aee6e03b6579f9a88"},{url:"public/md/Start-from-scratch.md",revision:"4cfd27c52c2ef6472d144a239793b8c6"},{url:"public/md/Start-from-template.md",revision:"cfa6e1f1cec2bcef91e0daa7ca10cc5f"},{url:"public/md/Substation.md",revision:"c23fb88fa5932eaccafab296231fdbb0"},{url:"public/md/Update-subscriber-info.md",revision:"0da76ddfe10633b73f1e475129c50e27"},{url:"public/md/Validate-schema.md",revision:"456183a336d59cca8c587f04a06bfc1e"},{url:"public/md/Validate-template.md",revision:"7e7d66eeb83d4f92ea4769e5b7a56119"},{url:"public/md/Validators.md",revision:"ff12a7d95e29f2db155249acd5f35861"},{url:"public/md/XML-code-editor.md",revision:"fd7447cc840b98e0ed9c9f06d4c8cd44"},{url:"public/monochrome_icon.png",revision:"329ec2d6785a691c932962b40c48f19f"},{url:"public/mstile-144x144.png",revision:"e65bc3ab3bcbf366bfb1a8aea688ba45"},{url:"public/mstile-150x150.png",revision:"a3b54491a78398fdd16d9d650bcee21a"},{url:"public/mstile-310x150.png",revision:"dbab2415b660994355da616a7b05f56e"},{url:"public/mstile-310x310.png",revision:"08f78b8fb9c4618eeb87dc76254dee39"},{url:"public/mstile-70x70.png",revision:"2707a4bc27e42e15c0bf88302bcab503"},{url:"src/action-icon.js",revision:"2c85476f6bf1664a54911cde6bc1297e"},{url:"src/action-pane.js",revision:"8eddb9495db5d5d10ecccfde46421260"},{url:"src/Editing.js",revision:"792376f0240e1636a6db3943334d9dc3"},{url:"src/editors/Cleanup.js",revision:"fce6b42786d0cc1bc821eddf4f0b50c9"},{url:"src/editors/cleanup/control-blocks-container.js",revision:"93d5848c1b5360760f15cb4345018071"},{url:"src/editors/cleanup/datasets-container.js",revision:"35466d034d1a6e89ef21eef5d8df1875"},{url:"src/editors/cleanup/foundation.js",revision:"abfd29b662055355b39daf5f540684d7"},{url:"src/editors/Communication.js",revision:"23404b239336b9fbacdd21c6fccc02cd"},{url:"src/editors/communication/connectedap-editor.js",revision:"2a82911c06626a8ce846f5bb2d8dc3f2"},{url:"src/editors/communication/subnetwork-editor.js",revision:"38aafa6ba92587eef1a6e79a3cab9923"},{url:"src/editors/IED.js",revision:"f5b49d72e3483f9c3b0ecdc16da8e34c"},{url:"src/editors/ied/access-point-container.js",revision:"e3ed001a011f302be0e69abac31d7945"},{url:"src/editors/ied/da-container.js",revision:"4e53e2f475983916f1a3ca9eb230cbc6"},{url:"src/editors/ied/da-wizard.js",revision:"d5e84bb89593d47e3395665b4dd2a12d"},{url:"src/editors/ied/do-container.js",revision:"ba665c60fc545f636cebdeb43c98c558"},{url:"src/editors/ied/do-wizard.js",revision:"6e6e8f742cc40c7d4bd19732021270b8"},{url:"src/editors/ied/element-path.js",revision:"06634b75b45180a3a9737f08362fbad3"},{url:"src/editors/ied/foundation.js",revision:"cc0331145610293bb2476b8347e8fdd9"},{url:"src/editors/ied/foundation/foundation.js",revision:"b613d578229248a70397ffbd7067924e"},{url:"src/editors/ied/ied-container.js",revision:"80eea66fc0a5291614faa24793b82659"},{url:"src/editors/ied/ldevice-container.js",revision:"7702e593354193912b507cdddc144857"},{url:"src/editors/ied/ln-container.js",revision:"481af09a74d4a90c81ca81d4a8d7837c"},{url:"src/editors/ied/server-container.js",revision:"eabccab6431f699e717ae82b0aa360a5"},{url:"src/editors/SampledValues.js",revision:"200578d94aabe8484491bc5f47551d37"},{url:"src/editors/sampledvalues/elements/ied-element-smv.js",revision:"493f043e235f95b28b7b1decf43c405a"},{url:"src/editors/sampledvalues/foundation.js",revision:"c0e4fed4463d7a22aab572e817a886d6"},{url:"src/editors/sampledvalues/sampled-values-list.js",revision:"afaa1f2c74541f9f4fa9b41455034ade"},{url:"src/editors/sampledvalues/subscriber-ied-list-smv.js",revision:"d493e57d84a200391f99c72b20304c7e"},{url:"src/editors/SingleLineDiagram.js",revision:"ce7a933abe0c02a8bc8b5555eb1e4127"},{url:"src/editors/singlelinediagram/foundation.js",revision:"9bf2c00750cd0158068073db155a3fc2"},{url:"src/editors/singlelinediagram/ortho-connector.js",revision:"95fb7a18c78db7a79e9d08c53bb17698"},{url:"src/editors/singlelinediagram/sld-drawing.js",revision:"91b90fc6ebbfbba80bc5a4760597f864"},{url:"src/editors/singlelinediagram/wizards/bay.js",revision:"9ce34ed5b476ec3b3043d1b6de4351ab"},{url:"src/editors/singlelinediagram/wizards/conductingequipment.js",revision:"b410e4af9c6259ff6e3fa996290f67b4"},{url:"src/editors/singlelinediagram/wizards/foundation.js",revision:"ce6cee60f6805b955c1823ec689f23f5"},{url:"src/editors/singlelinediagram/wizards/powertransformer.js",revision:"ce84003433ce5ae86f573ddb38ab3adf"},{url:"src/editors/singlelinediagram/wizards/wizard-library.js",revision:"9d651180bf9ed5038f0881071a6c4bf9"},{url:"src/editors/Subscription.js",revision:"b2db8ddf4d4cdea56922b0d145b53e53"},{url:"src/editors/subscription/foundation.js",revision:"82683fa10cc659b0c44d31d26c514041"},{url:"src/editors/subscription/goose-publisher-list.js",revision:"91680857900875fa4c25aede3afb470d"},{url:"src/editors/subscription/goose-subscriber-list.js",revision:"adc91d7ec0adfbe328585c8720bbbbff"},{url:"src/editors/subscription/subscriber-list.js",revision:"30d10135bc461672711d1356a6899e7c"},{url:"src/editors/Substation.js",revision:"74099fa14020f6ad3de8a8212c2c1b66"},{url:"src/editors/substation/bay-editor.js",revision:"d48186c452a90fb5374ac87bc237dfc6"},{url:"src/editors/substation/conducting-equipment-editor.js",revision:"cfa0e8567b6c5ba4d849ae99738e0b0b"},{url:"src/editors/substation/eq-function-editor.js",revision:"7b892d847545262ab3fccc5ffa5f975b"},{url:"src/editors/substation/eq-sub-function-editor.js",revision:"06f5c2ed6d52934b1a5926e6d8adb5c1"},{url:"src/editors/substation/foundation.js",revision:"e342a516b3aa44c0f6673b1e334ad5e8"},{url:"src/editors/substation/function-editor.js",revision:"91680751e0573a2e61bb23fd521742f6"},{url:"src/editors/substation/guess-wizard.js",revision:"e28f059579e2dbe6c77526d207ef6801"},{url:"src/editors/substation/ied-editor.js",revision:"dac61bcdafa7a73539b0fb9e9871fab4"},{url:"src/editors/substation/l-node-editor.js",revision:"22d2395ee3dade210527578f8e42783c"},{url:"src/editors/substation/powertransformer-editor.js",revision:"3d5384e0f79b3fd9bd6e0a4abf5eb9dc"},{url:"src/editors/substation/sub-function-editor.js",revision:"433c9fbf1025927c17f3080eeb5103c3"},{url:"src/editors/substation/substation-editor.js",revision:"6028204c6f79ddfd190b55ba6047be58"},{url:"src/editors/substation/voltage-level-editor.js",revision:"96cb0dfaa65622672d641c053cafe237"},{url:"src/editors/substation/zeroline-pane.js",revision:"16a58170795daad9f050cb798fd7c738"},{url:"src/editors/Templates.js",revision:"168c6445d6f85eb2213a4b591ba365e4"},{url:"src/editors/templates/datype-wizards.js",revision:"d1b5d9aa9fa73e759bf2897d2db8777d"},{url:"src/editors/templates/dotype-wizards.js",revision:"33ea3c868179a5af8c1343420883ecc8"},{url:"src/editors/templates/enumtype-wizard.js",revision:"b04bf13ac396336ccee92b61b08e083e"},{url:"src/editors/templates/foundation.js",revision:"0366da749da80d91d3f4950ae530887d"},{url:"src/editors/templates/lnodetype-wizard.js",revision:"6feac56fba2a0a9f8bfc1ea50a98eb9f"},{url:"src/editors/templates2/d-a-editor.js",revision:"0de196206eaaf3252f8b96c12e85d579"},{url:"src/editors/templates2/d-a-type-editor.js",revision:"70df187ff26da33443a262acf7809f18"},{url:"src/editors/templates2/d-o-editor.js",revision:"99cb7bbd86b532f16b2be1f73823bd30"},{url:"src/editors/templates2/d-o-type-editor.js",revision:"7fb1560d8a47eeab478c6ec209429bcd"},{url:"src/editors/templates2/foundation.js",revision:"23420f602d948e1df2126eb532b3572b"},{url:"src/editors/templates2/l-node-type-editor.js",revision:"981aaabd1023bee45bb6c6795a9e9887"},{url:"src/editors/TemplatesProt.js",revision:"82d81b44c42dc869fe42ee5978ecac91"},{url:"src/filtered-list.js",revision:"72d906e7f75adbc820cba02dd621982c"},{url:"src/finder-list.js",revision:"4bdc1a209c987bab28cda8b23110241e"},{url:"src/foundation.js",revision:"dc55fbc7e866a1ab6c9beeb5deb2fe8d"},{url:"src/foundation/ied.js",revision:"db2ac60380ded81420728efe42f36fb2"},{url:"src/foundation/nsdoc.js",revision:"d8b53f8bcd55fd1979b17dbad9a7875c"},{url:"src/foundation/scl.js",revision:"92aa5f532152489d8d8f6c3d27ba808d"},{url:"src/Hosting.js",revision:"7c22b509e6a63ec63c4e065cd99c737c"},{url:"src/icons/icons.js",revision:"f5fc497dba9049e414c196e1ae0c2f37"},{url:"src/icons/ied-icons.js",revision:"b995e2eafb8b1b39db87a40b8c20fe27"},{url:"src/icons/lnode.js",revision:"5cda91e8f2268e784d70974babadaaa1"},{url:"src/Logging.js",revision:"093918643faa740ecfb9f36c114b12cb"},{url:"src/menu/ExportSettings.js",revision:"ec429e41e2e0cca7bf8638bf685f536c"},{url:"src/menu/Help.js",revision:"fd5c670aba0b9460051081e3d7bf4687"},{url:"src/menu/ImportIEDs.js",revision:"aa7e532cfc30b6be0cd8b87a24860d1f"},{url:"src/menu/Merge.js",revision:"69a0936038d217d63d672f6e5356d5dc"},{url:"src/menu/NewProject.js",revision:"d44e68fc3caacdd80daa15ef39295e6e"},{url:"src/menu/OpenProject.js",revision:"c604b8ee093b560dede0c57389f506d3"},{url:"src/menu/SaveProject.js",revision:"7bb79050d3561dba2ac299b8804332ad"},{url:"src/menu/SubscriberInfo.js",revision:"890c6799e0fa1885b55329feb4123985"},{url:"src/menu/UpdateDescriptionABB.js",revision:"9135f88caa43757e59a7fb171debc489"},{url:"src/menu/UpdateDescriptionSEL.js",revision:"5ef577218fb0989efd2d17203545cc93"},{url:"src/menu/UpdateSubstation.js",revision:"5c7b6a2f5c4df02430d9a6a8bfa1bde4"},{url:"src/open-scd.js",revision:"9ffc36a78b2c7ddcce31e77ace912a0e"},{url:"src/Plugging.js",revision:"9ce49117c8302d084f6664c590cc7e9e"},{url:"src/schemas.js",revision:"3017a37f278447276ed78123917640a5"},{url:"src/Setting.js",revision:"b8004db6d6849793ce858c65618df81f"},{url:"src/themes.js",revision:"8bbec3972055f9100a12262725b42940"},{url:"src/translations/de.js",revision:"ec7b0b2039dd91c38c4e5afc93d3ae7e"},{url:"src/translations/en.js",revision:"f94746146fbdb36049e1f16960464fe6"},{url:"src/translations/loader.js",revision:"9032cc10f0e34b8b6c3c1f5bc0a0c0a2"},{url:"src/validators/templates/dabda.js",revision:"7857ea35757f1c7a710d8d7920c7c331"},{url:"src/validators/templates/datype.js",revision:"b62a34805b0888b4040e296556ed42b0"},{url:"src/validators/templates/dosdo.js",revision:"6150e79c702d6720a2f89e12f7b1481e"},{url:"src/validators/templates/dotype.js",revision:"5063d74260edfe7892b53ae05fb9da49"},{url:"src/validators/templates/foundation.js",revision:"caa76bb82d61d23f3e7644a4300709ba"},{url:"src/validators/templates/lnodetype.js",revision:"bb47abea21144af71a3380d1122ca71d"},{url:"src/validators/ValidateSchema.js",revision:"3f9fb53f18cb6c86fd7f8081d49fa1a0"},{url:"src/validators/ValidateTemplates.js",revision:"2946ee7ab4912952926a81341b6305c0"},{url:"src/Waiting.js",revision:"a83e47c1b3bf4fbf2325a77dc3bb63e4"},{url:"src/wizard-checkbox.js",revision:"fd3b3f16f9e65e19e3ff86157a98dde4"},{url:"src/wizard-dialog.js",revision:"59403337537a3805444e6f168be3b4bb"},{url:"src/wizard-select.js",revision:"1ee1f71357a60c29a8cf999e24b9fbce"},{url:"src/wizard-textfield.js",revision:"0f64d2849cd649584ba0be10df7a8734"},{url:"src/WizardDivider.js",revision:"7ba98ab422db8eda09fe4690fa792a24"},{url:"src/Wizarding.js",revision:"7d55786347b7bd569d2db6e7cd44b4f1"},{url:"src/wizards.js",revision:"22352aa334c47b96ad30c9897f923c34"},{url:"src/wizards/abstractda.js",revision:"051edd0c1ec3ee9c572bbe09101fcdb9"},{url:"src/wizards/address.js",revision:"9e8b37c09f858acbfa8739cb5675e3a5"},{url:"src/wizards/bay.js",revision:"fc5efc9ec8395a6b514ae9490fbefdde"},{url:"src/wizards/bda.js",revision:"5d2079138bd839432a29cbc184d02124"},{url:"src/wizards/clientln.js",revision:"2a2378d05118ad835d9c3daf1c4a4110"},{url:"src/wizards/commmap-wizards.js",revision:"4eef278cc0117800e32597fe61e3e4d3"},{url:"src/wizards/conductingequipment.js",revision:"87d155369fe719a5ad1ac50ce438450a"},{url:"src/wizards/connectedap.js",revision:"7a37d3d323106c911876ec8a654abb93"},{url:"src/wizards/connectivitynode.js",revision:"a5a6128fbe206c152eb67ea0082789aa"},{url:"src/wizards/controlwithiedname.js",revision:"1379388648c977a76d74881dc4ded567"},{url:"src/wizards/da.js",revision:"5dfe59ceaa417a0a6f68be74a6610b29"},{url:"src/wizards/dai.js",revision:"17a2bfcc1283de1b092e5ba2e7c6fc85"},{url:"src/wizards/dataset.js",revision:"9a617033f8e86fcf499a5ee640711208"},{url:"src/wizards/eqfunction.js",revision:"b89af44795d039c852d04b25ab46579a"},{url:"src/wizards/eqsubfunction.js",revision:"31be92af114d627aeb1f8d074296148f"},{url:"src/wizards/fcda.js",revision:"3d90247c2e25d02609d55ede43d29664"},{url:"src/wizards/foundation/actions.js",revision:"17be38a1691f59d1b7578db64a1263df"},{url:"src/wizards/foundation/enums.js",revision:"a0f41606817cb4486ea2ecc8f32136f1"},{url:"src/wizards/foundation/finder.js",revision:"0f286aef09dc9778ac958f344402c3c6"},{url:"src/wizards/foundation/limits.js",revision:"4505ae4019aa04114d8b1319a8386d9b"},{url:"src/wizards/foundation/p-types.js",revision:"b48dba1e3142082b95160f2117f4a8c5"},{url:"src/wizards/foundation/references.js",revision:"8491dd1aa1e444904617ef4c991c69ee"},{url:"src/wizards/foundation/scl.js",revision:"beb97abf6844136e11895fdb9164544f"},{url:"src/wizards/function.js",revision:"44aa98b8af790f87f86d37a1fc9f1d5e"},{url:"src/wizards/gse.js",revision:"3f9d4c2599c0e3e69858f38822987fd2"},{url:"src/wizards/gsecontrol.js",revision:"677c45e202baed11a5c3ae74c23b48af"},{url:"src/wizards/ied.js",revision:"f909e71cd4be57913b74338826f6bea5"},{url:"src/wizards/lnode.js",revision:"9a1820bf48dca418c6043f992f7e0760"},{url:"src/wizards/optfields.js",revision:"60b486b58f766e7fd15bdec8c40ffcfd"},{url:"src/wizards/powertransformer.js",revision:"bc1b5087b2c15e3d59bd298445fceb5b"},{url:"src/wizards/reportcontrol.js",revision:"ad973bf66ca21a8af4434de49c64794c"},{url:"src/wizards/sampledvaluecontrol.js",revision:"ee2081c6053bdd0b4e5b5842de091c3d"},{url:"src/wizards/smv.js",revision:"f5234f6d8df66cba547379cb93e9727f"},{url:"src/wizards/smvopts.js",revision:"cac2c70e7cac19c4edff3fc52f76e9ad"},{url:"src/wizards/subfunction.js",revision:"c59d3001fca46ac3394b3d6f5db80a28"},{url:"src/wizards/subnetwork.js",revision:"2470f18213dc311eb8b3e74ee8177f0b"},{url:"src/wizards/substation.js",revision:"c1e466021b40fafd9045c673be99e50d"},{url:"src/wizards/terminal.js",revision:"dcb2f2513cf1bb95611de29cf69f0bac"},{url:"src/wizards/trgops.js",revision:"8f2a9f0b3a9693a85216f648c3000e4f"},{url:"src/wizards/voltagelevel.js",revision:"60daa418455d23684e7fa05e9470cba0"},{url:"src/wizards/wizard-library.js",revision:"b904eb7cd0ce4408ddcd0e67b0b36581"},{url:"browserconfig.xml",revision:"a8c181f3745541f8aa4653452592763b"},{url:"CC-EULA.pdf",revision:"84642855997c978c5d96187c63835413"},{url:"CHANGELOG.md",revision:"ba76e26841d0428138620e216d59f796"},{url:"favicon.ico",revision:"84e4fb128b947bc51ebf808a4f5b2512"},{url:"index.html",revision:"1e2de83e010b160dd7c6f6a401bdb571"},{url:"LICENSE.md",revision:"9cc11fc6c697d3f1d8ac1d3c3ccd0567"},{url:"manifest.json",revision:"46feea2506bb4d42482242a1c3eeecd9"},{url:"README.md",revision:"5bc597b33fc00643264328babb92a551"},{url:"ROADMAP.md",revision:"5bd42ef3131220d5a5c28f103491bbb0"},{url:"snowpack.config.js",revision:"8f614a08ab660f4ee00208f05ea56fbe"}]),function(e){const s=D();o(new C(s,e))}(S),o(/.*/,new class extends j{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(d),this.k=e.networkTimeoutSeconds||0}async q(e,i){const r=[],a=[];let c;if(this.k){const{id:s,promise:t}=this.P({request:e,logs:r,handler:i});c=s,a.push(t)}const t=this.A({timeoutId:c,request:e,logs:r,handler:i});a.push(t);const n=await i.waitUntil((async()=>await i.waitUntil(Promise.race(a))||await t)());if(!n)throw new s("no-response",{url:e.url});return n}P({request:e,logs:s,handler:i}){let r;return{promise:new Promise((s=>{r=setTimeout((async()=>{s(await i.cacheMatch(e))}),1e3*this.k)})),id:r}}async A({timeoutId:e,request:s,logs:i,handler:r}){let a,c;try{c=await r.fetchAndCachePut(s)}catch(e){e instanceof Error&&(a=e)}return e&&clearTimeout(e),!a&&c||(c=await r.cacheMatch(s)),c}},"GET");
//# sourceMappingURL=sw.js.map