1import{a as T}from"./chunk-M5MSELZV.js";import"./chunk-HE2D45TV.js";var O;function R(t){O??=new TextEncoder;let n=O.encode(t),e=new DataView(n.buffer,n.byteOffset,n.byteLength),s=E(e,n.length,0),o=E(e,n.length,102072);return s==0&&(o==0||o==1)&&(s=s^319790063,o=o^-1801410264),BigInt.asUintN(32,BigInt(s))<<BigInt(32)|BigInt.asUintN(32,BigInt(o))}function S(t,n=""){let e=R(t);return n&&(e=BigInt.asUintN(64,e<<BigInt(1))|e>>BigInt(63)&BigInt(1),e+=R(n)),BigInt.asUintN(63,e).toString()}function E(t,n,e){let s=2654435769,o=2654435769,i=0,f=n-12;for(;i<=f;i+=12){s+=t.getUint32(i,!0),o+=t.getUint32(i+4,!0),e+=t.getUint32(i+8,!0);let r=M(s,o,e);s=r[0],o=r[1],e=r[2]}let a=n-i;return e+=n,a>=4?(s+=t.getUint32(i,!0),i+=4,a>=8?(o+=t.getUint32(i,!0),i+=4,a>=9&&(e+=t.getUint8(i++)<<8),a>=10&&(e+=t.getUint8(i++)<<16),a===11&&(e+=t.getUint8(i++)<<24)):(a>=5&&(o+=t.getUint8(i++)),a>=6&&(o+=t.getUint8(i++)<<8),a===7&&(o+=t.getUint8(i++)<<16))):(a>=1&&(s+=t.getUint8(i++)),a>=2&&(s+=t.getUint8(i++)<<8),a===3&&(s+=t.getUint8(i++)<<16)),M(s,o,e)[2]}function M(t,n,e){return t-=n,t-=e,t^=e>>>13,n-=e,n-=t,n^=t<<8,e-=t,e-=n,e^=n>>>13,t-=n,t-=e,t^=e>>>12,n-=e,n-=t,n^=t<<16,e-=t,e-=n,e^=n>>>5,t-=n,t-=e,t^=e>>>3,n-=e,n-=t,n^=t<<10,e-=t,e-=n,e^=n>>>15,[t,n,e]}function N(t,n,e,s,o=[]){let i={},f={},a={},r=_(t[0],t.raw[0]),c=[r.text],h=[],g=r.text;for(let l=1;l<t.length;l++){let{messagePart:m,placeholderName:u=k(l),associatedMessageId:$}=y(t[l],t.raw[l]);g+=`{$${u}}${m}`,n!==void 0&&(i[u]=n[l-1],f[u]=o[l-1]),h.push(u),$!==void 0&&(a[u]=$),c.push(m)}let A=r.customId||S(g,r.meaning||""),U=r.legacyIds?r.legacyIds.filter(l=>l!==A):[];return{id:A,legacyIds:U,substitutions:i,substitutionLocations:f,text:g,customId:r.customId,meaning:r.meaning||"",description:r.description||"",messageParts:c,messagePartLocations:s,placeholderNames:h,associatedMessageIds:a,location:e}}function _(t,n){let{text:e,block:s}=B(t,n);if(s===void 0)return{text:e};{let[o,...i]=s.split("\u241F"),[f,a]=o.split("@@",2),[r,c]=f.split("|",2);return c===void 0&&(c=r,r=void 0),c===""&&(c=void 0),{text:e,meaning:r,description:c,customId:a,legacyIds:i}}}function y(t,n){let{text:e,block:s}=B(t,n);if(s===void 0)return{messagePart:e};{let[o,i]=s.split("@@");return{messagePart:e,placeholderName:o,associatedMessageId:i}}}function B(t,n){if(n.charAt(0)!==":")return{text:t};{let e=z(t,n);return{block:t.substring(1,e),text:t.substring(e+1)}}}function k(t){return t===1?"PH":`PH_${t-1}`}function z(t,n){for(let e=1,s=1;e<t.length;e++,s++)if(n[s]==="\\")s++;else if(t[e]===":")return e;throw new Error(`Unterminated $localize metadata block in "${n}".`)}var I=class extends Error{parsedMessage;type="MissingTranslationError";constructor(n){super(`No translation found for ${x(n)}.`),this.parsedMessage=n}};function D(t,n,e){let s=N(n,e),o=t[s.id];if(s.legacyIds!==void 0)for(let i=0;i<s.legacyIds.length&&o===void 0;i++)o=t[s.legacyIds[i]];if(o===void 0)throw new I(s);return[o.messageParts,o.placeholderNames.map(i=>{if(s.substitutions.hasOwnProperty(i))return s.substitutions[i];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${x(s)}. 2The translation contains a placeholder with name ${i}, which does not exist in the message.`)})]}function K(t){let n=t.split(/{\$([^}]*)}/),e=[n[0]],s=[];for(let i=1;i<n.length-1;i+=2)s.push(n[i]),e.push(`${n[i+1]}`);let o=e.map(i=>i.charAt(0)===":"?"\\"+i:i);return{text:t,messageParts:G(e,o),placeholderNames:s}}function G(t,n){return Object.defineProperty(t,"raw",{value:n}),t}function x(t){let n=t.meaning&&` - "${t.meaning}"`,e=t.legacyIds&&t.legacyIds.length>0?` [${t.legacyIds.map(s=>`"${s}"`).join(", ")}]`:"";return`"${t.id}"${e} ("${t.text}"${n})`}function L(t){$localize.translate||($localize.translate=b),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(t).forEach(n=>{$localize.TRANSLATIONS[n]=K(t[n])})}function b(t,n){try{return D($localize.TRANSLATIONS,t,n)}catch(e){return console.warn(e.message),[t,n]}}var j="en",d=localStorage.getItem(T);d&&d!==j?fetch(`/assets/locale/${d}.json`).then(t=>t.json()).then(t=>L(t.translations)).then(()=>p()).catch(()=>{console.warn(`Could not load language ${d}, falling back to default language`),p()}):p();function p(){import("./chunk-UVGK6ELF.js").then(t=>t.bootstrap())} 3//noopmain-DQT66OYE.js.map
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.