@locker/shared
Advanced tools
Comparing version 0.17.23 to 0.17.24
@@ -28,2 +28,3 @@ /*! | ||
freeze: ObjectFreeze$LWS, | ||
defineProperties: ObjectDefineProperties$LWS, | ||
getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors$LWS, | ||
@@ -75,2 +76,3 @@ getOwnPropertySymbols: ObjectGetOwnPropertySymbols$LWS, | ||
const { | ||
asyncIterator: SymbolAsyncIterator$LWS, | ||
for: SymbolFor$LWS, | ||
@@ -219,3 +221,11 @@ iterator: SymbolIterator$LWS, | ||
} = Boolean.prototype; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const ERR_INVALID_SANDBOX_KEY$LWS = 'Invalid sandbox key.'; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
const LOCKER_SERVICE_KEY$LWS = 'LSKey'; | ||
const LOCKER_SERVICE_KEY_LOWERED$LWS = 'lskey'; // This package is bundled by third-parties that have their own build time | ||
// replacement logic. Instead of customizing each build system to be aware | ||
@@ -226,13 +236,14 @@ // of this package we implement a two phase debug mode by performing small | ||
// is used for light weight initialization time debug while phase two is | ||
// reserved for post initialization runtime. | ||
// istanbul ignore next | ||
// reserved for post initialization runtime | ||
const LOCKER_UNMINIFIED_FLAG$LWS = `${() => | ||
/* $LWS */ | ||
1}`.includes(LOCKER_IDENTIFIER_MARKER$LWS); | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const LOCKER_UNMINIFIED_FLAG$LWS = // eslint-disable-next-line @typescript-eslint/naming-convention | ||
/* istanbul ignore next */ | ||
`${function LOCKER_UNMINIFIED_FLAG$LWS() { | ||
return LOCKER_UNMINIFIED_FLAG$LWS.name; | ||
}()}`.includes('LOCKER_UNMINIFIED_FLAG'); | ||
const SANDBOX_EVAL_CONTEXT_NAME$LWS = '$lockerEvalContext$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; // Legacy symbol used by packages/locker-core-engine/src/LockerFilter.js. | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
const TO_STRING_BRAND_ARRAY$LWS = '[object Array]'; | ||
@@ -266,3 +277,16 @@ const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]'; | ||
} = DateCtor$LWS.prototype; | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
const { | ||
bind: FunctionProtoBind$LWS, | ||
@@ -272,9 +296,31 @@ toString: FunctionProtoToString$LWS | ||
function alwaysNull$LWS() { | ||
return null; | ||
function noop$LWS() {// No operation performed. | ||
} | ||
function noop$LWS() {// No operation performed. | ||
function proxyMaskFunction$LWS(func$LWS, maskFunc$LWS) { | ||
const proxy$LWS = new ProxyCtor$LWS(maskFunc$LWS, { | ||
apply(_target$LWS, thisArg$LWS, args$LWS) { | ||
if (thisArg$LWS === proxy$LWS || thisArg$LWS === maskFunc$LWS) { | ||
thisArg$LWS = func$LWS; | ||
} | ||
return ReflectApply$LWS(func$LWS, thisArg$LWS, args$LWS); | ||
}, | ||
construct(_target$LWS, args$LWS, newTarget$LWS) { | ||
if (newTarget$LWS === proxy$LWS || newTarget$LWS === maskFunc$LWS) { | ||
newTarget$LWS = func$LWS; | ||
} | ||
return ReflectConstruct$LWS(func$LWS, args$LWS, newTarget$LWS); | ||
} | ||
}); | ||
return proxy$LWS; | ||
} | ||
function identity$LWS(value$LWS) { | ||
return value$LWS; | ||
} | ||
const MapCtor$LWS = Map; | ||
@@ -334,4 +380,3 @@ const { | ||
valueOf: NumberProtoValueOf$LWS | ||
} = NumberCtor$LWS.prototype; // Used by '@locker/near-membrane-dom'. | ||
} = NumberCtor$LWS.prototype; | ||
const StringCtor$LWS = String; | ||
@@ -354,3 +399,3 @@ const { | ||
} = StringProto$LWS; | ||
const QUOTE_CHAR_REG_EXP_MAP$LWS = { | ||
const quoteCharRegExpRegistry$LWS = { | ||
__proto__: null, | ||
@@ -389,3 +434,3 @@ [CHAR_QUOTE_DOUBLE$LWS]: /\\?"/g, | ||
function enquote$LWS(string$LWS, quoteChar$LWS = CHAR_QUOTE_SINGLE$LWS) { | ||
return quoteChar$LWS + ReflectApply$LWS(StringProtoReplace$LWS, string$LWS, [QUOTE_CHAR_REG_EXP_MAP$LWS[quoteChar$LWS], `\\${quoteChar$LWS}`]) + quoteChar$LWS; | ||
return quoteChar$LWS + ReflectApply$LWS(StringProtoReplace$LWS, string$LWS, [quoteCharRegExpRegistry$LWS[quoteChar$LWS], `\\${quoteChar$LWS}`]) + quoteChar$LWS; | ||
} | ||
@@ -825,4 +870,2 @@ | ||
} = JSON; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
@@ -841,3 +884,3 @@ function getNearMembraneSerializedValue$LWS(object$LWS) { | ||
const SEEN_OBJECTS_MAP$LWS = toSafeMap$LWS(new MapCtor$LWS()); | ||
const SEEN_OBJECTS$LWS = toSafeMap$LWS(new MapCtor$LWS()); | ||
@@ -1041,3 +1084,3 @@ function cloneBoxedPrimitive$LWS(object$LWS) { | ||
let cloneValue$LWS = SEEN_OBJECTS_MAP$LWS.get(originalValue$LWS); | ||
let cloneValue$LWS = SEEN_OBJECTS$LWS.get(originalValue$LWS); | ||
@@ -1099,3 +1142,3 @@ if (cloneValue$LWS) { | ||
// Skip cloning non-membrane proxied objects. | ||
SEEN_OBJECTS_MAP$LWS.set(originalValue$LWS, originalValue$LWS); | ||
SEEN_OBJECTS$LWS.set(originalValue$LWS, originalValue$LWS); | ||
setter$LWS(originalValue$LWS); // eslint-disable-next-line no-extra-label, no-labels | ||
@@ -1140,3 +1183,3 @@ | ||
SEEN_OBJECTS_MAP$LWS.set(originalValue$LWS, cloneValue$LWS); | ||
SEEN_OBJECTS$LWS.set(originalValue$LWS, cloneValue$LWS); | ||
setter$LWS(cloneValue$LWS); | ||
@@ -1151,7 +1194,10 @@ } | ||
try { | ||
result$LWS = partialStructuredCloneInternal$LWS(value$LWS); // eslint-disable-next-line no-empty | ||
} catch (_unused15$LWS) {} | ||
if (typeof value$LWS === 'object' && value$LWS !== null) { | ||
try { | ||
result$LWS = partialStructuredCloneInternal$LWS(value$LWS); // eslint-disable-next-line no-empty | ||
} catch (_unused15$LWS) {} | ||
SEEN_OBJECTS_MAP$LWS.clear(); | ||
SEEN_OBJECTS$LWS.clear(); | ||
} | ||
return result$LWS; | ||
@@ -1201,6 +1247,4 @@ } | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); // This is used by packages/locker-core-engine/src/LockerFilter.js | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
function isTargetLive$LWS(target$LWS, targetTraits$LWS = 0 | ||
@@ -1323,21 +1367,27 @@ /* TargetTraits.None */ | ||
} = Math; | ||
const PREFIX_HEAD$LWS = 'LSKey-'; | ||
const PREFIX_TAIL$LWS = '$'; | ||
const NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}-`; | ||
const NS_TAIL$LWS = '$'; | ||
const STORAGE_NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}[`; | ||
const STORAGE_NS_TAIL$LWS = ']'; | ||
function getNamespacePrefix$LWS(namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
function getNamespaceMarker$LWS(namespace$LWS) { | ||
return `${NS_HEAD$LWS}${namespace$LWS}${NS_TAIL$LWS}`; | ||
} | ||
function isNamespacePrefixed$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [`${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`]); | ||
function getStorageNamespaceMarker$LWS(namespace$LWS) { | ||
return `${STORAGE_NS_HEAD$LWS}${namespace$LWS}${STORAGE_NS_TAIL$LWS}`; | ||
} | ||
function prefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}${key$LWS}`; | ||
function prependNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function unprefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
function prependStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getStorageNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function removeNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const prefix$LWS = `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [prefix$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [prefix$LWS.length]) : key$LWS; | ||
const marker$LWS = getNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
@@ -1348,2 +1398,19 @@ | ||
function removeStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const marker$LWS = getStorageNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
return ''; | ||
} | ||
function startsWithNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
function startsWithStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getStorageNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
const PromiseCtor$LWS = Promise; | ||
@@ -1356,15 +1423,2 @@ const { | ||
const PromiseReject$LWS = PromiseCtor$LWS.reject.bind(PromiseCtor$LWS); | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
exports.ArrayBufferIsView = ArrayBufferIsView$LWS; | ||
@@ -1392,2 +1446,3 @@ exports.ArrayBufferProtoByteLengthGetter = ArrayBufferProtoByteLengthGetter$LWS; | ||
exports.DateProtoValueOf = DateProtoValueOf$LWS; | ||
exports.ERR_INVALID_SANDBOX_KEY = ERR_INVALID_SANDBOX_KEY$LWS; | ||
exports.ErrorCtor = ErrorCtor$LWS; | ||
@@ -1399,2 +1454,6 @@ exports.FunctionProtoBind = FunctionProtoBind$LWS; | ||
exports.LOCKER_IDENTIFIER_MARKER = LOCKER_IDENTIFIER_MARKER$LWS; | ||
exports.LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL = LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS; | ||
exports.LOCKER_NEAR_MEMBRANE_SYMBOL = LOCKER_NEAR_MEMBRANE_SYMBOL$LWS; | ||
exports.LOCKER_SERVICE_KEY = LOCKER_SERVICE_KEY$LWS; | ||
exports.LOCKER_SERVICE_KEY_LOWERED = LOCKER_SERVICE_KEY_LOWERED$LWS; | ||
exports.LOCKER_UNMINIFIED_FLAG = LOCKER_UNMINIFIED_FLAG$LWS; | ||
@@ -1413,2 +1472,3 @@ exports.LockerSecurityError = LockerSecurityError$LWS; | ||
exports.ObjectCtor = ObjectCtor$LWS; | ||
exports.ObjectDefineProperties = ObjectDefineProperties$LWS; | ||
exports.ObjectFreeze = ObjectFreeze$LWS; | ||
@@ -1425,2 +1485,3 @@ exports.ObjectGetOwnPropertyDescriptors = ObjectGetOwnPropertyDescriptors$LWS; | ||
exports.ObjectProtoToString = ObjectProtoToString$LWS; | ||
exports.PromiseCtor = PromiseCtor$LWS; | ||
exports.PromiseProtoCatch = PromiseProtoCatch$LWS; | ||
@@ -1468,2 +1529,3 @@ exports.PromiseProtoThen = PromiseProtoThen$LWS; | ||
exports.StringProtoValueOf = StringProtoValueOf$LWS; | ||
exports.SymbolAsyncIterator = SymbolAsyncIterator$LWS; | ||
exports.SymbolFor = SymbolFor$LWS; | ||
@@ -1501,3 +1563,2 @@ exports.SymbolIterator = SymbolIterator$LWS; | ||
exports.WeakSetProtoHas = WeakSetProtoHas$LWS; | ||
exports.alwaysNull = alwaysNull$LWS; | ||
exports.capitalizeFirstChar = capitalizeFirstChar$LWS; | ||
@@ -1510,8 +1571,9 @@ exports.consoleWarn = consoleWarn$LWS; | ||
exports.getBrand = getBrand$LWS; | ||
exports.getNamespacePrefix = getNamespacePrefix$LWS; | ||
exports.getNamespaceMarker = getNamespaceMarker$LWS; | ||
exports.getNearMembraneSerializedValue = getNearMembraneSerializedValue$LWS; | ||
exports.getStorageNamespaceMarker = getStorageNamespaceMarker$LWS; | ||
exports.getTimestamp = getTimestamp$LWS; | ||
exports.identity = identity$LWS; | ||
exports.indexOfPragma = indexOfPragma$LWS; | ||
exports.isConvertibleToString = isConvertibleToString$LWS; | ||
exports.isNamespacePrefixed = isNamespacePrefixed$LWS; | ||
exports.isNearMembrane = isNearMembrane$LWS; | ||
@@ -1524,5 +1586,11 @@ exports.isObject = isObject$LWS; | ||
exports.partialStructuredClone = partialStructuredClone$LWS; | ||
exports.prefixNamespace = prefixNamespace$LWS; | ||
exports.prependNamespaceMarker = prependNamespaceMarker$LWS; | ||
exports.prependStorageNamespaceMarker = prependStorageNamespaceMarker$LWS; | ||
exports.proxyMaskFunction = proxyMaskFunction$LWS; | ||
exports.removeNamespaceMarker = removeNamespaceMarker$LWS; | ||
exports.removeStorageNamespaceMarker = removeStorageNamespaceMarker$LWS; | ||
exports.shallowCloneArray = shallowCloneArray$LWS; | ||
exports.shallowCloneOptions = shallowCloneOptions$LWS; | ||
exports.startsWithNamespaceMarker = startsWithNamespaceMarker$LWS; | ||
exports.startsWithStorageNamespaceMarker = startsWithStorageNamespaceMarker$LWS; | ||
exports.toSafeArray = toSafeArray$LWS; | ||
@@ -1536,3 +1604,2 @@ exports.toSafeMap = toSafeMap$LWS; | ||
exports.trackTargetAsLive = trackTargetAsLive$LWS; | ||
exports.unprefixNamespace = unprefixNamespace$LWS; | ||
/*! version: 0.17.23 */ | ||
/*! version: 0.18.6 */ |
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
*/ | ||
var e;Object.defineProperty(exports,"__esModule",{value:!0});const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:s,getOwnPropertyDescriptor:c,getPrototypeOf:i,has:p,ownKeys:a,set:u,setPrototypeOf:l}=Reflect,f=Object,{assign:x,freeze:y,getOwnPropertyDescriptors:b,getOwnPropertySymbols:S,keys:_,preventExtensions:g,prototype:d}=f,{hasOwn:O}=f,{__lookupGetter__:h,__lookupSetter__:P,hasOwnProperty:R}=d,{toString:N}=d;const j="function"==typeof O?O:function(e,r){return t(R,e,[r])};function A(e,r){return null!=e&&j(e,r)?t(h,e,[r]):void 0}const T=Symbol,{for:E,iterator:I,toStringTag:m,unscopables:v}=T,{toString:B,valueOf:L}=T.prototype,k=Array,{prototype:D}=k,{at:M,concat:C,copyWithin:w,entries:G,every:W,fill:$,findIndex:F,flat:U,flatMap:V,forEach:z,keys:K,lastIndexOf:H,map:J,pop:X,reduce:Y,reduceRight:Q,reverse:q,some:Z,splice:ee,toLocaleString:te,toString:re,values:oe,[I]:ne}=D,se=y(x({__proto__:null},D[v])),{includes:ce,sort:ie,unshift:pe}=D,{filter:ae,find:ue,indexOf:le,join:fe,push:xe,shift:ye,slice:be}=D,{isArray:Se}=k;const _e=ArrayBuffer,{isView:ge}=_e,de=A(_e.prototype,"byteLength"),Oe="function"==typeof BigInt,he=Oe?BigInt.prototype.valueOf:void 0,{valueOf:Pe}=Boolean.prototype,Re=`${()=>1}`.includes("$LWS"),Ne=Date,{now:je}=Ne,{valueOf:Ae}=Ne.prototype,{bind:Te,toString:Ee}=Function.prototype;const Ie=Map,{prototype:me}=Ie,{clear:ve,delete:Be,forEach:Le,get:ke,has:De,keys:Me,values:Ce,[I]:we,[m]:Ge}=me,{entries:We,set:$e}=me,Fe=A(me,"size");function Ue(e){return l(e,null),e.clear=ve,e.delete=Be,e.entries=We,e.forEach=Le,e.get=ke,e.has=De,e.keys=Me,e.set=$e,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Fe,set:void 0}),e.values=Ce,e[I]=we,e[m]=Ge,l(e,me),e}const Ve=Number,{isFinite:ze,isInteger:Ke}=Ve,{toFixed:He,valueOf:Je}=Ve.prototype,Xe=String,{prototype:Ye}=Xe,{endsWith:Qe,includes:qe,indexOf:Ze,match:et,replace:tt,slice:rt,split:ot,startsWith:nt,toLowerCase:st,toUpperCase:ct,valueOf:it}=Ye,pt={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},at="function"==typeof URL?URL:void 0,ut=null==at||null==(e=at.prototype)?void 0:e.toString,lt=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;const ft=RegExp,{prototype:xt}=ft,{exec:yt,test:bt}=xt,St=A(xt,"source"),_t=/[\\^$.*+?()[\]{}|]/g;const gt=Set,{prototype:dt}=gt,{clear:Ot,delete:ht,entries:Pt,forEach:Rt,has:Nt,keys:jt,[I]:At,[m]:Tt}=dt,{add:Et,values:It}=dt,mt=A(dt,"size");const vt=WeakMap,{prototype:Bt}=vt,{has:Lt}=Bt,{delete:kt,get:Dt,set:Mt,[m]:Ct}=Bt;const wt=WeakSet,{prototype:Gt}=wt,{has:Wt}=Gt,{add:$t,delete:Ft,[m]:Ut}=Gt;function Vt(e){return l(e,null),e.add=$t,e.delete=Ft,e.has=Wt,e[m]=Ut,l(e,Gt),e}const{toStringTag:zt}=Symbol,Kt=/[(`.[+\-/*%<>=,?^&]/,Ht=/\r\n?|\n|\u2028|\u2029/,Jt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Xt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function Yt(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return Se(e)?"[object Array]":zt in e?function(e){try{if("byteLength"in e)return t(de,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(Ae,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(Fe,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(mt,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Lt,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Wt,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(Je,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(L,e,[]),"[object Symbol]"}catch(e){}try{if(j(e,"lastIndex"))return t(St,e,[]),"[object RegExp]"}catch(e){}try{if(j(e,"length"))return t(it,e,[]),"[object String]"}catch(e){}try{return t(Pe,e,[]),"[object Boolean]"}catch(e){}if(Oe)try{return t(he,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(N,e,[])}const Qt="undefined"==typeof performance?je:t(Te,performance.now,[performance]);const{parse:qt}=JSON,{stringify:Zt}=JSON,er=E("@@lockerNearMembraneSerializedValue"),tr=E("@@lockerNearMembrane");function rr(e){return er in e?void 0:e[er]}function or(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(tr in e)&&!0===e[tr])}const nr=Ue(new Ie);function sr(e,r){const o=new Ie,n=t(We,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;const{0:i,1:p}=c;let a;r[s++]=[e=>{a=e},i],r[s++]=[e=>{t($e,o,[a,e])},p]}return o}function cr(e){const{flags:t,source:r}=qt(rr(e));return new ft(r,t)}function ir(e,r){const o=new gt,n=t(It,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;r[s++]=[e=>{t(Et,o,[e])},c]}return o}function pr(e,t,r){const o=_(t);let{length:n}=e;for(let s=0,{length:c}=o;s<c;s+=1){const c=o[s],i=t[c];e[n++]=[e=>{r[c]=e},i]}}const ar=console,{warn:ur}=ar;const lr=Error,fr=TypeError;class xr extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const yr=Vt(new wt),br=E("@@lockerLiveValue");function Sr(e,r=0){if(1&r||2&r||64&r||null==e||e===d||e===xt)return!1;if("function"==typeof e){try{return yr.has(e)||j(e,br)}catch(e){}return!1}if("object"==typeof e){try{if(yr.has(e)||j(e,br))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===f)return!0}catch(e){}try{if(null===i(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(Se(e))return!0}catch(e){return!1}if(ge(e))return!0}try{if(j(e,"lastIndex"))return t(St,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(de,e,[]),!0}catch(e){}}return!1}const{min:_r}=Math;const gr=Promise,{catch:dr,then:Or}=gr.prototype,hr=gr.resolve.bind(gr),Pr=gr.reject.bind(gr),Rr=Proxy,{revocable:Nr}=Rr;exports.ArrayBufferIsView=ge,exports.ArrayBufferProtoByteLengthGetter=de,exports.ArrayConcat=function(e,...r){const o=t(be,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];Se(n)?t(xe,o,n):o[o.length]=n}return o},exports.ArrayCtor=k,exports.ArrayIsArray=Se,exports.ArrayProtoFilter=ae,exports.ArrayProtoFind=ue,exports.ArrayProtoIncludes=ce,exports.ArrayProtoIndexOf=le,exports.ArrayProtoJoin=fe,exports.ArrayProtoPush=xe,exports.ArrayProtoShift=ye,exports.ArrayProtoSlice=be,exports.ArrayProtoSort=ie,exports.ArrayProtoUnshift=pe,exports.BigIntProtoValueOf=he,exports.BooleanProtoValueOf=Pe,exports.CHAR_ELLIPSIS="…",exports.CHAR_QUOTE_DOUBLE='"',exports.CHAR_QUOTE_SINGLE="'",exports.DateNow=je,exports.DateProtoValueOf=Ae,exports.ErrorCtor=lr,exports.FunctionProtoBind=Te,exports.FunctionProtoToString=Ee,exports.JSONParse=qt,exports.JSONStringify=Zt,exports.LOCKER_IDENTIFIER_MARKER="$LWS",exports.LOCKER_UNMINIFIED_FLAG=Re,exports.LockerSecurityError=xr,exports.MapCtor=Ie,exports.MapProtoEntries=We,exports.MapProtoSet=$e,exports.MapProtoSizeGetter=Fe,exports.MathMin=_r,exports.NumberIsFinite=ze,exports.NumberIsInteger=Ke,exports.NumberProtoToFixed=He,exports.NumberProtoValueOf=Je,exports.ObjectAssign=x,exports.ObjectCtor=f,exports.ObjectFreeze=y,exports.ObjectGetOwnPropertyDescriptors=b,exports.ObjectGetOwnPropertySymbols=S,exports.ObjectHasOwn=j,exports.ObjectKeys=_,exports.ObjectLookupOwnGetter=A,exports.ObjectLookupOwnSetter=function(e,r){return null!=e&&j(e,r)?t(P,e,[r]):void 0},exports.ObjectLookupOwnValue=function(e,t){return null!=e&&j(e,t)?e[t]:void 0},exports.ObjectPreventExtensions=g,exports.ObjectProto=d,exports.ObjectProtoToString=N,exports.PromiseProtoCatch=dr,exports.PromiseProtoThen=Or,exports.PromiseReject=Pr,exports.PromiseResolve=hr,exports.ProxyCtor=Rr,exports.ProxyRevocable=Nr,exports.ReflectApply=t,exports.ReflectConstruct=r,exports.ReflectDefineProperty=o,exports.ReflectDeleteProperty=n,exports.ReflectGet=s,exports.ReflectGetOwnPropertyDescriptor=c,exports.ReflectGetPrototypeOf=i,exports.ReflectHas=p,exports.ReflectOwnKeys=a,exports.ReflectSet=u,exports.ReflectSetPrototypeOf=l,exports.RegExpCtor=ft,exports.RegExpProto=xt,exports.RegExpProtoExec=yt,exports.RegExpProtoSourceGetter=St,exports.RegExpProtoTest=bt,exports.SANDBOX_EVAL_CONTEXT_NAME="$lockerEvalContext$",exports.SANDBOX_EVAL_HELPERS_NAME="$lockerEvalHelpers$",exports.SUPPORTS_BIG_INT=Oe,exports.SYMBOL_LIVE_OBJECT=br,exports.SetCtor=gt,exports.SetProtoAdd=Et,exports.SetProtoSizeGetter=mt,exports.SetProtoValues=It,exports.StringCtor=Xe,exports.StringProtoEndsWith=Qe,exports.StringProtoIncludes=qe,exports.StringProtoIndexOf=Ze,exports.StringProtoMatch=et,exports.StringProtoReplace=tt,exports.StringProtoSlice=rt,exports.StringProtoSplit=ot,exports.StringProtoStartsWith=nt,exports.StringProtoToLowerCase=st,exports.StringProtoToUpperCase=ct,exports.StringProtoValueOf=it,exports.SymbolFor=E,exports.SymbolIterator=I,exports.SymbolProtoToString=B,exports.SymbolProtoValueOf=L,exports.SymbolToStringTag=m,exports.SymbolUnscopables=v,exports.TO_STRING_BRAND_ARRAY="[object Array]",exports.TO_STRING_BRAND_ARRAY_BUFFER="[object ArrayBuffer]",exports.TO_STRING_BRAND_BIG_INT="[object BigInt]",exports.TO_STRING_BRAND_BOOLEAN="[object Boolean]",exports.TO_STRING_BRAND_DATE="[object Date]",exports.TO_STRING_BRAND_ERROR="[object Error]",exports.TO_STRING_BRAND_FUNCTION="[object Function]",exports.TO_STRING_BRAND_MAP="[object Map]",exports.TO_STRING_BRAND_NULL="[object Null]",exports.TO_STRING_BRAND_NUMBER="[object Number]",exports.TO_STRING_BRAND_OBJECT="[object Object]",exports.TO_STRING_BRAND_REG_EXP="[object RegExp]",exports.TO_STRING_BRAND_SET="[object Set]",exports.TO_STRING_BRAND_STRING="[object String]",exports.TO_STRING_BRAND_SYMBOL="[object Symbol]",exports.TO_STRING_BRAND_UNDEFINED="[object Undefined]",exports.TO_STRING_BRAND_WEAK_MAP="[object WeakMap]",exports.TO_STRING_BRAND_WEAK_SET="[object WeakSet]",exports.TypeErrorCtor=fr,exports.UNCOMPILED_LOCATION_NAME="uncompiledLocation$LWS",exports.UNCOMPILED_TOP_NAME="uncompiledTop$LWS",exports.WEBPACK_REQUIRE_NAME="__webpack_require__",exports.WeakMapCtor=vt,exports.WeakMapProtoHas=Lt,exports.WeakSetCtor=wt,exports.WeakSetProtoHas=Wt,exports.alwaysNull=function(){return null},exports.capitalizeFirstChar=function(e){const{length:r}=e;if(r){const o=t(ct,e[0],[]);return 1===r?o:o+t(rt,e,[1])}return""},exports.consoleWarn=function(...e){t(ur,ar,e)},exports.createRevokedProxy=function(e){const t=Nr(e,{__proto__:null});return t.revoke(),t.proxy},exports.enquote=function(e,r="'"){return r+t(tt,e,[pt[r],`\\${r}`])+r},exports.escapeRegExp=function(e){return t(tt,e,[_t,"\\$&"])},exports.extractFunctionBodySource=function(e){var r,o;const n=t(Ee,e,[]),s=t(et,n,[lt]);return null!=(r=null!=(o=null==s?void 0:s[1])?o:null==s?void 0:s[2])?r:""},exports.getBrand=Yt,exports.getNamespacePrefix=function(e){return`LSKey-${e}$`},exports.getNearMembraneSerializedValue=rr,exports.getTimestamp=Qt,exports.indexOfPragma=function(e,r){let o=0;for(;;){Jt.lastIndex=o,o+=t(yt,Jt,[e])[0].length;const n=t(yt,Xt,[t(rt,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){Jt.lastIndex=o+n[0].length;const r=t(yt,Jt,[e]),s=r.index+r[0].length,c=e[s];if(";"===c||"}"===c)return o;const i=s+1;if(t(bt,Ht,[r[0]])&&!("!"===c&&i<e.length&&"="===e[i]||t(bt,Kt,[c])))return o}o+=n[0].length,Jt.lastIndex=o,o+=t(yt,Jt,[e])[0].length,";"===e[o]&&(o+=1)}},exports.isConvertibleToString=function(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1},exports.isNamespacePrefixed=function(e,r){return"string"==typeof e&&t(nt,e,[`LSKey-${r}$`])},exports.isNearMembrane=or,exports.isObject=function(e){return"object"==typeof e&&null!==e},exports.isObjectLike=function(e){return"object"==typeof e&&null!==e||"function"==typeof e},exports.isTargetLive=Sr,exports.markTargetAsLive=function(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||Sr(e)||o(e,br,{__proto__:null,value:void 0}),e},exports.noop=function(){},exports.partialStructuredClone=function(e){let r=e;try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(ye,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=nr.get(r);if(n){e(n);continue e}const s=Yt(r);switch(s){case"[object Object]":{const e=i(r);e!==d&&null!==e&&null!==i(e)||(n={},pr(o,r,n));break}case"[object Array]":n=k(r.length),pr(o,r,n);break;case"[object Map]":n=sr(r,o);break;case"[object Set]":n=ir(r,o)}if(void 0===n){if(!or(r)){nr.set(r,r),e(r);continue e}switch(s){case"[object RegExp]":n=cr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=f(rr(r))}}if(void 0===n){e(r);break e}nr.set(r,n),e(n)}return r}(e)}catch(e){}return nr.clear(),r},exports.prefixNamespace=function(e,t){return`LSKey-${t}$${e}`},exports.shallowCloneArray=function(e){return t(be,e,[0])},exports.shallowCloneOptions=function(e){const t=a(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r},exports.toSafeArray=function(e){return l(e,null),e.at=M,e.concat=C,e.copyWithin=w,e.entries=G,e.every=W,e.fill=$,e.filter=ae,e.find=ue,e.findIndex=F,e.flat=U,e.flatMap=V,e.forEach=z,e.includes=ce,e.indexOf=le,e.join=fe,e.keys=K,e.lastIndexOf=H,e.map=J,e.pop=X,e.push=xe,e.reduce=Y,e.reduceRight=Q,e.reverse=q,e.shift=ye,e.slice=be,e.some=Z,e.sort=ie,e.splice=ee,e.toLocaleString=te,e.toString=re,e.unshift=pe,e.values=oe,e[I]=ne,e[v]=se,l(e,D),e},exports.toSafeMap=Ue,exports.toSafeSet=function(e){return l(e,null),e.add=Et,e.clear=Ot,e.delete=ht,e.entries=Pt,e.forEach=Rt,e.has=Nt,e.keys=jt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:mt,set:void 0}),e.values=It,e[I]=At,e[m]=Tt,l(e,dt),e},exports.toSafeTemplateStringValue=function(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(Ee,e,[]);if("object"==typeof e&&null!==e){if(at&&e instanceof at)return t(ut,e,[]);const r=t(N,e,[]);return"[object Symbol]"===r?t(B,e,[]):r}return"symbol"==typeof e?t(B,e,[]):Xe(e)}catch(e){}return"[object Unknown]"},exports.toSafeWeakMap=function(e){return l(e,null),e.delete=kt,e.get=Dt,e.has=Lt,e.set=Mt,e[m]=Ct,l(e,Bt),e},exports.toSafeWeakSet=Vt,exports.toString=function(e){return"string"==typeof e?e:`${e}`},exports.trackTargetAsLive=function(e){return yr.add(e),e},exports.unprefixNamespace=function(e,r){if("string"==typeof e){const o=`LSKey-${r}$`;return t(nt,e,[o])?t(rt,e,[o.length]):e}return""}; | ||
/*! version: 0.17.23 */ | ||
var e;Object.defineProperty(exports,"__esModule",{value:!0});const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:s,getOwnPropertyDescriptor:c,getPrototypeOf:p,has:i,ownKeys:a,set:u,setPrototypeOf:l}=Reflect,f=Object,{assign:x,freeze:y,defineProperties:S,getOwnPropertyDescriptors:_,getOwnPropertySymbols:b,keys:g,preventExtensions:O,prototype:d}=f,{hasOwn:R}=f,{__lookupGetter__:h,__lookupSetter__:E,hasOwnProperty:N}=d,{toString:P}=d;const A="function"==typeof R?R:function(e,r){return t(N,e,[r])};function j(e,r){return null!=e&&A(e,r)?t(h,e,[r]):void 0}const I=Symbol,{asyncIterator:T,for:m,iterator:L,toStringTag:B,unscopables:k}=I,{toString:v,valueOf:M}=I.prototype,D=Array,{prototype:C}=D,{at:G,concat:w,copyWithin:W,entries:F,every:U,fill:$,findIndex:V,flat:K,flatMap:z,forEach:H,keys:Y,lastIndexOf:J,map:X,pop:Q,reduce:q,reduceRight:Z,reverse:ee,some:te,splice:re,toLocaleString:oe,toString:ne,values:se,[L]:ce}=C,pe=y(x({__proto__:null},C[k])),{includes:ie,sort:ae,unshift:ue}=C,{filter:le,find:fe,indexOf:xe,join:ye,push:Se,shift:_e,slice:be}=C,{isArray:ge}=D;const Oe=ArrayBuffer,{isView:de}=Oe,Re=j(Oe.prototype,"byteLength"),he="function"==typeof BigInt,Ee=he?BigInt.prototype.valueOf:void 0,{valueOf:Ne}=Boolean.prototype,Pe=m("@@lockerNearMembraneSerializedValue"),Ae=m("@@lockerNearMembrane"),je=`${function e(){return e.name}()}`.includes("LOCKER_UNMINIFIED_FLAG"),Ie=m("@@lockerLiveValue"),Te=Date,{now:me}=Te,{valueOf:Le}=Te.prototype,Be=Proxy,{revocable:ke}=Be;const{bind:ve,toString:Me}=Function.prototype;const De=Map,{prototype:Ce}=De,{clear:Ge,delete:we,forEach:We,get:Fe,has:Ue,keys:$e,values:Ve,[L]:Ke,[B]:ze}=Ce,{entries:He,set:Ye}=Ce,Je=j(Ce,"size");function Xe(e){return l(e,null),e.clear=Ge,e.delete=we,e.entries=He,e.forEach=We,e.get=Fe,e.has=Ue,e.keys=$e,e.set=Ye,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Je,set:void 0}),e.values=Ve,e[L]=Ke,e[B]=ze,l(e,Ce),e}const Qe=Number,{isFinite:qe,isInteger:Ze}=Qe,{toFixed:et,valueOf:tt}=Qe.prototype,rt=String,{prototype:ot}=rt,{endsWith:nt,includes:st,indexOf:ct,match:pt,replace:it,slice:at,split:ut,startsWith:lt,toLowerCase:ft,toUpperCase:xt,valueOf:yt}=ot,St={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},_t="function"==typeof URL?URL:void 0,bt=null==_t||null==(e=_t.prototype)?void 0:e.toString,gt=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;const Ot=RegExp,{prototype:dt}=Ot,{exec:Rt,test:ht}=dt,Et=j(dt,"source"),Nt=/[\\^$.*+?()[\]{}|]/g;const Pt=Set,{prototype:At}=Pt,{clear:jt,delete:It,entries:Tt,forEach:mt,has:Lt,keys:Bt,[L]:kt,[B]:vt}=At,{add:Mt,values:Dt}=At,Ct=j(At,"size");const Gt=WeakMap,{prototype:wt}=Gt,{has:Wt}=wt,{delete:Ft,get:Ut,set:$t,[B]:Vt}=wt;const Kt=WeakSet,{prototype:zt}=Kt,{has:Ht}=zt,{add:Yt,delete:Jt,[B]:Xt}=zt;function Qt(e){return l(e,null),e.add=Yt,e.delete=Jt,e.has=Ht,e[B]=Xt,l(e,zt),e}const{toStringTag:qt}=Symbol,Zt=/[(`.[+\-/*%<>=,?^&]/,er=/\r\n?|\n|\u2028|\u2029/,tr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,rr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function or(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return ge(e)?"[object Array]":qt in e?function(e){try{if("byteLength"in e)return t(Re,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(Le,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(Je,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(Ct,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Wt,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Ht,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(tt,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(M,e,[]),"[object Symbol]"}catch(e){}try{if(A(e,"lastIndex"))return t(Et,e,[]),"[object RegExp]"}catch(e){}try{if(A(e,"length"))return t(yt,e,[]),"[object String]"}catch(e){}try{return t(Ne,e,[]),"[object Boolean]"}catch(e){}if(he)try{return t(Ee,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(P,e,[])}const nr="undefined"==typeof performance?me:t(ve,performance.now,[performance]);const{parse:sr}=JSON,{stringify:cr}=JSON;function pr(e){return Pe in e?void 0:e[Pe]}function ir(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(Ae in e)&&!0===e[Ae])}const ar=Xe(new De);function ur(e,r){const o=new De,n=t(He,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;const{0:p,1:i}=c;let a;r[s++]=[e=>{a=e},p],r[s++]=[e=>{t(Ye,o,[a,e])},i]}return o}function lr(e){const{flags:t,source:r}=sr(pr(e));return new Ot(r,t)}function fr(e,r){const o=new Pt,n=t(Dt,e,[]);let{length:s}=r;for(;;){const{done:e,value:c}=n.next();if(e)break;r[s++]=[e=>{t(Mt,o,[e])},c]}return o}function xr(e,t,r){const o=g(t);let{length:n}=e;for(let s=0,{length:c}=o;s<c;s+=1){const c=o[s],p=t[c];e[n++]=[e=>{r[c]=e},p]}}const yr=console,{warn:Sr}=yr;const _r=Error,br=TypeError;class gr extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const Or=Qt(new Kt);function dr(e,r=0){if(1&r||2&r||64&r||null==e||e===d||e===dt)return!1;if("function"==typeof e){try{return Or.has(e)||A(e,Ie)}catch(e){}return!1}if("object"==typeof e){try{if(Or.has(e)||A(e,Ie))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===f)return!0}catch(e){}try{if(null===p(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(ge(e))return!0}catch(e){return!1}if(de(e))return!0}try{if(A(e,"lastIndex"))return t(Et,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(Re,e,[]),!0}catch(e){}}return!1}const{min:Rr}=Math;function hr(e){return`LSKey-${e}$`}function Er(e){return`LSKey[${e}]`}const Nr=Promise,{catch:Pr,then:Ar}=Nr.prototype,jr=Nr.resolve.bind(Nr),Ir=Nr.reject.bind(Nr);exports.ArrayBufferIsView=de,exports.ArrayBufferProtoByteLengthGetter=Re,exports.ArrayConcat=function(e,...r){const o=t(be,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];ge(n)?t(Se,o,n):o[o.length]=n}return o},exports.ArrayCtor=D,exports.ArrayIsArray=ge,exports.ArrayProtoFilter=le,exports.ArrayProtoFind=fe,exports.ArrayProtoIncludes=ie,exports.ArrayProtoIndexOf=xe,exports.ArrayProtoJoin=ye,exports.ArrayProtoPush=Se,exports.ArrayProtoShift=_e,exports.ArrayProtoSlice=be,exports.ArrayProtoSort=ae,exports.ArrayProtoUnshift=ue,exports.BigIntProtoValueOf=Ee,exports.BooleanProtoValueOf=Ne,exports.CHAR_ELLIPSIS="…",exports.CHAR_QUOTE_DOUBLE='"',exports.CHAR_QUOTE_SINGLE="'",exports.DateNow=me,exports.DateProtoValueOf=Le,exports.ERR_INVALID_SANDBOX_KEY="Invalid sandbox key.",exports.ErrorCtor=_r,exports.FunctionProtoBind=ve,exports.FunctionProtoToString=Me,exports.JSONParse=sr,exports.JSONStringify=cr,exports.LOCKER_IDENTIFIER_MARKER="$LWS",exports.LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL=Pe,exports.LOCKER_NEAR_MEMBRANE_SYMBOL=Ae,exports.LOCKER_SERVICE_KEY="LSKey",exports.LOCKER_SERVICE_KEY_LOWERED="lskey",exports.LOCKER_UNMINIFIED_FLAG=je,exports.LockerSecurityError=gr,exports.MapCtor=De,exports.MapProtoEntries=He,exports.MapProtoSet=Ye,exports.MapProtoSizeGetter=Je,exports.MathMin=Rr,exports.NumberIsFinite=qe,exports.NumberIsInteger=Ze,exports.NumberProtoToFixed=et,exports.NumberProtoValueOf=tt,exports.ObjectAssign=x,exports.ObjectCtor=f,exports.ObjectDefineProperties=S,exports.ObjectFreeze=y,exports.ObjectGetOwnPropertyDescriptors=_,exports.ObjectGetOwnPropertySymbols=b,exports.ObjectHasOwn=A,exports.ObjectKeys=g,exports.ObjectLookupOwnGetter=j,exports.ObjectLookupOwnSetter=function(e,r){return null!=e&&A(e,r)?t(E,e,[r]):void 0},exports.ObjectLookupOwnValue=function(e,t){return null!=e&&A(e,t)?e[t]:void 0},exports.ObjectPreventExtensions=O,exports.ObjectProto=d,exports.ObjectProtoToString=P,exports.PromiseCtor=Nr,exports.PromiseProtoCatch=Pr,exports.PromiseProtoThen=Ar,exports.PromiseReject=Ir,exports.PromiseResolve=jr,exports.ProxyCtor=Be,exports.ProxyRevocable=ke,exports.ReflectApply=t,exports.ReflectConstruct=r,exports.ReflectDefineProperty=o,exports.ReflectDeleteProperty=n,exports.ReflectGet=s,exports.ReflectGetOwnPropertyDescriptor=c,exports.ReflectGetPrototypeOf=p,exports.ReflectHas=i,exports.ReflectOwnKeys=a,exports.ReflectSet=u,exports.ReflectSetPrototypeOf=l,exports.RegExpCtor=Ot,exports.RegExpProto=dt,exports.RegExpProtoExec=Rt,exports.RegExpProtoSourceGetter=Et,exports.RegExpProtoTest=ht,exports.SANDBOX_EVAL_CONTEXT_NAME="$lockerEvalContext$",exports.SANDBOX_EVAL_HELPERS_NAME="$lockerEvalHelpers$",exports.SUPPORTS_BIG_INT=he,exports.SYMBOL_LIVE_OBJECT=Ie,exports.SetCtor=Pt,exports.SetProtoAdd=Mt,exports.SetProtoSizeGetter=Ct,exports.SetProtoValues=Dt,exports.StringCtor=rt,exports.StringProtoEndsWith=nt,exports.StringProtoIncludes=st,exports.StringProtoIndexOf=ct,exports.StringProtoMatch=pt,exports.StringProtoReplace=it,exports.StringProtoSlice=at,exports.StringProtoSplit=ut,exports.StringProtoStartsWith=lt,exports.StringProtoToLowerCase=ft,exports.StringProtoToUpperCase=xt,exports.StringProtoValueOf=yt,exports.SymbolAsyncIterator=T,exports.SymbolFor=m,exports.SymbolIterator=L,exports.SymbolProtoToString=v,exports.SymbolProtoValueOf=M,exports.SymbolToStringTag=B,exports.SymbolUnscopables=k,exports.TO_STRING_BRAND_ARRAY="[object Array]",exports.TO_STRING_BRAND_ARRAY_BUFFER="[object ArrayBuffer]",exports.TO_STRING_BRAND_BIG_INT="[object BigInt]",exports.TO_STRING_BRAND_BOOLEAN="[object Boolean]",exports.TO_STRING_BRAND_DATE="[object Date]",exports.TO_STRING_BRAND_ERROR="[object Error]",exports.TO_STRING_BRAND_FUNCTION="[object Function]",exports.TO_STRING_BRAND_MAP="[object Map]",exports.TO_STRING_BRAND_NULL="[object Null]",exports.TO_STRING_BRAND_NUMBER="[object Number]",exports.TO_STRING_BRAND_OBJECT="[object Object]",exports.TO_STRING_BRAND_REG_EXP="[object RegExp]",exports.TO_STRING_BRAND_SET="[object Set]",exports.TO_STRING_BRAND_STRING="[object String]",exports.TO_STRING_BRAND_SYMBOL="[object Symbol]",exports.TO_STRING_BRAND_UNDEFINED="[object Undefined]",exports.TO_STRING_BRAND_WEAK_MAP="[object WeakMap]",exports.TO_STRING_BRAND_WEAK_SET="[object WeakSet]",exports.TypeErrorCtor=br,exports.UNCOMPILED_LOCATION_NAME="uncompiledLocation$LWS",exports.UNCOMPILED_TOP_NAME="uncompiledTop$LWS",exports.WEBPACK_REQUIRE_NAME="__webpack_require__",exports.WeakMapCtor=Gt,exports.WeakMapProtoHas=Wt,exports.WeakSetCtor=Kt,exports.WeakSetProtoHas=Ht,exports.capitalizeFirstChar=function(e){const{length:r}=e;if(r){const o=t(xt,e[0],[]);return 1===r?o:o+t(at,e,[1])}return""},exports.consoleWarn=function(...e){t(Sr,yr,e)},exports.createRevokedProxy=function(e){const t=ke(e,{__proto__:null});return t.revoke(),t.proxy},exports.enquote=function(e,r="'"){return r+t(it,e,[St[r],`\\${r}`])+r},exports.escapeRegExp=function(e){return t(it,e,[Nt,"\\$&"])},exports.extractFunctionBodySource=function(e){var r,o;const n=t(Me,e,[]),s=t(pt,n,[gt]);return null!=(r=null!=(o=null==s?void 0:s[1])?o:null==s?void 0:s[2])?r:""},exports.getBrand=or,exports.getNamespaceMarker=hr,exports.getNearMembraneSerializedValue=pr,exports.getStorageNamespaceMarker=Er,exports.getTimestamp=nr,exports.identity=function(e){return e},exports.indexOfPragma=function(e,r){let o=0;for(;;){tr.lastIndex=o,o+=t(Rt,tr,[e])[0].length;const n=t(Rt,rr,[t(at,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){tr.lastIndex=o+n[0].length;const r=t(Rt,tr,[e]),s=r.index+r[0].length,c=e[s];if(";"===c||"}"===c)return o;const p=s+1;if(t(ht,er,[r[0]])&&!("!"===c&&p<e.length&&"="===e[p]||t(ht,Zt,[c])))return o}o+=n[0].length,tr.lastIndex=o,o+=t(Rt,tr,[e])[0].length,";"===e[o]&&(o+=1)}},exports.isConvertibleToString=function(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1},exports.isNearMembrane=ir,exports.isObject=function(e){return"object"==typeof e&&null!==e},exports.isObjectLike=function(e){return"object"==typeof e&&null!==e||"function"==typeof e},exports.isTargetLive=dr,exports.markTargetAsLive=function(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||dr(e)||o(e,Ie,{__proto__:null,value:void 0}),e},exports.noop=function(){},exports.partialStructuredClone=function(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(_e,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=ar.get(r);if(n){e(n);continue e}const s=or(r);switch(s){case"[object Object]":{const e=p(r);e!==d&&null!==e&&null!==p(e)||(n={},xr(o,r,n));break}case"[object Array]":n=D(r.length),xr(o,r,n);break;case"[object Map]":n=ur(r,o);break;case"[object Set]":n=fr(r,o)}if(void 0===n){if(!ir(r)){ar.set(r,r),e(r);continue e}switch(s){case"[object RegExp]":n=lr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=f(pr(r))}}if(void 0===n){e(r);break e}ar.set(r,n),e(n)}return r}(e)}catch(e){}ar.clear()}return r},exports.prependNamespaceMarker=function(e,t){return`${hr(t)}${e}`},exports.prependStorageNamespaceMarker=function(e,t){return`${Er(t)}${e}`},exports.proxyMaskFunction=function(e,o){const n=new Be(o,{apply:(r,s,c)=>(s!==n&&s!==o||(s=e),t(e,s,c)),construct:(t,s,c)=>(c!==n&&c!==o||(c=e),r(e,s,c))});return n},exports.removeNamespaceMarker=function(e,r){if("string"==typeof e){const o=hr(r);return t(lt,e,[o])?t(at,e,[o.length]):e}return""},exports.removeStorageNamespaceMarker=function(e,r){if("string"==typeof e){const o=Er(r);return t(lt,e,[o])?t(at,e,[o.length]):e}return""},exports.shallowCloneArray=function(e){return t(be,e,[0])},exports.shallowCloneOptions=function(e){const t=a(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r},exports.startsWithNamespaceMarker=function(e,r){return"string"==typeof e&&t(lt,e,[hr(r)])},exports.startsWithStorageNamespaceMarker=function(e,r){return"string"==typeof e&&t(lt,e,[Er(r)])},exports.toSafeArray=function(e){return l(e,null),e.at=G,e.concat=w,e.copyWithin=W,e.entries=F,e.every=U,e.fill=$,e.filter=le,e.find=fe,e.findIndex=V,e.flat=K,e.flatMap=z,e.forEach=H,e.includes=ie,e.indexOf=xe,e.join=ye,e.keys=Y,e.lastIndexOf=J,e.map=X,e.pop=Q,e.push=Se,e.reduce=q,e.reduceRight=Z,e.reverse=ee,e.shift=_e,e.slice=be,e.some=te,e.sort=ae,e.splice=re,e.toLocaleString=oe,e.toString=ne,e.unshift=ue,e.values=se,e[L]=ce,e[k]=pe,l(e,C),e},exports.toSafeMap=Xe,exports.toSafeSet=function(e){return l(e,null),e.add=Mt,e.clear=jt,e.delete=It,e.entries=Tt,e.forEach=mt,e.has=Lt,e.keys=Bt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Ct,set:void 0}),e.values=Dt,e[L]=kt,e[B]=vt,l(e,At),e},exports.toSafeTemplateStringValue=function(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(Me,e,[]);if("object"==typeof e&&null!==e){if(_t&&e instanceof _t)return t(bt,e,[]);const r=t(P,e,[]);return"[object Symbol]"===r?t(v,e,[]):r}return"symbol"==typeof e?t(v,e,[]):rt(e)}catch(e){}return"[object Unknown]"},exports.toSafeWeakMap=function(e){return l(e,null),e.delete=Ft,e.get=Ut,e.has=Wt,e.set=$t,e[B]=Vt,l(e,wt),e},exports.toSafeWeakSet=Qt,exports.toString=function(e){return"string"==typeof e?e:`${e}`},exports.trackTargetAsLive=function(e){return Or.add(e),e}; | ||
/*! version: 0.18.6 */ |
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
*/ | ||
var t;const{apply:e,construct:r,defineProperty:o,deleteProperty:n,get:a,getOwnPropertyDescriptor:s,getPrototypeOf:c,has:i,ownKeys:u,set:l,setPrototypeOf:f}=Reflect,p=Object,{assign:y,freeze:b,getOwnPropertyDescriptors:S,getOwnPropertySymbols:_,keys:g,preventExtensions:O,prototype:d}=p,{hasOwn:h}=p,{__lookupGetter__:R,__lookupSetter__:P,hasOwnProperty:N}=d,{toString:j}=d;function A(t){return"object"==typeof t&&null!==t}function T(t){return"object"==typeof t&&null!==t||"function"==typeof t}const E="function"==typeof h?h:function(t,r){return e(N,t,[r])};function I(t,r){return null!=t&&E(t,r)?e(R,t,[r]):void 0}function m(t,r){return null!=t&&E(t,r)?e(P,t,[r]):void 0}function B(t,e){return null!=t&&E(t,e)?t[e]:void 0}const v=Symbol,{for:L,iterator:x,toStringTag:k,unscopables:D}=v,{toString:M,valueOf:C}=v.prototype,w=Array,{prototype:G}=w,{at:W,concat:$,copyWithin:F,entries:U,every:V,fill:z,findIndex:K,flat:H,flatMap:J,forEach:X,keys:Y,lastIndexOf:Q,map:q,pop:Z,reduce:tt,reduceRight:et,reverse:rt,some:ot,splice:nt,toLocaleString:at,toString:st,values:ct,[x]:it}=G,ut=b(y({__proto__:null},G[D])),{includes:lt,sort:ft,unshift:pt}=G,{filter:yt,find:bt,indexOf:St,join:_t,push:gt,shift:Ot,slice:dt}=G,{isArray:ht}=w;function Rt(t,...r){const o=e(dt,t,[0]);for(let t=0,{length:n}=r;t<n;t+=1){const n=r[t];ht(n)?e(gt,o,n):o[o.length]=n}return o}function Pt(t){return f(t,null),t.at=W,t.concat=$,t.copyWithin=F,t.entries=U,t.every=V,t.fill=z,t.filter=yt,t.find=bt,t.findIndex=K,t.flat=H,t.flatMap=J,t.forEach=X,t.includes=lt,t.indexOf=St,t.join=_t,t.keys=Y,t.lastIndexOf=Q,t.map=q,t.pop=Z,t.push=gt,t.reduce=tt,t.reduceRight=et,t.reverse=rt,t.shift=Ot,t.slice=dt,t.some=ot,t.sort=ft,t.splice=nt,t.toLocaleString=at,t.toString=st,t.unshift=pt,t.values=ct,t[x]=it,t[D]=ut,f(t,G),t}const Nt=ArrayBuffer,{isView:jt}=Nt,At=I(Nt.prototype,"byteLength"),Tt="function"==typeof BigInt,Et=Tt?BigInt.prototype.valueOf:void 0,{valueOf:It}=Boolean.prototype,mt="$LWS",Bt=`${()=>1}`.includes("$LWS"),vt="…",Lt='"',xt="'",kt="$lockerEvalContext$",Dt="$lockerEvalHelpers$",Mt="[object Array]",Ct="[object ArrayBuffer]",wt="[object BigInt]",Gt="[object Boolean]",Wt="[object Date]",$t="[object Error]",Ft="[object Function]",Ut="[object Map]",Vt="[object Null]",zt="[object Number]",Kt="[object Object]",Ht="[object RegExp]",Jt="[object Set]",Xt="[object String]",Yt="[object Symbol]",Qt="[object Undefined]",qt="[object WeakMap]",Zt="[object WeakSet]",te="uncompiledLocation$LWS",ee="uncompiledTop$LWS",re="__webpack_require__",oe=Date,{now:ne}=oe,{valueOf:ae}=oe.prototype,{bind:se,toString:ce}=Function.prototype;function ie(){return null}function ue(){}const le=Map,{prototype:fe}=le,{clear:pe,delete:ye,forEach:be,get:Se,has:_e,keys:ge,values:Oe,[x]:de,[k]:he}=fe,{entries:Re,set:Pe}=fe,Ne=I(fe,"size");function je(t){return f(t,null),t.clear=pe,t.delete=ye,t.entries=Re,t.forEach=be,t.get=Se,t.has=_e,t.keys=ge,t.set=Pe,o(t,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Ne,set:void 0}),t.values=Oe,t[x]=de,t[k]=he,f(t,fe),t}const Ae=Number,{isFinite:Te,isInteger:Ee}=Ae,{toFixed:Ie,valueOf:me}=Ae.prototype,Be=String,{prototype:ve}=Be,{endsWith:Le,includes:xe,indexOf:ke,match:De,replace:Me,slice:Ce,split:we,startsWith:Ge,toLowerCase:We,toUpperCase:$e,valueOf:Fe}=ve,Ue={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},Ve="function"==typeof URL?URL:void 0,ze=null==Ve||null==(t=Ve.prototype)?void 0:t.toString,Ke=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;function He(t){const{length:r}=t;if(r){const o=e($e,t[0],[]);return 1===r?o:o+e(Ce,t,[1])}return""}function Je(t,r="'"){return r+e(Me,t,[Ue[r],`\\${r}`])+r}function Xe(t){var r,o;const n=e(ce,t,[]),a=e(De,n,[Ke]);return null!=(r=null!=(o=null==a?void 0:a[1])?o:null==a?void 0:a[2])?r:""}function Ye(t){if("symbol"!=typeof t)try{return void 0!==`${t}`}catch(t){}return!1}function Qe(t){return"string"==typeof t?t:`${t}`}function qe(t){if("string"==typeof t)return t;try{if("function"==typeof t)return e(ce,t,[]);if("object"==typeof t&&null!==t){if(Ve&&t instanceof Ve)return e(ze,t,[]);const r=e(j,t,[]);return"[object Symbol]"===r?e(M,t,[]):r}return"symbol"==typeof t?e(M,t,[]):Be(t)}catch(t){}return"[object Unknown]"}const Ze=RegExp,{prototype:tr}=Ze,{exec:er,test:rr}=tr,or=I(tr,"source"),nr=/[\\^$.*+?()[\]{}|]/g;function ar(t){return e(Me,t,[nr,"\\$&"])}const sr=Set,{prototype:cr}=sr,{clear:ir,delete:ur,entries:lr,forEach:fr,has:pr,keys:yr,[x]:br,[k]:Sr}=cr,{add:_r,values:gr}=cr,Or=I(cr,"size");function dr(t){return f(t,null),t.add=_r,t.clear=ir,t.delete=ur,t.entries=lr,t.forEach=fr,t.has=pr,t.keys=yr,o(t,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Or,set:void 0}),t.values=gr,t[x]=br,t[k]=Sr,f(t,cr),t}const hr=WeakMap,{prototype:Rr}=hr,{has:Pr}=Rr,{delete:Nr,get:jr,set:Ar,[k]:Tr}=Rr;function Er(t){return f(t,null),t.delete=Nr,t.get=jr,t.has=Pr,t.set=Ar,t[k]=Tr,f(t,Rr),t}const Ir=WeakSet,{prototype:mr}=Ir,{has:Br}=mr,{add:vr,delete:Lr,[k]:xr}=mr;function kr(t){return f(t,null),t.add=vr,t.delete=Lr,t.has=Br,t[k]=xr,f(t,mr),t}const{toStringTag:Dr}=Symbol,Mr=/[(`.[+\-/*%<>=,?^&]/,Cr=/\r\n?|\n|\u2028|\u2029/,wr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Gr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function Wr(t){if(null===t)return"[object Null]";if(void 0===t)return"[object Undefined]";switch(typeof t){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return ht(t)?"[object Array]":Dr in t?function(t){try{if("byteLength"in t)return e(At,t,[]),"[object ArrayBuffer]"}catch(t){}try{if("toLocaleDateString"in t)return e(ae,t,[]),"[object Date]"}catch(t){}try{if("get"in t&&"size"in t)return e(Ne,t,[]),"[object Map]"}catch(t){}try{if("add"in t&&"size"in t)return e(Or,t,[]),"[object Set]"}catch(t){}try{if("get"in t&&!("size"in t))return e(Pr,t,[]),"[object WeakMap]"}catch(t){}try{if("add"in t&&!("size"in t))return e(Br,t,[]),"[object WeakSet]"}catch(t){}try{if("toPrecision"in t)return e(me,t,[]),"[object Number]"}catch(t){}try{if("description"in t)return e(C,t,[]),"[object Symbol]"}catch(t){}try{if(E(t,"lastIndex"))return e(or,t,[]),"[object RegExp]"}catch(t){}try{if(E(t,"length"))return e(Fe,t,[]),"[object String]"}catch(t){}try{return e(It,t,[]),"[object Boolean]"}catch(t){}if(Tt)try{return e(Et,t,[]),"[object BigInt]"}catch(t){}return"[object Object]"}(t):e(j,t,[])}const $r="undefined"==typeof performance?ne:e(se,performance.now,[performance]);function Fr(t,r){let o=0;for(;;){wr.lastIndex=o,o+=e(er,wr,[t])[0].length;const n=e(er,Gr,[e(Ce,t,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){wr.lastIndex=o+n[0].length;const r=e(er,wr,[t]),a=r.index+r[0].length,s=t[a];if(";"===s||"}"===s)return o;const c=a+1;if(e(rr,Cr,[r[0]])&&!("!"===s&&c<t.length&&"="===t[c]||e(rr,Mr,[s])))return o}o+=n[0].length,wr.lastIndex=o,o+=e(er,wr,[t])[0].length,";"===t[o]&&(o+=1)}}const{parse:Ur}=JSON,{stringify:Vr}=JSON,zr=L("@@lockerNearMembraneSerializedValue"),Kr=L("@@lockerNearMembrane");function Hr(t){return zr in t?void 0:t[zr]}function Jr(t){return("object"==typeof t&&null!==t||"function"==typeof t)&&(!(Kr in t)&&!0===t[Kr])}const Xr=je(new le);function Yr(t,r){const o=new le,n=e(Re,t,[]);let{length:a}=r;for(;;){const{done:t,value:s}=n.next();if(t)break;const{0:c,1:i}=s;let u;r[a++]=[t=>{u=t},c],r[a++]=[t=>{e(Pe,o,[u,t])},i]}return o}function Qr(t){const{flags:e,source:r}=Ur(Hr(t));return new Ze(r,e)}function qr(t,r){const o=new sr,n=e(gr,t,[]);let{length:a}=r;for(;;){const{done:t,value:s}=n.next();if(t)break;r[a++]=[t=>{e(_r,o,[t])},s]}return o}function Zr(t,e,r){const o=g(e);let{length:n}=t;for(let a=0,{length:s}=o;a<s;a+=1){const s=o[a],c=e[s];t[n++]=[t=>{r[s]=t},c]}}function to(t){let r=t;try{r=function(t){let r;const o=[[t=>{r=t},t]];t:for(;o.length;){const{0:t,1:r}=e(Ot,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){t(r);continue t}if("symbol"==typeof r){t(r);break t}let n=Xr.get(r);if(n){t(n);continue t}const a=Wr(r);switch(a){case"[object Object]":{const t=c(r);t!==d&&null!==t&&null!==c(t)||(n={},Zr(o,r,n));break}case"[object Array]":n=w(r.length),Zr(o,r,n);break;case"[object Map]":n=Yr(r,o);break;case"[object Set]":n=qr(r,o)}if(void 0===n){if(!Jr(r)){Xr.set(r,r),t(r);continue t}switch(a){case"[object RegExp]":n=Qr(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=p(Hr(r))}}if(void 0===n){t(r);break t}Xr.set(r,n),t(n)}return r}(t)}catch(t){}return Xr.clear(),r}function eo(t){return e(dt,t,[0])}function ro(t){const e=u(t),r={__proto__:null};for(let o=0,{length:n}=e;o<n;o+=1){const n=e[o];r[n]=t[n]}return r}const oo=console,{warn:no}=oo;function ao(...t){e(no,oo,t)}const so=Error,co=TypeError;class io extends Error{constructor(t){super(`Lightning Web Security: ${t}`)}}const uo=kr(new Ir),lo=L("@@lockerLiveValue");function fo(t,r=0){if(1&r||2&r||64&r||null==t||t===d||t===tr)return!1;if("function"==typeof t){try{return uo.has(t)||E(t,lo)}catch(t){}return!1}if("object"==typeof t){try{if(uo.has(t)||E(t,lo))return!0}catch(t){}let o;try{if(({constructor:o}=t),o===p)return!0}catch(t){}try{if(null===c(t)&&("function"!=typeof o||o.prototype!==t))return!0}catch(t){}if(0===r){try{if(ht(t))return!0}catch(t){return!1}if(jt(t))return!0}try{if(E(t,"lastIndex"))return e(or,t,[]),!0}catch(t){}try{if("byteLength"in t)return e(At,t,[]),!0}catch(t){}}return!1}function po(t){return("object"!=typeof t||null===t)&&"function"!=typeof t||fo(t)||o(t,lo,{__proto__:null,value:void 0}),t}function yo(t){return uo.add(t),t}const{min:bo}=Math;function So(t){return`LSKey-${t}$`}function _o(t,r){return"string"==typeof t&&e(Ge,t,[`LSKey-${r}$`])}function go(t,e){return`LSKey-${e}$${t}`}function Oo(t,r){if("string"==typeof t){const o=`LSKey-${r}$`;return e(Ge,t,[o])?e(Ce,t,[o.length]):t}return""}const ho=Promise,{catch:Ro,then:Po}=ho.prototype,No=ho.resolve.bind(ho),jo=ho.reject.bind(ho),Ao=Proxy,{revocable:To}=Ao;function Eo(t){const e=To(t,{__proto__:null});return e.revoke(),e.proxy}export{jt as ArrayBufferIsView,At as ArrayBufferProtoByteLengthGetter,Rt as ArrayConcat,w as ArrayCtor,ht as ArrayIsArray,yt as ArrayProtoFilter,bt as ArrayProtoFind,lt as ArrayProtoIncludes,St as ArrayProtoIndexOf,_t as ArrayProtoJoin,gt as ArrayProtoPush,Ot as ArrayProtoShift,dt as ArrayProtoSlice,ft as ArrayProtoSort,pt as ArrayProtoUnshift,Et as BigIntProtoValueOf,It as BooleanProtoValueOf,vt as CHAR_ELLIPSIS,Lt as CHAR_QUOTE_DOUBLE,xt as CHAR_QUOTE_SINGLE,ne as DateNow,ae as DateProtoValueOf,so as ErrorCtor,se as FunctionProtoBind,ce as FunctionProtoToString,Ur as JSONParse,Vr as JSONStringify,mt as LOCKER_IDENTIFIER_MARKER,Bt as LOCKER_UNMINIFIED_FLAG,io as LockerSecurityError,le as MapCtor,Re as MapProtoEntries,Pe as MapProtoSet,Ne as MapProtoSizeGetter,bo as MathMin,Te as NumberIsFinite,Ee as NumberIsInteger,Ie as NumberProtoToFixed,me as NumberProtoValueOf,y as ObjectAssign,p as ObjectCtor,b as ObjectFreeze,S as ObjectGetOwnPropertyDescriptors,_ as ObjectGetOwnPropertySymbols,E as ObjectHasOwn,g as ObjectKeys,I as ObjectLookupOwnGetter,m as ObjectLookupOwnSetter,B as ObjectLookupOwnValue,O as ObjectPreventExtensions,d as ObjectProto,j as ObjectProtoToString,Ro as PromiseProtoCatch,Po as PromiseProtoThen,jo as PromiseReject,No as PromiseResolve,Ao as ProxyCtor,To as ProxyRevocable,e as ReflectApply,r as ReflectConstruct,o as ReflectDefineProperty,n as ReflectDeleteProperty,a as ReflectGet,s as ReflectGetOwnPropertyDescriptor,c as ReflectGetPrototypeOf,i as ReflectHas,u as ReflectOwnKeys,l as ReflectSet,f as ReflectSetPrototypeOf,Ze as RegExpCtor,tr as RegExpProto,er as RegExpProtoExec,or as RegExpProtoSourceGetter,rr as RegExpProtoTest,kt as SANDBOX_EVAL_CONTEXT_NAME,Dt as SANDBOX_EVAL_HELPERS_NAME,Tt as SUPPORTS_BIG_INT,lo as SYMBOL_LIVE_OBJECT,sr as SetCtor,_r as SetProtoAdd,Or as SetProtoSizeGetter,gr as SetProtoValues,Be as StringCtor,Le as StringProtoEndsWith,xe as StringProtoIncludes,ke as StringProtoIndexOf,De as StringProtoMatch,Me as StringProtoReplace,Ce as StringProtoSlice,we as StringProtoSplit,Ge as StringProtoStartsWith,We as StringProtoToLowerCase,$e as StringProtoToUpperCase,Fe as StringProtoValueOf,L as SymbolFor,x as SymbolIterator,M as SymbolProtoToString,C as SymbolProtoValueOf,k as SymbolToStringTag,D as SymbolUnscopables,Mt as TO_STRING_BRAND_ARRAY,Ct as TO_STRING_BRAND_ARRAY_BUFFER,wt as TO_STRING_BRAND_BIG_INT,Gt as TO_STRING_BRAND_BOOLEAN,Wt as TO_STRING_BRAND_DATE,$t as TO_STRING_BRAND_ERROR,Ft as TO_STRING_BRAND_FUNCTION,Ut as TO_STRING_BRAND_MAP,Vt as TO_STRING_BRAND_NULL,zt as TO_STRING_BRAND_NUMBER,Kt as TO_STRING_BRAND_OBJECT,Ht as TO_STRING_BRAND_REG_EXP,Jt as TO_STRING_BRAND_SET,Xt as TO_STRING_BRAND_STRING,Yt as TO_STRING_BRAND_SYMBOL,Qt as TO_STRING_BRAND_UNDEFINED,qt as TO_STRING_BRAND_WEAK_MAP,Zt as TO_STRING_BRAND_WEAK_SET,co as TypeErrorCtor,te as UNCOMPILED_LOCATION_NAME,ee as UNCOMPILED_TOP_NAME,re as WEBPACK_REQUIRE_NAME,hr as WeakMapCtor,Pr as WeakMapProtoHas,Ir as WeakSetCtor,Br as WeakSetProtoHas,ie as alwaysNull,He as capitalizeFirstChar,ao as consoleWarn,Eo as createRevokedProxy,Je as enquote,ar as escapeRegExp,Xe as extractFunctionBodySource,Wr as getBrand,So as getNamespacePrefix,Hr as getNearMembraneSerializedValue,$r as getTimestamp,Fr as indexOfPragma,Ye as isConvertibleToString,_o as isNamespacePrefixed,Jr as isNearMembrane,A as isObject,T as isObjectLike,fo as isTargetLive,po as markTargetAsLive,ue as noop,to as partialStructuredClone,go as prefixNamespace,eo as shallowCloneArray,ro as shallowCloneOptions,Pt as toSafeArray,je as toSafeMap,dr as toSafeSet,qe as toSafeTemplateStringValue,Er as toSafeWeakMap,kr as toSafeWeakSet,Qe as toString,yo as trackTargetAsLive,Oo as unprefixNamespace}; | ||
/*! version: 0.17.23 */ | ||
var e;const{apply:t,construct:r,defineProperty:o,deleteProperty:n,get:a,getOwnPropertyDescriptor:s,getPrototypeOf:c,has:i,ownKeys:u,set:l,setPrototypeOf:f}=Reflect,p=Object,{assign:y,freeze:S,defineProperties:_,getOwnPropertyDescriptors:b,getOwnPropertySymbols:g,keys:O,preventExtensions:d,prototype:R}=p,{hasOwn:h}=p,{__lookupGetter__:E,__lookupSetter__:N,hasOwnProperty:P}=R,{toString:A}=R;function j(e){return"object"==typeof e&&null!==e}function I(e){return"object"==typeof e&&null!==e||"function"==typeof e}const T="function"==typeof h?h:function(e,r){return t(P,e,[r])};function m(e,r){return null!=e&&T(e,r)?t(E,e,[r]):void 0}function L(e,r){return null!=e&&T(e,r)?t(N,e,[r]):void 0}function B(e,t){return null!=e&&T(e,t)?e[t]:void 0}const k=Symbol,{asyncIterator:v,for:M,iterator:D,toStringTag:x,unscopables:C}=k,{toString:G,valueOf:w}=k.prototype,W=Array,{prototype:F}=W,{at:U,concat:$,copyWithin:V,entries:K,every:z,fill:H,findIndex:Y,flat:J,flatMap:X,forEach:Q,keys:q,lastIndexOf:Z,map:ee,pop:te,reduce:re,reduceRight:oe,reverse:ne,some:ae,splice:se,toLocaleString:ce,toString:ie,values:ue,[D]:le}=F,fe=S(y({__proto__:null},F[C])),{includes:pe,sort:ye,unshift:Se}=F,{filter:_e,find:be,indexOf:ge,join:Oe,push:de,shift:Re,slice:he}=F,{isArray:Ee}=W;function Ne(e,...r){const o=t(he,e,[0]);for(let e=0,{length:n}=r;e<n;e+=1){const n=r[e];Ee(n)?t(de,o,n):o[o.length]=n}return o}function Pe(e){return f(e,null),e.at=U,e.concat=$,e.copyWithin=V,e.entries=K,e.every=z,e.fill=H,e.filter=_e,e.find=be,e.findIndex=Y,e.flat=J,e.flatMap=X,e.forEach=Q,e.includes=pe,e.indexOf=ge,e.join=Oe,e.keys=q,e.lastIndexOf=Z,e.map=ee,e.pop=te,e.push=de,e.reduce=re,e.reduceRight=oe,e.reverse=ne,e.shift=Re,e.slice=he,e.some=ae,e.sort=ye,e.splice=se,e.toLocaleString=ce,e.toString=ie,e.unshift=Se,e.values=ue,e[D]=le,e[C]=fe,f(e,F),e}const Ae=ArrayBuffer,{isView:je}=Ae,Ie=m(Ae.prototype,"byteLength"),Te="function"==typeof BigInt,me=Te?BigInt.prototype.valueOf:void 0,{valueOf:Le}=Boolean.prototype,Be="…",ke='"',ve="'",Me="Invalid sandbox key.",De="$LWS",xe=M("@@lockerNearMembraneSerializedValue"),Ce=M("@@lockerNearMembrane"),Ge="LSKey",we="lskey",We=`${function e(){return e.name}()}`.includes("LOCKER_UNMINIFIED_FLAG"),Fe="$lockerEvalContext$",Ue="$lockerEvalHelpers$",$e=M("@@lockerLiveValue"),Ve="[object Array]",Ke="[object ArrayBuffer]",ze="[object BigInt]",He="[object Boolean]",Ye="[object Date]",Je="[object Error]",Xe="[object Function]",Qe="[object Map]",qe="[object Null]",Ze="[object Number]",et="[object Object]",tt="[object RegExp]",rt="[object Set]",ot="[object String]",nt="[object Symbol]",at="[object Undefined]",st="[object WeakMap]",ct="[object WeakSet]",it="uncompiledLocation$LWS",ut="uncompiledTop$LWS",lt="__webpack_require__",ft=Date,{now:pt}=ft,{valueOf:yt}=ft.prototype,St=Proxy,{revocable:_t}=St;function bt(e){const t=_t(e,{__proto__:null});return t.revoke(),t.proxy}const{bind:gt,toString:Ot}=Function.prototype;function dt(){}function Rt(e,o){const n=new St(o,{apply:(r,a,s)=>(a!==n&&a!==o||(a=e),t(e,a,s)),construct:(t,a,s)=>(s!==n&&s!==o||(s=e),r(e,a,s))});return n}function ht(e){return e}const Et=Map,{prototype:Nt}=Et,{clear:Pt,delete:At,forEach:jt,get:It,has:Tt,keys:mt,values:Lt,[D]:Bt,[x]:kt}=Nt,{entries:vt,set:Mt}=Nt,Dt=m(Nt,"size");function xt(e){return f(e,null),e.clear=Pt,e.delete=At,e.entries=vt,e.forEach=jt,e.get=It,e.has=Tt,e.keys=mt,e.set=Mt,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Dt,set:void 0}),e.values=Lt,e[D]=Bt,e[x]=kt,f(e,Nt),e}const Ct=Number,{isFinite:Gt,isInteger:wt}=Ct,{toFixed:Wt,valueOf:Ft}=Ct.prototype,Ut=String,{prototype:$t}=Ut,{endsWith:Vt,includes:Kt,indexOf:zt,match:Ht,replace:Yt,slice:Jt,split:Xt,startsWith:Qt,toLowerCase:qt,toUpperCase:Zt,valueOf:er}=$t,tr={__proto__:null,'"':/\\?"/g,"'":/\\?'/g},rr="function"==typeof URL?URL:void 0,or=null==rr||null==(e=rr.prototype)?void 0:e.toString,nr=/^[\s\S]+?\{[\t ]*(?:\r?\n)?([\s\S]*?)(?:\r?\n)?[\t ]*\}$|[\s\S]+?=>\s*([\s\S]+?)\s*$/;function ar(e){const{length:r}=e;if(r){const o=t(Zt,e[0],[]);return 1===r?o:o+t(Jt,e,[1])}return""}function sr(e,r="'"){return r+t(Yt,e,[tr[r],`\\${r}`])+r}function cr(e){var r,o;const n=t(Ot,e,[]),a=t(Ht,n,[nr]);return null!=(r=null!=(o=null==a?void 0:a[1])?o:null==a?void 0:a[2])?r:""}function ir(e){if("symbol"!=typeof e)try{return void 0!==`${e}`}catch(e){}return!1}function ur(e){return"string"==typeof e?e:`${e}`}function lr(e){if("string"==typeof e)return e;try{if("function"==typeof e)return t(Ot,e,[]);if("object"==typeof e&&null!==e){if(rr&&e instanceof rr)return t(or,e,[]);const r=t(A,e,[]);return"[object Symbol]"===r?t(G,e,[]):r}return"symbol"==typeof e?t(G,e,[]):Ut(e)}catch(e){}return"[object Unknown]"}const fr=RegExp,{prototype:pr}=fr,{exec:yr,test:Sr}=pr,_r=m(pr,"source"),br=/[\\^$.*+?()[\]{}|]/g;function gr(e){return t(Yt,e,[br,"\\$&"])}const Or=Set,{prototype:dr}=Or,{clear:Rr,delete:hr,entries:Er,forEach:Nr,has:Pr,keys:Ar,[D]:jr,[x]:Ir}=dr,{add:Tr,values:mr}=dr,Lr=m(dr,"size");function Br(e){return f(e,null),e.add=Tr,e.clear=Rr,e.delete=hr,e.entries=Er,e.forEach=Nr,e.has=Pr,e.keys=Ar,o(e,"size",{__proto__:null,configurable:!0,enumerable:!0,get:Lr,set:void 0}),e.values=mr,e[D]=jr,e[x]=Ir,f(e,dr),e}const kr=WeakMap,{prototype:vr}=kr,{has:Mr}=vr,{delete:Dr,get:xr,set:Cr,[x]:Gr}=vr;function wr(e){return f(e,null),e.delete=Dr,e.get=xr,e.has=Mr,e.set=Cr,e[x]=Gr,f(e,vr),e}const Wr=WeakSet,{prototype:Fr}=Wr,{has:Ur}=Fr,{add:$r,delete:Vr,[x]:Kr}=Fr;function zr(e){return f(e,null),e.add=$r,e.delete=Vr,e.has=Ur,e[x]=Kr,f(e,Fr),e}const{toStringTag:Hr}=Symbol,Yr=/[(`.[+\-/*%<>=,?^&]/,Jr=/\r\n?|\n|\u2028|\u2029/,Xr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qr=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function qr(e){if(null===e)return"[object Null]";if(void 0===e)return"[object Undefined]";switch(typeof e){case"bigint":return"[object BigInt]";case"boolean":return"[object Boolean]";case"function":return"[object Function]";case"number":return"[object Number]";case"string":return"[object String]";case"symbol":return"[object Symbol]"}return Ee(e)?"[object Array]":Hr in e?function(e){try{if("byteLength"in e)return t(Ie,e,[]),"[object ArrayBuffer]"}catch(e){}try{if("toLocaleDateString"in e)return t(yt,e,[]),"[object Date]"}catch(e){}try{if("get"in e&&"size"in e)return t(Dt,e,[]),"[object Map]"}catch(e){}try{if("add"in e&&"size"in e)return t(Lr,e,[]),"[object Set]"}catch(e){}try{if("get"in e&&!("size"in e))return t(Mr,e,[]),"[object WeakMap]"}catch(e){}try{if("add"in e&&!("size"in e))return t(Ur,e,[]),"[object WeakSet]"}catch(e){}try{if("toPrecision"in e)return t(Ft,e,[]),"[object Number]"}catch(e){}try{if("description"in e)return t(w,e,[]),"[object Symbol]"}catch(e){}try{if(T(e,"lastIndex"))return t(_r,e,[]),"[object RegExp]"}catch(e){}try{if(T(e,"length"))return t(er,e,[]),"[object String]"}catch(e){}try{return t(Le,e,[]),"[object Boolean]"}catch(e){}if(Te)try{return t(me,e,[]),"[object BigInt]"}catch(e){}return"[object Object]"}(e):t(A,e,[])}const Zr="undefined"==typeof performance?pt:t(gt,performance.now,[performance]);function eo(e,r){let o=0;for(;;){Xr.lastIndex=o,o+=t(yr,Xr,[e])[0].length;const n=t(yr,Qr,[t(Jt,e,[o])]);if(null===n)return-1;if((n[1]||n[2])===r){Xr.lastIndex=o+n[0].length;const r=t(yr,Xr,[e]),a=r.index+r[0].length,s=e[a];if(";"===s||"}"===s)return o;const c=a+1;if(t(Sr,Jr,[r[0]])&&!("!"===s&&c<e.length&&"="===e[c]||t(Sr,Yr,[s])))return o}o+=n[0].length,Xr.lastIndex=o,o+=t(yr,Xr,[e])[0].length,";"===e[o]&&(o+=1)}}const{parse:to}=JSON,{stringify:ro}=JSON;function oo(e){return xe in e?void 0:e[xe]}function no(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&(!(Ce in e)&&!0===e[Ce])}const ao=xt(new Et);function so(e,r){const o=new Et,n=t(vt,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;const{0:c,1:i}=s;let u;r[a++]=[e=>{u=e},c],r[a++]=[e=>{t(Mt,o,[u,e])},i]}return o}function co(e){const{flags:t,source:r}=to(oo(e));return new fr(r,t)}function io(e,r){const o=new Or,n=t(mr,e,[]);let{length:a}=r;for(;;){const{done:e,value:s}=n.next();if(e)break;r[a++]=[e=>{t(Tr,o,[e])},s]}return o}function uo(e,t,r){const o=O(t);let{length:n}=e;for(let a=0,{length:s}=o;a<s;a+=1){const s=o[a],c=t[s];e[n++]=[e=>{r[s]=e},c]}}function lo(e){let r=e;if("object"==typeof e&&null!==e){try{r=function(e){let r;const o=[[e=>{r=e},e]];e:for(;o.length;){const{0:e,1:r}=t(Re,o,[]);if(null==r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"bigint"==typeof r){e(r);continue e}if("symbol"==typeof r){e(r);break e}let n=ao.get(r);if(n){e(n);continue e}const a=qr(r);switch(a){case"[object Object]":{const e=c(r);e!==R&&null!==e&&null!==c(e)||(n={},uo(o,r,n));break}case"[object Array]":n=W(r.length),uo(o,r,n);break;case"[object Map]":n=so(r,o);break;case"[object Set]":n=io(r,o)}if(void 0===n){if(!no(r)){ao.set(r,r),e(r);continue e}switch(a){case"[object RegExp]":n=co(r);break;case"[object Boolean]":case"[object Number]":case"[object BigInt]":case"[object String]":n=p(oo(r))}}if(void 0===n){e(r);break e}ao.set(r,n),e(n)}return r}(e)}catch(e){}ao.clear()}return r}function fo(e){return t(he,e,[0])}function po(e){const t=u(e),r={__proto__:null};for(let o=0,{length:n}=t;o<n;o+=1){const n=t[o];r[n]=e[n]}return r}const yo=console,{warn:So}=yo;function _o(...e){t(So,yo,e)}const bo=Error,go=TypeError;class Oo extends Error{constructor(e){super(`Lightning Web Security: ${e}`)}}const Ro=zr(new Wr);function ho(e,r=0){if(1&r||2&r||64&r||null==e||e===R||e===pr)return!1;if("function"==typeof e){try{return Ro.has(e)||T(e,$e)}catch(e){}return!1}if("object"==typeof e){try{if(Ro.has(e)||T(e,$e))return!0}catch(e){}let o;try{if(({constructor:o}=e),o===p)return!0}catch(e){}try{if(null===c(e)&&("function"!=typeof o||o.prototype!==e))return!0}catch(e){}if(0===r){try{if(Ee(e))return!0}catch(e){return!1}if(je(e))return!0}try{if(T(e,"lastIndex"))return t(_r,e,[]),!0}catch(e){}try{if("byteLength"in e)return t(Ie,e,[]),!0}catch(e){}}return!1}function Eo(e){return("object"!=typeof e||null===e)&&"function"!=typeof e||ho(e)||o(e,$e,{__proto__:null,value:void 0}),e}function No(e){return Ro.add(e),e}const{min:Po}=Math;function Ao(e){return`LSKey-${e}$`}function jo(e){return`LSKey[${e}]`}function Io(e,t){return`${Ao(t)}${e}`}function To(e,t){return`${jo(t)}${e}`}function mo(e,r){if("string"==typeof e){const o=Ao(r);return t(Qt,e,[o])?t(Jt,e,[o.length]):e}return""}function Lo(e,r){if("string"==typeof e){const o=jo(r);return t(Qt,e,[o])?t(Jt,e,[o.length]):e}return""}function Bo(e,r){return"string"==typeof e&&t(Qt,e,[Ao(r)])}function ko(e,r){return"string"==typeof e&&t(Qt,e,[jo(r)])}const vo=Promise,{catch:Mo,then:Do}=vo.prototype,xo=vo.resolve.bind(vo),Co=vo.reject.bind(vo);export{je as ArrayBufferIsView,Ie as ArrayBufferProtoByteLengthGetter,Ne as ArrayConcat,W as ArrayCtor,Ee as ArrayIsArray,_e as ArrayProtoFilter,be as ArrayProtoFind,pe as ArrayProtoIncludes,ge as ArrayProtoIndexOf,Oe as ArrayProtoJoin,de as ArrayProtoPush,Re as ArrayProtoShift,he as ArrayProtoSlice,ye as ArrayProtoSort,Se as ArrayProtoUnshift,me as BigIntProtoValueOf,Le as BooleanProtoValueOf,Be as CHAR_ELLIPSIS,ke as CHAR_QUOTE_DOUBLE,ve as CHAR_QUOTE_SINGLE,pt as DateNow,yt as DateProtoValueOf,Me as ERR_INVALID_SANDBOX_KEY,bo as ErrorCtor,gt as FunctionProtoBind,Ot as FunctionProtoToString,to as JSONParse,ro as JSONStringify,De as LOCKER_IDENTIFIER_MARKER,xe as LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL,Ce as LOCKER_NEAR_MEMBRANE_SYMBOL,Ge as LOCKER_SERVICE_KEY,we as LOCKER_SERVICE_KEY_LOWERED,We as LOCKER_UNMINIFIED_FLAG,Oo as LockerSecurityError,Et as MapCtor,vt as MapProtoEntries,Mt as MapProtoSet,Dt as MapProtoSizeGetter,Po as MathMin,Gt as NumberIsFinite,wt as NumberIsInteger,Wt as NumberProtoToFixed,Ft as NumberProtoValueOf,y as ObjectAssign,p as ObjectCtor,_ as ObjectDefineProperties,S as ObjectFreeze,b as ObjectGetOwnPropertyDescriptors,g as ObjectGetOwnPropertySymbols,T as ObjectHasOwn,O as ObjectKeys,m as ObjectLookupOwnGetter,L as ObjectLookupOwnSetter,B as ObjectLookupOwnValue,d as ObjectPreventExtensions,R as ObjectProto,A as ObjectProtoToString,vo as PromiseCtor,Mo as PromiseProtoCatch,Do as PromiseProtoThen,Co as PromiseReject,xo as PromiseResolve,St as ProxyCtor,_t as ProxyRevocable,t as ReflectApply,r as ReflectConstruct,o as ReflectDefineProperty,n as ReflectDeleteProperty,a as ReflectGet,s as ReflectGetOwnPropertyDescriptor,c as ReflectGetPrototypeOf,i as ReflectHas,u as ReflectOwnKeys,l as ReflectSet,f as ReflectSetPrototypeOf,fr as RegExpCtor,pr as RegExpProto,yr as RegExpProtoExec,_r as RegExpProtoSourceGetter,Sr as RegExpProtoTest,Fe as SANDBOX_EVAL_CONTEXT_NAME,Ue as SANDBOX_EVAL_HELPERS_NAME,Te as SUPPORTS_BIG_INT,$e as SYMBOL_LIVE_OBJECT,Or as SetCtor,Tr as SetProtoAdd,Lr as SetProtoSizeGetter,mr as SetProtoValues,Ut as StringCtor,Vt as StringProtoEndsWith,Kt as StringProtoIncludes,zt as StringProtoIndexOf,Ht as StringProtoMatch,Yt as StringProtoReplace,Jt as StringProtoSlice,Xt as StringProtoSplit,Qt as StringProtoStartsWith,qt as StringProtoToLowerCase,Zt as StringProtoToUpperCase,er as StringProtoValueOf,v as SymbolAsyncIterator,M as SymbolFor,D as SymbolIterator,G as SymbolProtoToString,w as SymbolProtoValueOf,x as SymbolToStringTag,C as SymbolUnscopables,Ve as TO_STRING_BRAND_ARRAY,Ke as TO_STRING_BRAND_ARRAY_BUFFER,ze as TO_STRING_BRAND_BIG_INT,He as TO_STRING_BRAND_BOOLEAN,Ye as TO_STRING_BRAND_DATE,Je as TO_STRING_BRAND_ERROR,Xe as TO_STRING_BRAND_FUNCTION,Qe as TO_STRING_BRAND_MAP,qe as TO_STRING_BRAND_NULL,Ze as TO_STRING_BRAND_NUMBER,et as TO_STRING_BRAND_OBJECT,tt as TO_STRING_BRAND_REG_EXP,rt as TO_STRING_BRAND_SET,ot as TO_STRING_BRAND_STRING,nt as TO_STRING_BRAND_SYMBOL,at as TO_STRING_BRAND_UNDEFINED,st as TO_STRING_BRAND_WEAK_MAP,ct as TO_STRING_BRAND_WEAK_SET,go as TypeErrorCtor,it as UNCOMPILED_LOCATION_NAME,ut as UNCOMPILED_TOP_NAME,lt as WEBPACK_REQUIRE_NAME,kr as WeakMapCtor,Mr as WeakMapProtoHas,Wr as WeakSetCtor,Ur as WeakSetProtoHas,ar as capitalizeFirstChar,_o as consoleWarn,bt as createRevokedProxy,sr as enquote,gr as escapeRegExp,cr as extractFunctionBodySource,qr as getBrand,Ao as getNamespaceMarker,oo as getNearMembraneSerializedValue,jo as getStorageNamespaceMarker,Zr as getTimestamp,ht as identity,eo as indexOfPragma,ir as isConvertibleToString,no as isNearMembrane,j as isObject,I as isObjectLike,ho as isTargetLive,Eo as markTargetAsLive,dt as noop,lo as partialStructuredClone,Io as prependNamespaceMarker,To as prependStorageNamespaceMarker,Rt as proxyMaskFunction,mo as removeNamespaceMarker,Lo as removeStorageNamespaceMarker,fo as shallowCloneArray,po as shallowCloneOptions,Bo as startsWithNamespaceMarker,ko as startsWithStorageNamespaceMarker,Pe as toSafeArray,xt as toSafeMap,Br as toSafeSet,lr as toSafeTemplateStringValue,wr as toSafeWeakMap,zr as toSafeWeakSet,ur as toString,No as trackTargetAsLive}; | ||
/*! version: 0.18.6 */ |
@@ -23,2 +23,3 @@ /*! | ||
freeze: ObjectFreeze$LWS, | ||
defineProperties: ObjectDefineProperties$LWS, | ||
getOwnPropertyDescriptors: ObjectGetOwnPropertyDescriptors$LWS, | ||
@@ -70,2 +71,3 @@ getOwnPropertySymbols: ObjectGetOwnPropertySymbols$LWS, | ||
const { | ||
asyncIterator: SymbolAsyncIterator$LWS, | ||
for: SymbolFor$LWS, | ||
@@ -214,3 +216,11 @@ iterator: SymbolIterator$LWS, | ||
} = Boolean.prototype; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; // This package is bundled by third-parties that have their own build time | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const ERR_INVALID_SANDBOX_KEY$LWS = 'Invalid sandbox key.'; | ||
const LOCKER_IDENTIFIER_MARKER$LWS = '$LWS'; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
const LOCKER_SERVICE_KEY$LWS = 'LSKey'; | ||
const LOCKER_SERVICE_KEY_LOWERED$LWS = 'lskey'; // This package is bundled by third-parties that have their own build time | ||
// replacement logic. Instead of customizing each build system to be aware | ||
@@ -221,13 +231,14 @@ // of this package we implement a two phase debug mode by performing small | ||
// is used for light weight initialization time debug while phase two is | ||
// reserved for post initialization runtime. | ||
// istanbul ignore next | ||
// reserved for post initialization runtime | ||
const LOCKER_UNMINIFIED_FLAG$LWS = `${() => | ||
/* $LWS */ | ||
1}`.includes(LOCKER_IDENTIFIER_MARKER$LWS); | ||
const CHAR_ELLIPSIS$LWS = '\u2026'; | ||
const CHAR_QUOTE_DOUBLE$LWS = '"'; | ||
const CHAR_QUOTE_SINGLE$LWS = "'"; | ||
const LOCKER_UNMINIFIED_FLAG$LWS = // eslint-disable-next-line @typescript-eslint/naming-convention | ||
/* istanbul ignore next */ | ||
`${function LOCKER_UNMINIFIED_FLAG$LWS() { | ||
return LOCKER_UNMINIFIED_FLAG$LWS.name; | ||
}()}`.includes('LOCKER_UNMINIFIED_FLAG'); | ||
const SANDBOX_EVAL_CONTEXT_NAME$LWS = '$lockerEvalContext$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; | ||
const SANDBOX_EVAL_HELPERS_NAME$LWS = '$lockerEvalHelpers$'; // Legacy symbol used by packages/locker-core-engine/src/LockerFilter.js. | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
const TO_STRING_BRAND_ARRAY$LWS = '[object Array]'; | ||
@@ -261,3 +272,16 @@ const TO_STRING_BRAND_ARRAY_BUFFER$LWS = '[object ArrayBuffer]'; | ||
} = DateCtor$LWS.prototype; | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
const { | ||
bind: FunctionProtoBind$LWS, | ||
@@ -267,9 +291,31 @@ toString: FunctionProtoToString$LWS | ||
function alwaysNull$LWS() { | ||
return null; | ||
function noop$LWS() {// No operation performed. | ||
} | ||
function noop$LWS() {// No operation performed. | ||
function proxyMaskFunction$LWS(func$LWS, maskFunc$LWS) { | ||
const proxy$LWS = new ProxyCtor$LWS(maskFunc$LWS, { | ||
apply(_target$LWS, thisArg$LWS, args$LWS) { | ||
if (thisArg$LWS === proxy$LWS || thisArg$LWS === maskFunc$LWS) { | ||
thisArg$LWS = func$LWS; | ||
} | ||
return ReflectApply$LWS(func$LWS, thisArg$LWS, args$LWS); | ||
}, | ||
construct(_target$LWS, args$LWS, newTarget$LWS) { | ||
if (newTarget$LWS === proxy$LWS || newTarget$LWS === maskFunc$LWS) { | ||
newTarget$LWS = func$LWS; | ||
} | ||
return ReflectConstruct$LWS(func$LWS, args$LWS, newTarget$LWS); | ||
} | ||
}); | ||
return proxy$LWS; | ||
} | ||
function identity$LWS(value$LWS) { | ||
return value$LWS; | ||
} | ||
const MapCtor$LWS = Map; | ||
@@ -329,4 +375,3 @@ const { | ||
valueOf: NumberProtoValueOf$LWS | ||
} = NumberCtor$LWS.prototype; // Used by '@locker/near-membrane-dom'. | ||
} = NumberCtor$LWS.prototype; | ||
const StringCtor$LWS = String; | ||
@@ -349,3 +394,3 @@ const { | ||
} = StringProto$LWS; | ||
const QUOTE_CHAR_REG_EXP_MAP$LWS = { | ||
const quoteCharRegExpRegistry$LWS = { | ||
__proto__: null, | ||
@@ -384,3 +429,3 @@ [CHAR_QUOTE_DOUBLE$LWS]: /\\?"/g, | ||
function enquote$LWS(string$LWS, quoteChar$LWS = CHAR_QUOTE_SINGLE$LWS) { | ||
return quoteChar$LWS + ReflectApply$LWS(StringProtoReplace$LWS, string$LWS, [QUOTE_CHAR_REG_EXP_MAP$LWS[quoteChar$LWS], `\\${quoteChar$LWS}`]) + quoteChar$LWS; | ||
return quoteChar$LWS + ReflectApply$LWS(StringProtoReplace$LWS, string$LWS, [quoteCharRegExpRegistry$LWS[quoteChar$LWS], `\\${quoteChar$LWS}`]) + quoteChar$LWS; | ||
} | ||
@@ -820,4 +865,2 @@ | ||
} = JSON; | ||
const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembraneSerializedValue'); | ||
const LOCKER_NEAR_MEMBRANE_SYMBOL$LWS = SymbolFor$LWS('@@lockerNearMembrane'); | ||
@@ -836,3 +879,3 @@ function getNearMembraneSerializedValue$LWS(object$LWS) { | ||
const SEEN_OBJECTS_MAP$LWS = toSafeMap$LWS(new MapCtor$LWS()); | ||
const SEEN_OBJECTS$LWS = toSafeMap$LWS(new MapCtor$LWS()); | ||
@@ -1036,3 +1079,3 @@ function cloneBoxedPrimitive$LWS(object$LWS) { | ||
let cloneValue$LWS = SEEN_OBJECTS_MAP$LWS.get(originalValue$LWS); | ||
let cloneValue$LWS = SEEN_OBJECTS$LWS.get(originalValue$LWS); | ||
@@ -1094,3 +1137,3 @@ if (cloneValue$LWS) { | ||
// Skip cloning non-membrane proxied objects. | ||
SEEN_OBJECTS_MAP$LWS.set(originalValue$LWS, originalValue$LWS); | ||
SEEN_OBJECTS$LWS.set(originalValue$LWS, originalValue$LWS); | ||
setter$LWS(originalValue$LWS); // eslint-disable-next-line no-extra-label, no-labels | ||
@@ -1135,3 +1178,3 @@ | ||
SEEN_OBJECTS_MAP$LWS.set(originalValue$LWS, cloneValue$LWS); | ||
SEEN_OBJECTS$LWS.set(originalValue$LWS, cloneValue$LWS); | ||
setter$LWS(cloneValue$LWS); | ||
@@ -1146,7 +1189,10 @@ } | ||
try { | ||
result$LWS = partialStructuredCloneInternal$LWS(value$LWS); // eslint-disable-next-line no-empty | ||
} catch (_unused15$LWS) {} | ||
if (typeof value$LWS === 'object' && value$LWS !== null) { | ||
try { | ||
result$LWS = partialStructuredCloneInternal$LWS(value$LWS); // eslint-disable-next-line no-empty | ||
} catch (_unused15$LWS) {} | ||
SEEN_OBJECTS_MAP$LWS.clear(); | ||
SEEN_OBJECTS$LWS.clear(); | ||
} | ||
return result$LWS; | ||
@@ -1196,6 +1242,4 @@ } | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); // This is used by packages/locker-core-engine/src/LockerFilter.js | ||
const trackedLiveTargets$LWS = toSafeWeakSet$LWS(new WeakSetCtor$LWS()); | ||
const SYMBOL_LIVE_OBJECT$LWS = SymbolFor$LWS('@@lockerLiveValue'); | ||
function isTargetLive$LWS(target$LWS, targetTraits$LWS = 0 | ||
@@ -1318,21 +1362,27 @@ /* TargetTraits.None */ | ||
} = Math; | ||
const PREFIX_HEAD$LWS = 'LSKey-'; | ||
const PREFIX_TAIL$LWS = '$'; | ||
const NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}-`; | ||
const NS_TAIL$LWS = '$'; | ||
const STORAGE_NS_HEAD$LWS = `${LOCKER_SERVICE_KEY$LWS}[`; | ||
const STORAGE_NS_TAIL$LWS = ']'; | ||
function getNamespacePrefix$LWS(namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
function getNamespaceMarker$LWS(namespace$LWS) { | ||
return `${NS_HEAD$LWS}${namespace$LWS}${NS_TAIL$LWS}`; | ||
} | ||
function isNamespacePrefixed$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [`${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`]); | ||
function getStorageNamespaceMarker$LWS(namespace$LWS) { | ||
return `${STORAGE_NS_HEAD$LWS}${namespace$LWS}${STORAGE_NS_TAIL$LWS}`; | ||
} | ||
function prefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
return `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}${key$LWS}`; | ||
function prependNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function unprefixNamespace$LWS(key$LWS, namespace$LWS) { | ||
function prependStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return `${getStorageNamespaceMarker$LWS(namespace$LWS)}${key$LWS}`; | ||
} | ||
function removeNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const prefix$LWS = `${PREFIX_HEAD$LWS}${namespace$LWS}${PREFIX_TAIL$LWS}`; | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [prefix$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [prefix$LWS.length]) : key$LWS; | ||
const marker$LWS = getNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
@@ -1343,2 +1393,19 @@ | ||
function removeStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
if (typeof key$LWS === 'string') { | ||
const marker$LWS = getStorageNamespaceMarker$LWS(namespace$LWS); | ||
return ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [marker$LWS]) ? ReflectApply$LWS(StringProtoSlice$LWS, key$LWS, [marker$LWS.length]) : key$LWS; | ||
} | ||
return ''; | ||
} | ||
function startsWithNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
function startsWithStorageNamespaceMarker$LWS(key$LWS, namespace$LWS) { | ||
return typeof key$LWS === 'string' && ReflectApply$LWS(StringProtoStartsWith$LWS, key$LWS, [getStorageNamespaceMarker$LWS(namespace$LWS)]); | ||
} | ||
const PromiseCtor$LWS = Promise; | ||
@@ -1351,16 +1418,3 @@ const { | ||
const PromiseReject$LWS = PromiseCtor$LWS.reject.bind(PromiseCtor$LWS); | ||
const ProxyCtor$LWS = Proxy; | ||
const { | ||
revocable: ProxyRevocable$LWS | ||
} = ProxyCtor$LWS; | ||
function createRevokedProxy$LWS(object$LWS) { | ||
const revocable$LWS = ProxyRevocable$LWS(object$LWS, { | ||
__proto__: null | ||
}); | ||
revocable$LWS.revoke(); | ||
return revocable$LWS.proxy; | ||
} | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayBufferProtoByteLengthGetter$LWS as ArrayBufferProtoByteLengthGetter, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoFind$LWS as ArrayProtoFind, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, BigIntProtoValueOf$LWS as BigIntProtoValueOf, BooleanProtoValueOf$LWS as BooleanProtoValueOf, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, DateProtoValueOf$LWS as DateProtoValueOf, ErrorCtor$LWS as ErrorCtor, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MapProtoSizeGetter$LWS as MapProtoSizeGetter, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, NumberProtoValueOf$LWS as NumberProtoValueOf, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseProtoCatch$LWS as PromiseProtoCatch, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, PromiseResolve$LWS as PromiseResolve, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpProto$LWS as RegExpProto, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SUPPORTS_BIG_INT$LWS as SUPPORTS_BIG_INT, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoSizeGetter$LWS as SetProtoSizeGetter, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProtoToString$LWS as SymbolProtoToString, SymbolProtoValueOf$LWS as SymbolProtoValueOf, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_ARRAY_BUFFER$LWS as TO_STRING_BRAND_ARRAY_BUFFER, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, TypeErrorCtor$LWS as TypeErrorCtor, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, UNCOMPILED_TOP_NAME$LWS as UNCOMPILED_TOP_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapProtoHas$LWS as WeakMapProtoHas, WeakSetCtor$LWS as WeakSetCtor, WeakSetProtoHas$LWS as WeakSetProtoHas, alwaysNull$LWS as alwaysNull, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespacePrefix$LWS as getNamespacePrefix, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getTimestamp$LWS as getTimestamp, indexOfPragma$LWS as indexOfPragma, isConvertibleToString$LWS as isConvertibleToString, isNamespacePrefixed$LWS as isNamespacePrefixed, isNearMembrane$LWS as isNearMembrane, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isTargetLive$LWS as isTargetLive, markTargetAsLive$LWS as markTargetAsLive, noop$LWS as noop, partialStructuredClone$LWS as partialStructuredClone, prefixNamespace$LWS as prefixNamespace, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, toSafeArray$LWS as toSafeArray, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toSafeWeakSet$LWS as toSafeWeakSet, toString$LWS as toString, trackTargetAsLive$LWS as trackTargetAsLive, unprefixNamespace$LWS as unprefixNamespace }; | ||
/*! version: 0.17.23 */ | ||
export { ArrayBufferIsView$LWS as ArrayBufferIsView, ArrayBufferProtoByteLengthGetter$LWS as ArrayBufferProtoByteLengthGetter, ArrayConcat$LWS as ArrayConcat, ArrayCtor$LWS as ArrayCtor, ArrayIsArray$LWS as ArrayIsArray, ArrayProtoFilter$LWS as ArrayProtoFilter, ArrayProtoFind$LWS as ArrayProtoFind, ArrayProtoIncludes$LWS as ArrayProtoIncludes, ArrayProtoIndexOf$LWS as ArrayProtoIndexOf, ArrayProtoJoin$LWS as ArrayProtoJoin, ArrayProtoPush$LWS as ArrayProtoPush, ArrayProtoShift$LWS as ArrayProtoShift, ArrayProtoSlice$LWS as ArrayProtoSlice, ArrayProtoSort$LWS as ArrayProtoSort, ArrayProtoUnshift$LWS as ArrayProtoUnshift, BigIntProtoValueOf$LWS as BigIntProtoValueOf, BooleanProtoValueOf$LWS as BooleanProtoValueOf, CHAR_ELLIPSIS$LWS as CHAR_ELLIPSIS, CHAR_QUOTE_DOUBLE$LWS as CHAR_QUOTE_DOUBLE, CHAR_QUOTE_SINGLE$LWS as CHAR_QUOTE_SINGLE, DateNow$LWS as DateNow, DateProtoValueOf$LWS as DateProtoValueOf, ERR_INVALID_SANDBOX_KEY$LWS as ERR_INVALID_SANDBOX_KEY, ErrorCtor$LWS as ErrorCtor, FunctionProtoBind$LWS as FunctionProtoBind, FunctionProtoToString$LWS as FunctionProtoToString, JSONParse$LWS as JSONParse, JSONStringify$LWS as JSONStringify, LOCKER_IDENTIFIER_MARKER$LWS as LOCKER_IDENTIFIER_MARKER, LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL$LWS as LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL, LOCKER_NEAR_MEMBRANE_SYMBOL$LWS as LOCKER_NEAR_MEMBRANE_SYMBOL, LOCKER_SERVICE_KEY$LWS as LOCKER_SERVICE_KEY, LOCKER_SERVICE_KEY_LOWERED$LWS as LOCKER_SERVICE_KEY_LOWERED, LOCKER_UNMINIFIED_FLAG$LWS as LOCKER_UNMINIFIED_FLAG, LockerSecurityError$LWS as LockerSecurityError, MapCtor$LWS as MapCtor, MapProtoEntries$LWS as MapProtoEntries, MapProtoSet$LWS as MapProtoSet, MapProtoSizeGetter$LWS as MapProtoSizeGetter, MathMin$LWS as MathMin, NumberIsFinite$LWS as NumberIsFinite, NumberIsInteger$LWS as NumberIsInteger, NumberProtoToFixed$LWS as NumberProtoToFixed, NumberProtoValueOf$LWS as NumberProtoValueOf, ObjectAssign$LWS as ObjectAssign, ObjectCtor$LWS as ObjectCtor, ObjectDefineProperties$LWS as ObjectDefineProperties, ObjectFreeze$LWS as ObjectFreeze, ObjectGetOwnPropertyDescriptors$LWS as ObjectGetOwnPropertyDescriptors, ObjectGetOwnPropertySymbols$LWS as ObjectGetOwnPropertySymbols, ObjectHasOwn$LWS as ObjectHasOwn, ObjectKeys$LWS as ObjectKeys, ObjectLookupOwnGetter$LWS as ObjectLookupOwnGetter, ObjectLookupOwnSetter$LWS as ObjectLookupOwnSetter, ObjectLookupOwnValue$LWS as ObjectLookupOwnValue, ObjectPreventExtensions$LWS as ObjectPreventExtensions, ObjectProto$LWS as ObjectProto, ObjectProtoToString$LWS as ObjectProtoToString, PromiseCtor$LWS as PromiseCtor, PromiseProtoCatch$LWS as PromiseProtoCatch, PromiseProtoThen$LWS as PromiseProtoThen, PromiseReject$LWS as PromiseReject, PromiseResolve$LWS as PromiseResolve, ProxyCtor$LWS as ProxyCtor, ProxyRevocable$LWS as ProxyRevocable, ReflectApply$LWS as ReflectApply, ReflectConstruct$LWS as ReflectConstruct, ReflectDefineProperty$LWS as ReflectDefineProperty, ReflectDeleteProperty$LWS as ReflectDeleteProperty, ReflectGet$LWS as ReflectGet, ReflectGetOwnPropertyDescriptor$LWS as ReflectGetOwnPropertyDescriptor, ReflectGetPrototypeOf$LWS as ReflectGetPrototypeOf, ReflectHas$LWS as ReflectHas, ReflectOwnKeys$LWS as ReflectOwnKeys, ReflectSet$LWS as ReflectSet, ReflectSetPrototypeOf$LWS as ReflectSetPrototypeOf, RegExpCtor$LWS as RegExpCtor, RegExpProto$LWS as RegExpProto, RegExpProtoExec$LWS as RegExpProtoExec, RegExpProtoSourceGetter$LWS as RegExpProtoSourceGetter, RegExpProtoTest$LWS as RegExpProtoTest, SANDBOX_EVAL_CONTEXT_NAME$LWS as SANDBOX_EVAL_CONTEXT_NAME, SANDBOX_EVAL_HELPERS_NAME$LWS as SANDBOX_EVAL_HELPERS_NAME, SUPPORTS_BIG_INT$LWS as SUPPORTS_BIG_INT, SYMBOL_LIVE_OBJECT$LWS as SYMBOL_LIVE_OBJECT, SetCtor$LWS as SetCtor, SetProtoAdd$LWS as SetProtoAdd, SetProtoSizeGetter$LWS as SetProtoSizeGetter, SetProtoValues$LWS as SetProtoValues, StringCtor$LWS as StringCtor, StringProtoEndsWith$LWS as StringProtoEndsWith, StringProtoIncludes$LWS as StringProtoIncludes, StringProtoIndexOf$LWS as StringProtoIndexOf, StringProtoMatch$LWS as StringProtoMatch, StringProtoReplace$LWS as StringProtoReplace, StringProtoSlice$LWS as StringProtoSlice, StringProtoSplit$LWS as StringProtoSplit, StringProtoStartsWith$LWS as StringProtoStartsWith, StringProtoToLowerCase$LWS as StringProtoToLowerCase, StringProtoToUpperCase$LWS as StringProtoToUpperCase, StringProtoValueOf$LWS as StringProtoValueOf, SymbolAsyncIterator$LWS as SymbolAsyncIterator, SymbolFor$LWS as SymbolFor, SymbolIterator$LWS as SymbolIterator, SymbolProtoToString$LWS as SymbolProtoToString, SymbolProtoValueOf$LWS as SymbolProtoValueOf, SymbolToStringTag$LWS as SymbolToStringTag, SymbolUnscopables$LWS as SymbolUnscopables, TO_STRING_BRAND_ARRAY$LWS as TO_STRING_BRAND_ARRAY, TO_STRING_BRAND_ARRAY_BUFFER$LWS as TO_STRING_BRAND_ARRAY_BUFFER, TO_STRING_BRAND_BIG_INT$LWS as TO_STRING_BRAND_BIG_INT, TO_STRING_BRAND_BOOLEAN$LWS as TO_STRING_BRAND_BOOLEAN, TO_STRING_BRAND_DATE$LWS as TO_STRING_BRAND_DATE, TO_STRING_BRAND_ERROR$LWS as TO_STRING_BRAND_ERROR, TO_STRING_BRAND_FUNCTION$LWS as TO_STRING_BRAND_FUNCTION, TO_STRING_BRAND_MAP$LWS as TO_STRING_BRAND_MAP, TO_STRING_BRAND_NULL$LWS as TO_STRING_BRAND_NULL, TO_STRING_BRAND_NUMBER$LWS as TO_STRING_BRAND_NUMBER, TO_STRING_BRAND_OBJECT$LWS as TO_STRING_BRAND_OBJECT, TO_STRING_BRAND_REG_EXP$LWS as TO_STRING_BRAND_REG_EXP, TO_STRING_BRAND_SET$LWS as TO_STRING_BRAND_SET, TO_STRING_BRAND_STRING$LWS as TO_STRING_BRAND_STRING, TO_STRING_BRAND_SYMBOL$LWS as TO_STRING_BRAND_SYMBOL, TO_STRING_BRAND_UNDEFINED$LWS as TO_STRING_BRAND_UNDEFINED, TO_STRING_BRAND_WEAK_MAP$LWS as TO_STRING_BRAND_WEAK_MAP, TO_STRING_BRAND_WEAK_SET$LWS as TO_STRING_BRAND_WEAK_SET, TypeErrorCtor$LWS as TypeErrorCtor, UNCOMPILED_LOCATION_NAME$LWS as UNCOMPILED_LOCATION_NAME, UNCOMPILED_TOP_NAME$LWS as UNCOMPILED_TOP_NAME, WEBPACK_REQUIRE_NAME$LWS as WEBPACK_REQUIRE_NAME, WeakMapCtor$LWS as WeakMapCtor, WeakMapProtoHas$LWS as WeakMapProtoHas, WeakSetCtor$LWS as WeakSetCtor, WeakSetProtoHas$LWS as WeakSetProtoHas, capitalizeFirstChar$LWS as capitalizeFirstChar, consoleWarn$LWS as consoleWarn, createRevokedProxy$LWS as createRevokedProxy, enquote$LWS as enquote, escapeRegExp$LWS as escapeRegExp, extractFunctionBodySource$LWS as extractFunctionBodySource, getBrand$LWS as getBrand, getNamespaceMarker$LWS as getNamespaceMarker, getNearMembraneSerializedValue$LWS as getNearMembraneSerializedValue, getStorageNamespaceMarker$LWS as getStorageNamespaceMarker, getTimestamp$LWS as getTimestamp, identity$LWS as identity, indexOfPragma$LWS as indexOfPragma, isConvertibleToString$LWS as isConvertibleToString, isNearMembrane$LWS as isNearMembrane, isObject$LWS as isObject, isObjectLike$LWS as isObjectLike, isTargetLive$LWS as isTargetLive, markTargetAsLive$LWS as markTargetAsLive, noop$LWS as noop, partialStructuredClone$LWS as partialStructuredClone, prependNamespaceMarker$LWS as prependNamespaceMarker, prependStorageNamespaceMarker$LWS as prependStorageNamespaceMarker, proxyMaskFunction$LWS as proxyMaskFunction, removeNamespaceMarker$LWS as removeNamespaceMarker, removeStorageNamespaceMarker$LWS as removeStorageNamespaceMarker, shallowCloneArray$LWS as shallowCloneArray, shallowCloneOptions$LWS as shallowCloneOptions, startsWithNamespaceMarker$LWS as startsWithNamespaceMarker, startsWithStorageNamespaceMarker$LWS as startsWithStorageNamespaceMarker, toSafeArray$LWS as toSafeArray, toSafeMap$LWS as toSafeMap, toSafeSet$LWS as toSafeSet, toSafeTemplateStringValue$LWS as toSafeTemplateStringValue, toSafeWeakMap$LWS as toSafeWeakMap, toSafeWeakSet$LWS as toSafeWeakSet, toString$LWS as toString, trackTargetAsLive$LWS as trackTargetAsLive }; | ||
/*! version: 0.18.6 */ |
{ | ||
"name": "@locker/shared", | ||
"version": "0.17.23", | ||
"version": "0.17.24", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -26,3 +26,3 @@ "author": "Salesforce UI Security Team", | ||
], | ||
"gitHead": "e8c3ce5325e10068b5c1909c6ffd60ea444efea6" | ||
"gitHead": "5e0e0de06575de99a816fd5c71d323d75e5b361e" | ||
} |
@@ -1,8 +0,14 @@ | ||
export declare const LOCKER_IDENTIFIER_MARKER = "$LWS"; | ||
export declare const LOCKER_UNMINIFIED_FLAG: boolean; | ||
export declare const CHAR_ELLIPSIS = "\u2026"; | ||
export declare const CHAR_QUOTE_DOUBLE = "\""; | ||
export declare const CHAR_QUOTE_SINGLE = "'"; | ||
export declare const ERR_INVALID_SANDBOX_KEY = "Invalid sandbox key."; | ||
export declare const LOCKER_IDENTIFIER_MARKER = "$LWS"; | ||
export declare const LOCKER_NEAR_MEMBRANE_SERIALIZED_VALUE_SYMBOL: symbol; | ||
export declare const LOCKER_NEAR_MEMBRANE_SYMBOL: symbol; | ||
export declare const LOCKER_SERVICE_KEY = "LSKey"; | ||
export declare const LOCKER_SERVICE_KEY_LOWERED = "lskey"; | ||
export declare const LOCKER_UNMINIFIED_FLAG: boolean; | ||
export declare const SANDBOX_EVAL_CONTEXT_NAME = "$lockerEvalContext$"; | ||
export declare const SANDBOX_EVAL_HELPERS_NAME = "$lockerEvalHelpers$"; | ||
export declare const SYMBOL_LIVE_OBJECT: symbol; | ||
export declare const TO_STRING_BRAND_ARRAY = "[object Array]"; | ||
@@ -9,0 +15,0 @@ export declare const TO_STRING_BRAND_ARRAY_BUFFER = "[object ArrayBuffer]"; |
export declare const FunctionProtoBind: (this: Function, thisArg: any, ...argArray: any[]) => any, FunctionProtoToString: () => string; | ||
export declare function alwaysNull(): null; | ||
export declare function noop(): void; | ||
export declare function proxyMaskFunction<T extends Function>(func: Function, maskFunc: T): T; | ||
export declare function identity<T>(value: T): T; | ||
//# sourceMappingURL=Function.d.ts.map |
import type { ProxyTarget } from './types'; | ||
import { TargetTraits } from './types'; | ||
export declare const SYMBOL_LIVE_OBJECT: symbol; | ||
export declare function isTargetLive(target: ProxyTarget, targetTraits?: TargetTraits): boolean; | ||
@@ -5,0 +4,0 @@ export declare function markTargetAsLive<T extends ProxyTarget>(target: T): T; |
@@ -1,5 +0,10 @@ | ||
export declare function getNamespacePrefix(namespace: string): string; | ||
export declare function isNamespacePrefixed(key: string, namespace: string): boolean; | ||
export declare function prefixNamespace(key: string, namespace: string): string; | ||
export declare function unprefixNamespace(key: string, namespace: string): string; | ||
import type { SandboxKey } from './types'; | ||
export declare function getNamespaceMarker(namespace: SandboxKey): string; | ||
export declare function getStorageNamespaceMarker(namespace: SandboxKey): string; | ||
export declare function prependNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function prependStorageNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function removeNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function removeStorageNamespaceMarker(key: string, namespace: SandboxKey): string; | ||
export declare function startsWithNamespaceMarker(key: string, namespace: string): boolean; | ||
export declare function startsWithStorageNamespaceMarker(key: string, namespace: string): boolean; | ||
//# sourceMappingURL=Namespace.d.ts.map |
@@ -15,3 +15,3 @@ import type { Getter, Setter } from './types'; | ||
<T_3>(o: T_3): Readonly<T_3>; | ||
}, ObjectGetOwnPropertyDescriptors: <T>(o: T) => { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & { | ||
}, ObjectDefineProperties: <T>(o: T, properties: PropertyDescriptorMap & ThisType<any>) => T, ObjectGetOwnPropertyDescriptors: <T>(o: T) => { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & { | ||
[x: string]: PropertyDescriptor; | ||
@@ -18,0 +18,0 @@ }, ObjectGetOwnPropertySymbols: (o: any) => symbol[], ObjectKeys: { |
@@ -0,1 +1,2 @@ | ||
export declare const PromiseCtor: PromiseConstructor; | ||
export declare const PromiseProtoCatch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<any>, PromiseProtoThen: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>; | ||
@@ -2,0 +3,0 @@ export declare const PromiseResolve: { |
@@ -1,3 +0,3 @@ | ||
export declare const SymbolFor: (key: string) => symbol, SymbolIterator: symbol, SymbolToStringTag: symbol, SymbolUnscopables: symbol; | ||
export declare const SymbolAsyncIterator: symbol, SymbolFor: (key: string) => symbol, SymbolIterator: symbol, SymbolToStringTag: symbol, SymbolUnscopables: symbol; | ||
export declare const SymbolProtoToString: () => string, SymbolProtoValueOf: () => symbol; | ||
//# sourceMappingURL=Symbol.d.ts.map |
@@ -9,3 +9,4 @@ export declare type Getter = () => any; | ||
export declare type NearMembraneSerializedValue = bigint | boolean | number | string | symbol; | ||
export declare type ProxyTarget = CallableFunction | any[] | object; | ||
export declare type ProxyTarget = CallableFunction | NewableFunction | any[] | object; | ||
export declare type SandboxKey = string; | ||
export interface SandboxRecord { | ||
@@ -23,3 +24,3 @@ BASIC_INSTRUMENTATION_DATA: any; | ||
instrumentation: any; | ||
key: string; | ||
key: SandboxKey; | ||
root: SandboxRecord; | ||
@@ -31,2 +32,6 @@ sandboxEvaluator: Function; | ||
} | ||
export declare const enum SandboxType { | ||
External = 0, | ||
Internal = 1 | ||
} | ||
export declare type Setter = (value: any) => void; | ||
@@ -33,0 +38,0 @@ export declare const enum TargetTraits { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294108
69
5355