1(globalThis.webpackChunkwp_constructor_blocks=globalThis.webpackChunkwp_constructor_blocks||[]).push([[8131],{15973:function(t,e){!function(t){"use strict";const e=",".charCodeAt(0),n=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),s=new Uint8Array(128);for(let t=0;t<64;t++){const e=i.charCodeAt(t);r[t]=e,s[e]=t}function o(t,e){let n=0,i=0,r=0;do{const e=t.next();r=s[e],n|=(31&r)<<i,i+=5}while(32&r);const o=1&n;return n>>>=1,o&&(n=-2147483648|-n),e+n}function h(t,e,n){let i=e-n;i=i<0?-i<<1|1:i<<1;do{let e=31&i;i>>>=5,i>0&&(e|=32),t.write(r[e])}while(i>0);return e}function a(t,n){return!(t.pos>=n)&&t.peek()!==e}const l="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}:{decode(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}};class u{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(t){const{buffer:e}=this;e[this.pos++]=t,16384===this.pos&&(this.out+=l.decode(e),this.pos=0)}flush(){const{buffer:t,out:e,pos:n}=this;return n>0?e+l.decode(t.subarray(0,n)):e}}class c{constructor(t){this.pos=0,this.buffer=t}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(t){const{buffer:e,pos:n}=this,i=e.indexOf(t,n);return-1===i?e.length:i}}const d=[];function f(t,n,i,r){const s=t[n],{0:o,1:a,2:l,3:u,4:c,vars:d}=s;n>0&&i.write(e),r[0]=h(i,o,r[0]),h(i,a,0),h(i,c,0),h(i,6===s.length?1:0,0),6===s.length&&h(i,s[5],0);for(const t of d)h(i,t,0);for(n++;n<t.length;){const e=t[n],{0:s,1:o}=e;if(s>l||s===l&&o>=u)break;n=f(t,n,i,r)}return i.write(e),r[0]=h(i,l,r[0]),h(i,u,0),n}function g(t,n,i,r){const s=t[n],{0:o,1:a,2:l,3:u,isScope:c,callsite:d,bindings:f}=s;if(r[0]<o?(p(i,r[0],o),r[0]=o,r[1]=0):n>0&&i.write(e),r[1]=h(i,s[1],r[1]),h(i,(6===s.length?1:0)|(d?2:0)|(c?4:0),0),6===s.length){const{4:t,5:e}=s;t!==r[2]&&(r[3]=0),r[2]=h(i,t,r[2]),r[3]=h(i,e,r[3])}if(d){const{0:t,1:e,2:n}=s.callsite;t!==r[4]?(r[5]=0,r[6]=0):e!==r[5]&&(r[6]=0),r[4]=h(i,t,r[4]),r[5]=h(i,e,r[5]),r[6]=h(i,n,r[6])}if(f)for(const t of f){t.length>1&&h(i,-t.length,0),h(i,t[0][0],0);let e=o,n=a;for(let r=1;r<t.length;r++){const s=t[r];e=h(i,s[1],e),n=h(i,s[2],n),h(i,s[0],0)}}for(n++;n<t.length;){const e=t[n],{0:s,1:o}=e;if(s>l||s===l&&o>=u)break;n=g(t,n,i,r)}return r[0]<l?(p(i,r[0],l),r[0]=l,r[1]=0):i.write(e),r[1]=h(i,u,r[1]),n}function p(t,e,i){do{t.write(n)}while(++e<i)}function m(t){t.sort(w)}function w(t,e){return t[0]-e[0]}t.decode=function(t){const{length:e}=t,n=new c(t),i=[];let r=0,s=0,h=0,l=0,u=0;do{const t=n.indexOf(";"),e=[];let c=!0,d=0;for(r=0;n.pos<t;){let i;r=o(n,r),r<d&&(c=!1),d=r,a(n,t)?(s=o(n,s),h=o(n,h),l=o(n,l),a(n,t)?(u=o(n,u),i=[r,s,h,l,u]):i=[r,s,h,l]):i=[r],e.push(i),n.pos++}c||m(e),i.push(e),n.pos=t+1}while(n.pos<=e);return i},t.decodeGeneratedRanges=function(t){const{length:e}=t,n=new c(t),i=[],r=[];let s=0,h=0,l=0,u=0,f=0,g=0,p=0,m=0;do{const t=n.indexOf(";");let e=0;for(;n.pos<t;n.pos++){if(e=o(n,e),!a(n,t)){const t=r.pop();t[2]=s,t[3]=e;continue}const c=o(n,0),w=2&c,b=4&c;let S,x=null,C=d;if(1&c){const t=o(n,h);l=o(n,h===t?l:0),h=t,S=[s,e,0,0,t,l]}else S=[s,e,0,0];if(S.isScope=!!b,w){const t=u,e=f;u=o(n,u);const i=t===u;f=o(n,i?f:0),g=o(n,i&&e===f?g:0),x=[u,f,g]}if(S.callsite=x,a(n,t)){C=[];do{p=s,m=e;const t=o(n,0);let i;if(t<-1){i=[[o(n,0)]];for(let e=-1;e>t;e--){const t=p;p=o(n,p),m=o(n,p===t?m:0);const e=o(n,0);i.push([e,p,m])}}else i=[[t]];C.push(i)}while(a(n,t))}S.bindings=C,i.push(S),r.push(S)}s++,n.pos=t+1}while(n.pos<e);return i},t.decodeOriginalScopes=function(t){const{length:e}=t,n=new c(t),i=[],r=[];let s=0;for(;n.pos<e;n.pos++){s=o(n,s);const t=o(n,0);if(!a(n,e)){const e=r.pop();e[2]=s,e[3]=t;continue}const h=o(n,0),l=1&o(n,0)?[s,t,0,0,h,o(n,0)]:[s,t,0,0,h];let u=d;if(a(n,e)){u=[];do{const t=o(n,0);u.push(t)}while(a(n,e))}l.vars=u,i.push(l),r.push(l)}return i},t.encode=function(t){const i=new u;let r=0,s=0,o=0,a=0;for(let l=0;l<t.length;l++){const u=t[l];if(l>0&&i.write(n),0===u.length)continue;let c=0;for(let t=0;t<u.length;t++){const n=u[t];t>0&&i.write(e),c=h(i,n[0],c),1!==n.length&&(r=h(i,n[1],r),s=h(i,n[2],s),o=h(i,n[3],o),4!==n.length&&(a=h(i,n[4],a)))}}return i.flush()},t.encodeGeneratedRanges=function(t){if(0===t.length)return"";const e=new u;for(let n=0;n<t.length;)n=g(t,n,e,[0,0,0,0,0,0,0]);return e.flush()},t.encodeOriginalScopes=function(t){const e=new u;for(let n=0;n<t.length;)n=f(t,n,e,[0]);return e.flush()}
vendor: 6,462 bytes, line 1
1,Object.defineProperty(t,"__esModule",{value:!0})}(e)},68131:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Bundle:()=>S,SourceMap:()=>a,default:()=>w});var i=n(15973);class r{constructor(t){this.bits=t instanceof r?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(31&t)}has(t){return!!(this.bits[t>>5]&1<<(31&t))}}class s{constructor(t,e,n){this.start=t,this.end=e,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new s(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let e=this;for(;e;)t(e),e=e.next}eachPrevious(t){let e=this;for(;e;)t(e),e=e.previous}edit(t,e,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const e=t-this.start,n=this.original.slice(0,e),i=this.original.slice(e);this.original=n;const r=new s(t,this.end,i);return r.outro=this.outro,this.outro="",this.end=t,this.edited?(r.edit("",!1),this.content=""):this.content=n,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const e=this.content.replace(t,"");return e.length?(e!==this.content&&(this.split(this.start+e.length).edit("",void 0,!0),this.edited&&this.edit(e,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),!!this.intro.length||void 0)}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const e=this.content.replace(t,"");if(e.length){if(e!==this.content){const t=this.split(this.end-e.length);this.edited&&t.edit(e,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),!!this.outro.length||void 0}}function o(){return"undefined"!=typeof globalThis&&"function"==typeof globalThis.btoa?t=>globalThis.btoa(unescape(encodeURIComponent(t))):"function"==typeof Buffer?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const h=o();class a{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=(0,i.encode)(t.mappings),void 0!==t.x_google_ignoreList&&(this.x_google_ignoreList=t.x_google_ignoreList),void 0!==t.debugId&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+h(this.toString())}}function l(t,e){const n=t.split(/[/\\]/),i=e.split(/[/\\]/);for(n.pop();n[0]===i[0];)n.shift(),i.shift();if(n.length){let t=n.length;for(;t--;)n[t]=".."}return n.concat(i).join("/")}const u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function d(t){const e=t.split("\n"),n=[];for(let t=0,i=0;t<e.length;t++)n.push(i),i+=e[t].length+1;return function(t){let e=0,i=n.length;for(;e<i;){const r=e+i>>1;t<n[r]?i=r:e=r+1}const r=e-1;return{line:r,column:t-n[r]}}}const f=/\w/;class g{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,e,n,i){if(e.length){const r=e.length-1;let s=e.indexOf("\n",0),o=-1;for(;s>=0&&r>s;){const r=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&r.push(i),this.rawSegments.push(r),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=s,s=e.indexOf("\n",s+1)}const h=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&h.push(i),this.rawSegments.push(h),this.advance(e.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(e));this.pending=null}addUneditedChunk(t,e,n,i,r){let s=e.start,o=!0,h=!1;for(;s<e.end;){if("\n"===n[s])i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,h=!1;else{if(this.hires||o||r.has(s)){const e=[this.generatedCodeColumn,t,i.line,i.column];"boundary"===this.hires?f.test(n[s])?h||(this.rawSegments.push(e),h=!0):(this.rawSegments.push(e),h=!1):this.rawSegments.push(e)}i.column+=1,this.generatedCodeColumn+=1,o=!1}s+=1}this.pending=null}advance(t){if(!t)return;const e=t.split("\n");if(e.length>1){for(let t=0;t<e.length-1;t++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}}const p="\n",m={insertLeft:!1,insertRight:!1,storeName:!1};class w{constructor(t,e={}){const n=new s(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:e.filename},indentExclusionRanges:{writable:!0,value:e.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new r},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:e.ignoreList},offset:{writable:!0,value:e.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.appendLeft(e):this.intro+=e,this}appendRight(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.appendRight(e):this.outro+=e,this}clone(){const t=new w(this.original,{filename:this.filename,offset:this.offset});let e=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=e.clone();for(;e;){t.byStart[n.start]=n,t.byEnd[n.end]=n;const i=e.next,r=i&&i.clone();r&&(n.next=r,r.previous=n,n=r),e=i}
vendor: 14,352 bytes, line 1
1return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new r(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const e=Object.keys(this.storedNames),n=new g(t.hires),i=d(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext((t=>{const r=i(t.start);t.intro.length&&n.advance(t.intro),t.edited?n.addEdit(0,t.content,r,t.storeName?e.indexOf(t.original):-1):n.addUneditedChunk(0,t,this.original,r,this.sourcemapLocations),t.outro.length&&n.advance(t.outro)})),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?l(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:e,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(t){return new a(this.generateDecodedMap(t))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(t){const e=t.split("\n"),n=e.filter((t=>/^\t+/.test(t))),i=e.filter((t=>/^ {2,}/.test(t)));if(0===n.length&&0===i.length)return null;if(n.length>=i.length)return"\t";const r=i.reduce(((t,e)=>{const n=/^ +/.exec(e)[0].length;return Math.min(n,t)}),1/0);return new Array(r+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(t,e){const n=/^[^\r\n]/gm;if(c(t)&&(e=t,t=void 0),void 0===t&&(this._ensureindentStr(),t=this.indentStr||"\t"),""===t)return this;const i={};(e=e||{}).exclude&&("number"==typeof e.exclude[0]?[e.exclude]:e.exclude).forEach((t=>{for(let e=t[0];e<t[1];e+=1)i[e]=!0}));let r=!1!==e.indentStart;const s=e=>r?`${t}${e}`:(r=!0,e);this.intro=this.intro.replace(n,s);let o=0,h=this.firstChunk;for(;h;){const e=h.end;if(h.edited)i[o]||(h.content=h.content.replace(n,s),h.content.length&&(r="\n"===h.content[h.content.length-1]));else for(o=h.start;o<e;){if(!i[o]){const e=this.original[o];"\n"===e?r=!0:"\r"!==e&&r&&(r=!1,o===h.start||(this._splitChunk(h,o),h=h.next),h.prependRight(t))}o+=1}o=h.end,h=h.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,e){return m.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),m.insertLeft=!0),this.appendLeft(t,e)}insertRight(t,e){return m.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),m.insertRight=!0),this.prependRight(t,e)}move(t,e,n){if(t+=this.offset,e+=this.offset,(n+=this.offset)>=t&&n<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(n);const i=this.byStart[t],r=this.byEnd[e],s=i.previous,o=r.next,h=this.byStart[n];if(!h&&r===this.lastChunk)return this;const a=h?h.previous:this.lastChunk;return s&&(s.next=o),o&&(o.previous=s),a&&(a.next=i),h&&(h.previous=r),i.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=a,r.next=h||null,a||(this.firstChunk=i),h||(this.lastChunk=r),this}overwrite(t,e,n,i){return i=i||{},this.update(t,e,n,{...i,overwrite:!i.contentOnly})}update(t,e,n,i){if(t+=this.offset,e+=this.offset,"string"!=typeof n)throw new TypeError("replacement content must be a string");if(0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range â use appendLeft or prependRight instead");this._split(t),this._split(e),!0===i&&(m.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),m.storeName=!0),i={storeName:!0});const r=void 0!==i&&i.storeName,o=void 0!==i&&i.overwrite;if(r){const n=this.original.slice(t,e);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],a=this.byEnd[e];if(h){let t=h;for(;t!==a;){if(t.next!==this.byStart[t.end])throw new Error("Cannot overwrite across a split point");t=t.next,t.edit("",!1)}h.edit(n,r,!o)}else{const i=new s(t,e,"").edit(n,r);a.next=i,i.previous=a}return this}prepend(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.prependLeft(e):this.intro=e+this.intro,this}prependRight(t,e){if(t+=this.offset,"string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.prependRight(e):this.outro=e+this.outro,this}remove(t,e){if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=e>n.end?this.byStart[n.end]:null;return this}reset(t,e){if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let n=this.byStart[t];for(;n;)n.reset(),n=e>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(p);if(-1!==t)return this.outro.substr(t+1);let e=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(p),-1!==t)return n.outro.substr(t+1)+e;e=n.outro+e}if(n.content.length>0){if(t=n.content.lastIndexOf(p),-1!==t)return n.content.substr(t+1)+e;e=n.content+e}if(n.intro.length>0){if(t=n.intro.lastIndexOf(p),-1!==t)return n.intro.substr(t+1)+e;e=n.intro+e}}while(n=n.previous);return t=this.intro.lastIndexOf(p),-1!==t?this.intro.substr(t+1)+e:this.intro+e}slice(t=0,e=this.original.length-this.offset){if(t+=this.offset,e+=this.offset,0!==this.original.length){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<e&&i.end>=e)return n;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const r=i;for(;i;){!i.intro||r===i&&i.start!==t||(n+=i.intro);const s=i.start<e&&i.end>=e;if(s&&i.edited&&i.end!==e)throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);const o=r===i?t-i.start:0,h=s?i.content.length+e-i.end:i.content.length;if(n+=i.content.slice(o,h),!i.outro||s&&i.end!==e||(n+=i.outro),s)break;i=i.next}return n}snip(t,e){const n=this.clone();return n.remove(0,t),n.remove(e,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let e=this.lastSearchedChunk;const n=t>e.end;for(;e;){if(e.contains(t))return this._splitChunk(e,t);e=n?this.byStart[e.end]:this.byEnd[e.start]}}_splitChunk(t,e){if(t.edited&&t.content.length){const n=d(this.original)(e);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} â "${t.original}")`)}const n=t.split(e);return this.byEnd[e]=t,this.byStart[e]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,e=this.firstChunk;for(;e;)t+=e.toString(),e=e.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do{if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1}while(t=t.next);return!0}length(){let t=this.firstChunk,e=0;do{e+=t.intro.length+t.content.length+t.outro.length}while(t=t.next);return e}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let n=this.lastChunk;do{const t=n.end,i=n.trimEnd(e);if(n.end!==t&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let n=this.firstChunk;do{const t=n.end,i=n.trimStart(e);if(n.end!==t&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,e){function n(t,n){return"string"==typeof e?e.replace(/\$(\$|&|\d+)/g,((e,n)=>"$"===n?"$":"&"===n?t[0]:+n<t.length?t[+n]:`$${n}`)):e(...t,t.index,n,t.groups)}if(t.global)(function(t,e){let n;const i=[];for(;n=t.exec(e);)i.push(n);return i})(t,this.original).forEach((t=>{if(null!=t.index){const e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}));else{const e=this.original.match(t);if(e&&null!=e.index){const t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}}return this}_replaceString(t,e){const{original:n}=this,i=n.indexOf(t);return-1!==i&&this.overwrite(i,i+t.length,e),this}replace(t,e){return"string"==typeof t?this._replaceString(t,e):this._replaceRegexp(t,e)}_replaceAllString(t,e){const{original:n}=this,i=t.length;for(let r=n.indexOf(t);-1!==r;r=n.indexOf(t,r+i))n.slice(r,r+i)!==e&&this.overwrite(r,r+i,e);return this}replaceAll(t,e){if("string"==typeof t)return this._replaceAllString(t,e);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,e)}}const b=Object.prototype.hasOwnProperty;class S{constructor(t={}){this.intro=t.intro||"",this.separator=void 0!==t.separator?t.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}addSource(t){if(t instanceof w)return this.addSource({content:t,filename:t.filename,separator:this.separator});if(!c(t)||!t.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","ignoreList","indentExclusionRanges","separator"].forEach((e=>{b.call(t,e)||(t[e]=t.content[e])})),void 0===t.separator&&(t.separator=this.separator),t.filename)if(b.call(this.uniqueSourceIndexByFilename,t.filename)){const e=this.uniqueSources[this.uniqueSourceIndexByFilename[t.filename]];if(t.content.original!==e.content)throw new Error(`Illegal source: same filename (${t.filename}), different contents`)}else this.uniqueSourceIndexByFilename[t.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:t.filename,content:t.content.original});return this.sources.push(t),this}append(t,e){return this.addSource({content:new w(t),separator:e&&e.separator||""}),this}clone(){const t=new S({intro:this.intro,separator:this.separator});return this.sources.forEach((e=>{t.addSource({filename:e.filename,content:e.content.clone(),separator:e.separator})})),t}generateDecodedMap(t={}){const e=[];let n;this.sources.forEach((t=>{Object.keys(t.content.storedNames).forEach((t=>{~e.indexOf(t)||e.push(t)}))}));const i=new g(t.hires);return this.intro&&i.advance(this.intro),this.sources.forEach(((t,r)=>{r>0&&i.advance(this.separator);const s=t.filename?this.uniqueSourceIndexByFilename[t.filename]:-1,o=t.content,h=d(o.original);o.intro&&i.advance(o.intro),o.firstChunk.eachNext((n=>{const r=h(n.start);n.intro.length&&i.advance(n.intro),t.filename?n.edited?i.addEdit(s,n.content,r,n.storeName?e.indexOf(n.original):-1):i.addUneditedChunk(s,n,o.original,r,o.sourcemapLocations):i.advance(n.content),n.outro.length&&i.advance(n.outro)})),o.outro&&i.advance(o.outro),t.ignoreList&&-1!==s&&(void 0===n&&(n=[]),n.push(s))})),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:this.uniqueSources.map((e=>t.file?l(t.file,e.filename):e.filename)),sourcesContent:this.uniqueSources.map((e=>t.includeContent?e.content:null)),names:e,mappings:i.raw,x_google_ignoreList:n}}generateMap(t){return new a(this.generateDecodedMap(t))}getIndentString(){const t={};return this.sources.forEach((e=>{const n=e.content._getRawIndentString();null!==n&&(t[n]||(t[n]=0),t[n]+=1)})),Object.keys(t).sort(((e,n)=>t[e]-t[n]))[0]||"\t"}indent(t){if(arguments.length||(t=this.getIndentString()),""===t)return this;let e=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(((n,i)=>{const r=void 0!==n.separator?n.separator:this.separator,s=e||i>0&&/\r?\n$/.test(r);n.content.indent(t,{exclude:n.indentExclusionRanges,indentStart:s}),e="\n"===n.content.lastChar()})),this.intro&&(this.intro=t+this.intro.replace(/^[^\n]/gm,((e,n)=>n>0?t+e:e))),this}prepend(t){return this.intro=t+this.intro,this}toString(){const t=this.sources.map(((t,e)=>{const n=void 0!==t.separator?t.separator:this.separator;return(e>0?n:"")+t.content.toString()})).join("");return this.intro+t}isEmpty(){return!(this.intro.length&&this.intro.trim()||this.sources.some((t=>!t.content.isEmpty())))}length(){return this.sources.reduce(((t,e)=>t+e.content.length()),this.intro.length)}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimStart(t){const e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),!this.intro){let e,n=0;do{if(e=this.sources[n++],!e)break}while(!e.content.trimStartAborted(t))}return this}trimEnd(t){const e=new RegExp((t||"\\s")+"+$");let n,i=this.sources.length-1;do{if(n=this.sources[i--],!n){this.intro=this.intro.replace(e,"");break}}while(!n.content.trimEndAborted(t));return this}}}}]);
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.