gt-react 10.6.4 → 10.6.6-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/client.cjs.min.cjs +16 -16
  3. package/dist/client.d.ts +6 -740
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.esm.min.mjs +16 -16
  6. package/dist/errors-dir/constants.d.ts +2 -0
  7. package/dist/errors-dir/constants.d.ts.map +1 -0
  8. package/dist/index.cjs.min.cjs +20 -3
  9. package/dist/index.d.ts +3 -22
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.esm.min.mjs +20 -3
  12. package/dist/internal.cjs.min.cjs +16 -16
  13. package/dist/internal.d.ts +12 -30
  14. package/dist/internal.d.ts.map +1 -1
  15. package/dist/internal.esm.min.mjs +16 -16
  16. package/dist/provider/ClientProvider.d.ts.map +1 -1
  17. package/dist/provider/GTProvider.d.ts +4 -24
  18. package/dist/provider/GTProvider.d.ts.map +1 -1
  19. package/dist/provider/helpers/isSSREnabled.d.ts.map +1 -1
  20. package/dist/provider/hooks/locales/useDetermineLocale.d.ts +2 -9
  21. package/dist/provider/hooks/locales/useDetermineLocale.d.ts.map +1 -1
  22. package/dist/types/config.d.ts +1 -47
  23. package/dist/types/config.d.ts.map +1 -1
  24. package/dist/utils/utils.d.ts +2 -6
  25. package/dist/utils/utils.d.ts.map +1 -1
  26. package/package.json +4 -3
  27. package/dist/branches/Branch.d.ts +0 -34
  28. package/dist/branches/Branch.d.ts.map +0 -1
  29. package/dist/branches/plurals/Plural.d.ts +0 -38
  30. package/dist/branches/plurals/Plural.d.ts.map +0 -1
  31. package/dist/branches/plurals/getPluralBranch.d.ts +0 -9
  32. package/dist/branches/plurals/getPluralBranch.d.ts.map +0 -1
  33. package/dist/dictionaries/collectUntranslatedEntries.d.ts +0 -17
  34. package/dist/dictionaries/collectUntranslatedEntries.d.ts.map +0 -1
  35. package/dist/dictionaries/getDictionaryEntry.d.ts +0 -4
  36. package/dist/dictionaries/getDictionaryEntry.d.ts.map +0 -1
  37. package/dist/dictionaries/getEntryAndMetadata.d.ts +0 -6
  38. package/dist/dictionaries/getEntryAndMetadata.d.ts.map +0 -1
  39. package/dist/dictionaries/getSubtree.d.ts +0 -18
  40. package/dist/dictionaries/getSubtree.d.ts.map +0 -1
  41. package/dist/dictionaries/indexDict.d.ts +0 -15
  42. package/dist/dictionaries/indexDict.d.ts.map +0 -1
  43. package/dist/dictionaries/injectAndMerge.d.ts +0 -9
  44. package/dist/dictionaries/injectAndMerge.d.ts.map +0 -1
  45. package/dist/dictionaries/injectEntry.d.ts +0 -18
  46. package/dist/dictionaries/injectEntry.d.ts.map +0 -1
  47. package/dist/dictionaries/injectFallbacks.d.ts +0 -17
  48. package/dist/dictionaries/injectFallbacks.d.ts.map +0 -1
  49. package/dist/dictionaries/injectHashes.d.ts +0 -11
  50. package/dist/dictionaries/injectHashes.d.ts.map +0 -1
  51. package/dist/dictionaries/injectTranslations.d.ts +0 -20
  52. package/dist/dictionaries/injectTranslations.d.ts.map +0 -1
  53. package/dist/dictionaries/isDictionaryEntry.d.ts +0 -8
  54. package/dist/dictionaries/isDictionaryEntry.d.ts.map +0 -1
  55. package/dist/dictionaries/loadDictionaryHelper.d.ts +0 -3
  56. package/dist/dictionaries/loadDictionaryHelper.d.ts.map +0 -1
  57. package/dist/dictionaries/mergeDictionaries.d.ts +0 -3
  58. package/dist/dictionaries/mergeDictionaries.d.ts.map +0 -1
  59. package/dist/dictionaries/stripMetadataFromEntries.d.ts +0 -6
  60. package/dist/dictionaries/stripMetadataFromEntries.d.ts.map +0 -1
  61. package/dist/errors/createErrors.d.ts +0 -33
  62. package/dist/errors/createErrors.d.ts.map +0 -1
  63. package/dist/hooks/useDefaultLocale.d.ts +0 -13
  64. package/dist/hooks/useDefaultLocale.d.ts.map +0 -1
  65. package/dist/hooks/useGTClass.d.ts +0 -23
  66. package/dist/hooks/useGTClass.d.ts.map +0 -1
  67. package/dist/hooks/useLocale.d.ts +0 -11
  68. package/dist/hooks/useLocale.d.ts.map +0 -1
  69. package/dist/hooks/useLocaleDirection.d.ts +0 -14
  70. package/dist/hooks/useLocaleDirection.d.ts.map +0 -1
  71. package/dist/hooks/useLocaleSelector.d.ts +0 -42
  72. package/dist/hooks/useLocaleSelector.d.ts.map +0 -1
  73. package/dist/hooks/useLocales.d.ts +0 -11
  74. package/dist/hooks/useLocales.d.ts.map +0 -1
  75. package/dist/hooks/useRegion.d.ts +0 -20
  76. package/dist/hooks/useRegion.d.ts.map +0 -1
  77. package/dist/hooks/useRegionSelector.d.ts +0 -82
  78. package/dist/hooks/useRegionSelector.d.ts.map +0 -1
  79. package/dist/hooks/useSetLocale.d.ts +0 -12
  80. package/dist/hooks/useSetLocale.d.ts.map +0 -1
  81. package/dist/internal/addGTIdentifier.d.ts +0 -4
  82. package/dist/internal/addGTIdentifier.d.ts.map +0 -1
  83. package/dist/internal/flattenDictionary.d.ts +0 -11
  84. package/dist/internal/flattenDictionary.d.ts.map +0 -1
  85. package/dist/internal/writeChildrenAsObjects.d.ts +0 -10
  86. package/dist/internal/writeChildrenAsObjects.d.ts.map +0 -1
  87. package/dist/messages/messages.d.ts +0 -43
  88. package/dist/messages/messages.d.ts.map +0 -1
  89. package/dist/promises/dangerouslyUsable.d.ts +0 -37
  90. package/dist/promises/dangerouslyUsable.d.ts.map +0 -1
  91. package/dist/promises/reactHasUse.d.ts +0 -2
  92. package/dist/promises/reactHasUse.d.ts.map +0 -1
  93. package/dist/provider/GTContext.d.ts +0 -4
  94. package/dist/provider/GTContext.d.ts.map +0 -1
  95. package/dist/provider/config/defaultProps.d.ts +0 -4
  96. package/dist/provider/config/defaultProps.d.ts.map +0 -1
  97. package/dist/provider/helpers/validateString.d.ts +0 -6
  98. package/dist/provider/helpers/validateString.d.ts.map +0 -1
  99. package/dist/provider/hooks/locales/useLocaleState.d.ts +0 -16
  100. package/dist/provider/hooks/locales/useLocaleState.d.ts.map +0 -1
  101. package/dist/provider/hooks/translation/useCreateInternalUseGTFunction.d.ts +0 -18
  102. package/dist/provider/hooks/translation/useCreateInternalUseGTFunction.d.ts.map +0 -1
  103. package/dist/provider/hooks/translation/useCreateInternalUseTranslationsFunction.d.ts +0 -4
  104. package/dist/provider/hooks/translation/useCreateInternalUseTranslationsFunction.d.ts.map +0 -1
  105. package/dist/provider/hooks/translation/useCreateInternalUseTranslationsObjFunction.d.ts +0 -4
  106. package/dist/provider/hooks/translation/useCreateInternalUseTranslationsObjFunction.d.ts.map +0 -1
  107. package/dist/provider/hooks/useErrorChecks.d.ts +0 -9
  108. package/dist/provider/hooks/useErrorChecks.d.ts.map +0 -1
  109. package/dist/provider/hooks/useLoadDictionary.d.ts +0 -15
  110. package/dist/provider/hooks/useLoadDictionary.d.ts.map +0 -1
  111. package/dist/provider/hooks/useLoadTranslations.d.ts +0 -17
  112. package/dist/provider/hooks/useLoadTranslations.d.ts.map +0 -1
  113. package/dist/provider/hooks/useRuntimeTranslation.d.ts +0 -23
  114. package/dist/provider/hooks/useRuntimeTranslation.d.ts.map +0 -1
  115. package/dist/rendering/defaultRenderSettings.d.ts +0 -6
  116. package/dist/rendering/defaultRenderSettings.d.ts.map +0 -1
  117. package/dist/rendering/getGTTag.d.ts +0 -3
  118. package/dist/rendering/getGTTag.d.ts.map +0 -1
  119. package/dist/rendering/isVariableObject.d.ts +0 -3
  120. package/dist/rendering/isVariableObject.d.ts.map +0 -1
  121. package/dist/rendering/renderDefaultChildren.d.ts +0 -8
  122. package/dist/rendering/renderDefaultChildren.d.ts.map +0 -1
  123. package/dist/rendering/renderSkeleton.d.ts +0 -8
  124. package/dist/rendering/renderSkeleton.d.ts.map +0 -1
  125. package/dist/rendering/renderTranslatedChildren.d.ts +0 -9
  126. package/dist/rendering/renderTranslatedChildren.d.ts.map +0 -1
  127. package/dist/rendering/renderVariable.d.ts +0 -4
  128. package/dist/rendering/renderVariable.d.ts.map +0 -1
  129. package/dist/translation/hooks/useGT.d.ts +0 -20
  130. package/dist/translation/hooks/useGT.d.ts.map +0 -1
  131. package/dist/translation/hooks/useMessages.d.ts +0 -19
  132. package/dist/translation/hooks/useMessages.d.ts.map +0 -1
  133. package/dist/translation/hooks/useTranslations.d.ts +0 -17
  134. package/dist/translation/hooks/useTranslations.d.ts.map +0 -1
  135. package/dist/translation/inline/T.d.ts +0 -42
  136. package/dist/translation/inline/T.d.ts.map +0 -1
  137. package/dist/types/context.d.ts +0 -30
  138. package/dist/types/context.d.ts.map +0 -1
  139. package/dist/types/runtime.d.ts +0 -20
  140. package/dist/types/runtime.d.ts.map +0 -1
  141. package/dist/types/types.d.ts +0 -90
  142. package/dist/types/types.d.ts.map +0 -1
  143. package/dist/utils/cookies.d.ts +0 -9
  144. package/dist/utils/cookies.d.ts.map +0 -1
  145. package/dist/utils/fetchTranslations.d.ts +0 -9
  146. package/dist/utils/fetchTranslations.d.ts.map +0 -1
  147. package/dist/variables/Currency.d.ts +0 -30
  148. package/dist/variables/Currency.d.ts.map +0 -1
  149. package/dist/variables/DateTime.d.ts +0 -29
  150. package/dist/variables/DateTime.d.ts.map +0 -1
  151. package/dist/variables/Num.d.ts +0 -31
  152. package/dist/variables/Num.d.ts.map +0 -1
  153. package/dist/variables/Var.d.ts +0 -32
  154. package/dist/variables/Var.d.ts.map +0 -1
  155. package/dist/variables/_getVariableProps.d.ts +0 -11
  156. package/dist/variables/_getVariableProps.d.ts.map +0 -1
  157. package/dist/variables/getVariableName.d.ts +0 -10
  158. package/dist/variables/getVariableName.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,cAAc,MAAM,2BAA2B,CAAC;AACvD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAC/C,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,CAAC,MAAM,wBAAwB,CAAC;AACvC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAE1D,OAAO,EACL,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,KAAK,EACL,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,GAAG,EACH,SAAS,EACT,aAAa,EACb,WAAW,EACX,CAAC,EACD,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,cAAc,EACd,cAAc,GACf,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,2BAA2B,CAAC;AACvD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EACL,CAAC,EACD,KAAK,EACL,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,UAAU,EACV,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,GAAG,EACH,SAAS,EACT,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,UAAU,EACV,cAAc,EACd,KAAK,EACL,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,GAAG,EACH,SAAS,EACT,aAAa,EACb,WAAW,EACX,CAAC,EACD,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,cAAc,EACd,cAAc,GACf,CAAC"}
@@ -1,18 +1,18 @@
1
- import*as e from"react";import t,{createContext as r,useContext as n,useRef as o,useState as i,useCallback as a,useEffect as s,useMemo as c,isValidElement as l,Suspense as u}from"react";import{getLocaleProperties as d,GT as f,formatMessage as h,determineLocale as p,resolveAliasLocale as v,requiresTranslation as g,isSameLanguage as y,isValidLocale as _}from"generaltranslation";import{jsx as m,Fragment as b,jsxs as x}from"react/jsx-runtime";import{getSupportedLocale as w}from"@generaltranslation/supported-locales";const k=r(void 0);function A(e="useGTContext() must be used within a <GTProvider>!"){const t=n(k);if(void 0===t)throw new Error(e);return t}function E(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function O(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const B=(e,t)=>e?`Translation failed for id: ${e}, hash: ${t} `:`Translation failed for hash: ${t}`,S=(e,t)=>`gt-react Error: error rendering string ${t?`for id: "${t}"`:""} original message: "${e}"`,j=(e,t,r="tx")=>`gt-react string translation error. ${r}("${e}")${t?` with id "${t}"`:""} could not locate translation.`,T=e=>`gt-react Error: Dictionary subtree not found for id: "${e}"`,C=e=>`No valid dictionary entry found for id: "${e}"`;function $(e){var{gt:t,locale:r,versionId:n,defaultLocale:l,runtimeUrl:u,renderSettings:d,setTranslations:f}=e,h=E(e,["gt","locale","versionId","defaultLocale","runtimeUrl","renderSettings","setTranslations"]);const p=!!t.projectId&&!!u&&!!t.devApiKey&&"development"===process.env.NODE_ENV;if(!p){const e=e=>Promise.reject(new Error(`${e}() failed because translation is disabled`));return{developmentApiEnabled:p,registerIcuForTranslation:()=>e("registerIcuForTranslation"),registerJsxForTranslation:()=>e("registerJsxForTranslation")}}const v=o({gt:t,locale:r,baseMetadata:Object.assign(Object.assign({},h),{projectId:t.projectId,sourceLocale:l}),timeout:d.timeout});v.current.gt=t,v.current.locale=r,v.current.baseMetadata=Object.assign(Object.assign({},h),{projectId:t.projectId,sourceLocale:l}),v.current.timeout=d.timeout;const g=o(!1),y=o(null),[_,m]=i(0),b=a(e=>{f(t=>{const r=Object.keys(e);if(0===r.length)return t;const n=t?Object.assign({},t):{};let o=!1;for(const i of r){const r=e[i],a=null==t?void 0:t[i];Object.is(a,r)||(n[i]=r,o=!0)}return o?n:t})},[f]),x=a(e=>{var t;y.current=Object.assign(Object.assign({},null!==(t=y.current)&&void 0!==t?t:{}),e),g.current&&m(e=>e+1)},[]);s(()=>{if(g.current=!0,y.current){const e=y.current;y.current=null,b(e)}return()=>{g.current=!1}},[b]),s(()=>{if(!g.current)return;const e=y.current;e&&(y.current=null,b(e))},[_,b]);const w=o(0),k=o(new Map),A=o(new Map),S=a(e=>O(this,void 0,void 0,function*(){if(0===e.size)return{};w.current+=1;const{gt:t,locale:r,baseMetadata:n,timeout:o}=v.current,i=Array.from(e.values()),a={},s=new Map;try{(yield t.translateMany(i,Object.assign(Object.assign({},n),{targetLocale:r,timeout:o}))).forEach((e,t)=>{const r=i[t],{hash:n,id:o}=r.metadata;if("translation"in e){const t=e.translation;a[n]=t,s.set(n,t)}else if("error"in e){const t=B(o,n);console.warn(`${t} ${e.error||"An upstream error occurred."}`),a[n]=null,s.set(n,null)}else{const t=B(o,n);console.warn(`${t} Unknown response format.`,e),a[n]=null,s.set(n,null)}})}catch(e){"AbortError"===(null==e?void 0:e.name)?console.warn("gt-react: Runtime translation timed out."):console.warn("Error fetching batched translations:",e),i.forEach(e=>{a[e.metadata.hash]=null,s.set(e.metadata.hash,null)})}finally{w.current-=1,i.forEach(e=>{const t=s.get(e.metadata.hash);void 0===t?(console.warn(`No translation result for ${e.metadata.hash}; resolving as null.`),e.resolve(null)):e.resolve(t)})}return a}),[]),j=o(null),T=o(()=>O(this,void 0,void 0,function*(){})),C=a(e=>{x(e),k.current.size>0&&(j.current=setTimeout(()=>{j.current=null,T.current()},50))},[x]),$=a(()=>{T.current=()=>O(this,void 0,void 0,function*(){if(w.current>=100)return void(j.current=setTimeout(()=>{j.current=null,T.current()},50));const e=k.current;if(0===e.size)return;const t=Array.from(e.entries()).slice(0,Math.min(25,e.size)),r=new Map(t);t.forEach(([t])=>e.delete(t));const n=yield S(r);C(n)})},[S,C]),R=a((e=!1)=>{if($(),e)return j.current&&(clearTimeout(j.current),j.current=null),void T.current();j.current||(j.current=setTimeout(()=>{j.current=null,T.current()},50))},[$]),I=a(e=>t=>{const r=`${t.metadata.hash}:${t.targetLocale}`,n=A.current.get(r);if(n)return n;const o=new Promise(n=>{const o="JSX"===e?{dataFormat:"JSX",source:t.source,metadata:t.metadata,resolve:n,reject:()=>{}}:{dataFormat:"ICU",source:t.source,metadata:t.metadata,resolve:n,reject:()=>{}};k.current.set(r,o);const i=k.current.size>=25&&w.current<100;R(i)}).finally(()=>{A.current.delete(r)});return A.current.set(r,o),o},[R]),P=c(()=>I("ICU"),[I]),M=c(()=>I("JSX"),[I]);return s(()=>()=>{j.current&&clearTimeout(j.current)},[]),{developmentApiEnabled:p,registerIcuForTranslation:P,registerJsxForTranslation:M}}function R({children:e,locales:t,options:r={}}){const o=n(k);if(null==e)return null;const i=(null==o?void 0:o.gt)||new f;let a="string"==typeof e?parseFloat(e):e;return"number"==typeof a&&(t||(t||(t=[]),(null==o?void 0:o.locale)&&t.push(o.locale),(null==o?void 0:o.defaultLocale)&&t.push(o.defaultLocale)),a=i.formatNum(a,Object.assign({locales:t},r))),m(b,{children:a})}function I({children:e}){return m(b,{children:e})}function P({children:e,currency:t="USD",locales:r,options:o={}}){const i=n(k);if(null==e)return null;const a=(null==i?void 0:i.gt)||new f;let s="string"==typeof e?parseFloat(e):e;return"number"==typeof s&&(r||(r||(r=[]),(null==i?void 0:i.locale)&&r.push(i.locale),(null==i?void 0:i.defaultLocale)&&r.push(i.defaultLocale)),s=a.formatCurrency(s,t,Object.assign({locales:r},o))),m(b,{children:s})}function M({children:e,locales:t,options:r={}}){const o=n(k);if(null==e)return null;const i=(null==o?void 0:o.gt)||new f;t||(t=[],(null==o?void 0:o.locale)&&t.push(o.locale),(null==o?void 0:o.defaultLocale)&&t.push(o.defaultLocale));const a=i.formatDateTime(e,Object.assign({locales:t},r)).replace(/[\u200F\u202B\u202E]/g,"");return m(b,{children:a})}R._gtt="variable-number",I._gtt="variable-variable",P._gtt="variable-currency",M._gtt="variable-datetime";const L=({variableType:e,variableValue:t,variableOptions:r})=>"n"===e?m(R,{options:r,children:t}):"d"===e?m(M,{options:r,children:t}):"c"===e?m(P,{options:r,children:t}):m(I,{children:t});var D,F,H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function z(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function N(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){var r=!1;try{r=this instanceof e}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var U=(F||(F=1,D=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&function(e){return function(t){return function(r,n){var o={key:r,value:t[r]},i={key:n,value:t[n]};return e(o,i)}}}(t.cmp),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var i,a;if(Array.isArray(t)){for(a="[",i=0;i<t.length;i++)i&&(a+=","),a+=e(t[i])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,c=Object.keys(t).sort(n&&n(t));for(a="",i=0;i<c.length;i++){var l=c[i],u=e(t[l]);u&&(a&&(a+=","),a+=JSON.stringify(l)+":"+u)}return o.splice(s,1),"{"+a+"}"}}(e)}),D),G=z(U),V={exports:{}};var K,W={exports:{}},J=N(Object.freeze({__proto__:null,default:{}}));function Y(){return K||(K=1,W.exports=(e=e||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==H&&H.crypto&&(r=H.crypto),!r)try{r=J}catch(e){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),i={},a=i.lib={},s=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=s.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new c.init(t,e)}}),l=i.enc={},u=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},d=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,i);if(l){for(var d=0;d<l;d+=a)this._doProcessBlock(o,d);r=o.splice(0,l),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=h.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new p.HMAC.init(e,r).finalize(t)}}});var p=i.algo={};return i}(Math),e)),W.exports;var e}var X,q={exports:{}};function Z(){return X||(X=1,q.exports=(a=Y(),r=(t=a).lib,n=r.Base,o=r.WordArray,(i=t.x64={}).Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),i.WordArray=n.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,o=0;o<r;o++)t[o]=t[o].clone();return e}}),a)),q.exports;var e,t,r,n,o,i,a}var Q,ee={exports:{}};function te(){return Q||(Q=1,ee.exports=(e=Y(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,n=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],o=0;o<t;o++)n[o>>>2]|=e[o]<<24-o%4*8;r.call(this,n,t)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),ee.exports;var e}var re,ne={exports:{}};function oe(){return re||(re=1,ne.exports=(e=Y(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16)),ne.exports;var e}var ie,ae={exports:{}};function se(){return ie||(ie=1,ae.exports=(e=Y(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),ae.exports;var e}var ce,le={exports:{}};function ue(){return ce||(ce=1,le.exports=(e=Y(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)i.push(o.charAt(s>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var c=e.indexOf(s);-1!==c&&(r=c)}return n(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),le.exports;var e}var de,fe={exports:{}};function he(){return de||(de=1,fe.exports=(e=Y(),function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],g=e[t+5],y=e[t+6],_=e[t+7],m=e[t+8],b=e[t+9],x=e[t+10],w=e[t+11],k=e[t+12],A=e[t+13],E=e[t+14],O=e[t+15],B=i[0],S=i[1],j=i[2],T=i[3];B=l(B,S,j,T,a,7,s[0]),T=l(T,B,S,j,c,12,s[1]),j=l(j,T,B,S,h,17,s[2]),S=l(S,j,T,B,p,22,s[3]),B=l(B,S,j,T,v,7,s[4]),T=l(T,B,S,j,g,12,s[5]),j=l(j,T,B,S,y,17,s[6]),S=l(S,j,T,B,_,22,s[7]),B=l(B,S,j,T,m,7,s[8]),T=l(T,B,S,j,b,12,s[9]),j=l(j,T,B,S,x,17,s[10]),S=l(S,j,T,B,w,22,s[11]),B=l(B,S,j,T,k,7,s[12]),T=l(T,B,S,j,A,12,s[13]),j=l(j,T,B,S,E,17,s[14]),B=u(B,S=l(S,j,T,B,O,22,s[15]),j,T,c,5,s[16]),T=u(T,B,S,j,y,9,s[17]),j=u(j,T,B,S,w,14,s[18]),S=u(S,j,T,B,a,20,s[19]),B=u(B,S,j,T,g,5,s[20]),T=u(T,B,S,j,x,9,s[21]),j=u(j,T,B,S,O,14,s[22]),S=u(S,j,T,B,v,20,s[23]),B=u(B,S,j,T,b,5,s[24]),T=u(T,B,S,j,E,9,s[25]),j=u(j,T,B,S,p,14,s[26]),S=u(S,j,T,B,m,20,s[27]),B=u(B,S,j,T,A,5,s[28]),T=u(T,B,S,j,h,9,s[29]),j=u(j,T,B,S,_,14,s[30]),B=d(B,S=u(S,j,T,B,k,20,s[31]),j,T,g,4,s[32]),T=d(T,B,S,j,m,11,s[33]),j=d(j,T,B,S,w,16,s[34]),S=d(S,j,T,B,E,23,s[35]),B=d(B,S,j,T,c,4,s[36]),T=d(T,B,S,j,v,11,s[37]),j=d(j,T,B,S,_,16,s[38]),S=d(S,j,T,B,x,23,s[39]),B=d(B,S,j,T,A,4,s[40]),T=d(T,B,S,j,a,11,s[41]),j=d(j,T,B,S,p,16,s[42]),S=d(S,j,T,B,y,23,s[43]),B=d(B,S,j,T,b,4,s[44]),T=d(T,B,S,j,k,11,s[45]),j=d(j,T,B,S,O,16,s[46]),B=f(B,S=d(S,j,T,B,h,23,s[47]),j,T,a,6,s[48]),T=f(T,B,S,j,_,10,s[49]),j=f(j,T,B,S,E,15,s[50]),S=f(S,j,T,B,g,21,s[51]),B=f(B,S,j,T,k,6,s[52]),T=f(T,B,S,j,p,10,s[53]),j=f(j,T,B,S,x,15,s[54]),S=f(S,j,T,B,c,21,s[55]),B=f(B,S,j,T,m,6,s[56]),T=f(T,B,S,j,O,10,s[57]),j=f(j,T,B,S,y,15,s[58]),S=f(S,j,T,B,A,21,s[59]),B=f(B,S,j,T,v,6,s[60]),T=f(T,B,S,j,w,10,s[61]),j=f(j,T,B,S,h,15,s[62]),S=f(S,j,T,B,b,21,s[63]),i[0]=i[0]+B|0,i[1]=i[1]+S|0,i[2]=i[2]+j|0,i[3]=i[3]+T|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var i=t.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function f(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}r.MD5=i._createHelper(c),r.HmacMD5=i._createHmacHelper(c)}(Math),e.MD5)),fe.exports;var e}var pe,ve={exports:{}};function ge(){return pe||(pe=1,ve.exports=(s=Y(),t=(e=s).lib,r=t.WordArray,n=t.Hasher,o=e.algo,i=[],a=o.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],s=r[3],c=r[4],l=0;l<80;l++){if(l<16)i[l]=0|e[t+l];else{var u=i[l-3]^i[l-8]^i[l-14]^i[l-16];i[l]=u<<1|u>>>31}var d=(n<<5|n>>>27)+c+i[l];d+=l<20?1518500249+(o&a|~o&s):l<40?1859775393+(o^a^s):l<60?(o&a|o&s|a&s)-1894007588:(o^a^s)-899497514,c=s,s=a,a=o<<30|o>>>2,o=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=n._createHelper(a),e.HmacSHA1=n._createHmacHelper(a),s.SHA1)),ve.exports;var e,t,r,n,o,i,a,s}var ye,_e={exports:{}};function me(){return ye||(ye=1,_e.exports=(e=Y(),function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)e(n)&&(o<8&&(s[o]=r(t.pow(n,.5))),c[o]=r(t.pow(n,1/3)),o++),n++}();var l=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],d=r[6],f=r[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var p=l[h-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=l[h-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=v+l[h-7]+y+l[h-16]}var _=n&o^n&i^o&i,m=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[h]+l[h];f=d,d=u,u=s,s=a+b|0,a=i,i=o,o=n,n=b+(m+_)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=i._createHelper(u),r.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256)),_e.exports;var e}var be,xe={exports:{}};var we,ke={exports:{}};function Ae(){return we||(we=1,ke.exports=(e=Y(),Z(),function(){var t=e,r=t.lib.Hasher,n=t.x64,o=n.Word,i=n.WordArray,a=t.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=a.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],d=r[6],f=r[7],h=n.high,p=n.low,v=o.high,g=o.low,y=i.high,_=i.low,m=a.high,b=a.low,x=s.high,w=s.low,k=u.high,A=u.low,E=d.high,O=d.low,B=f.high,S=f.low,j=h,T=p,C=v,$=g,R=y,I=_,P=m,M=b,L=x,D=w,F=k,H=A,z=E,N=O,U=B,G=S,V=0;V<80;V++){var K,W,J=l[V];if(V<16)W=J.high=0|e[t+2*V],K=J.low=0|e[t+2*V+1];else{var Y=l[V-15],X=Y.high,q=Y.low,Z=(X>>>1|q<<31)^(X>>>8|q<<24)^X>>>7,Q=(q>>>1|X<<31)^(q>>>8|X<<24)^(q>>>7|X<<25),ee=l[V-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=l[V-7],ae=ie.high,se=ie.low,ce=l[V-16],le=ce.high,ue=ce.low;W=(W=(W=Z+ae+((K=Q+se)>>>0<Q>>>0?1:0))+ne+((K+=oe)>>>0<oe>>>0?1:0))+le+((K+=ue)>>>0<ue>>>0?1:0),J.high=W,J.low=K}var de,fe=L&F^~L&z,he=D&H^~D&N,pe=j&C^j&R^C&R,ve=T&$^T&I^$&I,ge=(j>>>28|T<<4)^(j<<30|T>>>2)^(j<<25|T>>>7),ye=(T>>>28|j<<4)^(T<<30|j>>>2)^(T<<25|j>>>7),_e=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),me=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),be=c[V],xe=be.high,we=be.low,ke=U+_e+((de=G+me)>>>0<G>>>0?1:0),Ae=ye+ve;U=z,G=N,z=F,N=H,F=L,H=D,L=P+(ke=(ke=(ke=ke+fe+((de+=he)>>>0<he>>>0?1:0))+xe+((de+=we)>>>0<we>>>0?1:0))+W+((de+=K)>>>0<K>>>0?1:0))+((D=M+de|0)>>>0<M>>>0?1:0)|0,P=R,M=I,R=C,I=$,C=j,$=T,j=ke+(ge+pe+(Ae>>>0<ye>>>0?1:0))+((T=de+Ae|0)>>>0<de>>>0?1:0)|0}p=n.low=p+T,n.high=h+j+(p>>>0<T>>>0?1:0),g=o.low=g+$,o.high=v+C+(g>>>0<$>>>0?1:0),_=i.low=_+I,i.high=y+R+(_>>>0<I>>>0?1:0),b=a.low=b+M,a.high=m+P+(b>>>0<M>>>0?1:0),w=s.low=w+D,s.high=x+L+(w>>>0<D>>>0?1:0),A=u.low=A+H,u.high=k+F+(A>>>0<H>>>0?1:0),O=d.low=O+N,d.high=E+z+(O>>>0<N>>>0?1:0),S=f.low=S+G,f.high=B+U+(S>>>0<G>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(u),t.HmacSHA512=r._createHmacHelper(u)}(),e.SHA512)),ke.exports;var e}var Ee,Oe={exports:{}};var Be,Se={exports:{}};function je(){return Be||(Be=1,Se.exports=(e=Y(),Z(),function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.x64.Word,s=r.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,d=0,f=0;f<7;f++){if(1&o){var h=(1<<f)-1;h<32?d^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var f=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=e[t+2*o],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(S=r[o]).high^=a,S.low^=i}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var h=0,p=0,v=0;v<5;v++)h^=(S=r[f+5*v]).high,p^=S.low;var g=d[f];g.high=h,g.low=p}for(f=0;f<5;f++){var y=d[(f+4)%5],_=d[(f+1)%5],m=_.high,b=_.low;for(h=y.high^(m<<1|b>>>31),p=y.low^(b<<1|m>>>31),v=0;v<5;v++)(S=r[f+5*v]).high^=h,S.low^=p}for(var x=1;x<25;x++){var w=(S=r[x]).high,k=S.low,A=c[x];A<32?(h=w<<A|k>>>32-A,p=k<<A|w>>>32-A):(h=k<<A-32|w>>>64-A,p=w<<A-32|k>>>64-A);var E=d[l[x]];E.high=h,E.low=p}var O=d[0],B=r[0];for(O.high=B.high,O.low=B.low,f=0;f<5;f++)for(v=0;v<5;v++){var S=r[x=f+5*v],j=d[x],T=d[(f+1)%5+5*v],C=d[(f+2)%5+5*v];S.high=j.high^~T.high&C.high,S.low=j.low^~T.low&C.low}S=r[0];var $=u[s];S.high^=$.high,S.low^=$.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var n=8*e.sigBytes,i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var d=a[u],f=d.high,h=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(f)}return new o.init(l,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=i._createHelper(f),r.HmacSHA3=i._createHmacHelper(f)}(Math),e.SHA3)),Se.exports;var e}var Te,Ce={exports:{}};var $e,Re={exports:{}};function Ie(){return $e||($e=1,Re.exports=(e=Y(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,o=4*r;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,c=a.words,l=0;l<r;l++)s[l]^=1549556828,c[l]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))),Re.exports;var e,t,r,n}var Pe,Me={exports:{}};var Le,De={exports:{}};function Fe(){return Le||(Le=1,De.exports=(s=Y(),ge(),Ie(),t=(e=s).lib,r=t.Base,n=t.WordArray,o=e.algo,i=o.MD5,a=o.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:i,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,o=this.cfg,i=o.hasher.create(),a=n.create(),s=a.words,c=o.keySize,l=o.iterations;s.length<c;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var u=1;u<l;u++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*c,a}}),e.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)},s.EvpKDF)),De.exports;var e,t,r,n,o,i,a,s}var He,ze={exports:{}};function Ne(){return He||(He=1,ze.exports=(e=Y(),Fe(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,o=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var c=s.Base64,l=r.algo.EvpKDF,u=n.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?m:y}return function(t){return{encrypt:function(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()});n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=r.mode={},f=n.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){var e=f.extend();function r(e,r,n){var o,i=this._iv;i?(o=i,this._iv=t):o=this._prevBlock;for(var a=0;a<n;a++)e[r+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);n.decryptBlock(e,t),r.call(this,e,t,o),this._prevBlock=i}}),e}(),p=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var c=i.create(a,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:p}),reset:function(){var e;u.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var v=n.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(t):t).toString(c)},parse:function(e){var t,r=c.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),v.create({ciphertext:r,salt:t})}},y=n.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return v.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),_=(r.kdf={}).OpenSSL={execute:function(e,t,r,n,o){if(n||(n=i.random(8)),o)a=l.create({keySize:t+r,hasher:o}).compute(e,n);else var a=l.create({keySize:t+r}).compute(e,n);var s=i.create(a.words.slice(t),4*r);return a.sigBytes=4*t,v.create({key:a,iv:s,salt:n})}},m=n.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:_}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=y.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=o.iv,y.decrypt.call(this,e,t,o.key,n)}})}()))),ze.exports;var e}var Ue,Ge={exports:{}};function Ve(){return Ue||(Ue=1,Ge.exports=(e=Y(),Ne(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o,n),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);r.call(this,e,t,o,n),this._prevBlock=i}}),t}(),e.mode.CFB)),Ge.exports;var e}var Ke,We={exports:{}};function Je(){return Ke||(Ke=1,We.exports=(r=Y(),Ne(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}}),e.Decryptor=t,e),r.mode.CTR)),We.exports;var e,t,r}var Ye,Xe={exports:{}};function qe(){return Ye||(Ye=1,Xe.exports=(e=Y(),Ne(),
1
+ import{jsx as t,jsxs as e}from"react/jsx-runtime";import*as r from"react";import{createContext as n,useRef as o,useState as i,useCallback as a,useEffect as s,useMemo as c}from"react";import{formatMessage as l,determineLocale as u,GT as f}from"generaltranslation";import{useLocaleSelector as h,useRegionSelector as d}from"@generaltranslation/react-core";export{Branch,Currency,DateTime,GTProvider,Num,Plural,T,Var,decodeMsg,decodeOptions,msg,useDefaultLocale,useGT,useGTClass,useLocale,useLocaleDirection,useLocaleProperties,useLocaleSelector,useLocales,useMessages,useRegion,useRegionSelector,useSetLocale,useTranslations}from"@generaltranslation/react-core";function p(t,e){if(null==t)throw new Error("Cannot index into an undefined dictionary");return t[e]}function v(t,e,r){t[e]=r}var y,g,_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var m,w=(g||(g=1,y=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(t){return function(e){return function(r,n){var o={key:r,value:e[r]},i={key:n,value:e[n]};return t(o,i)}}}(e.cmp),o=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var i,a;if(Array.isArray(e)){for(a="[",i=0;i<e.length;i++)i&&(a+=","),a+=t(e[i])||"null";return a+"]"}if(null===e)return"null";if(-1!==o.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(e)-1,c=Object.keys(e).sort(n&&n(e));for(a="",i=0;i<c.length;i++){var l=c[i],u=t(e[l]);u&&(a&&(a+=","),a+=JSON.stringify(l)+":"+u)}return o.splice(s,1),"{"+a+"}"}}(t)}),y),b=x(w),B={exports:{}},k={exports:{}},S=function(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var r=function t(){var r=!1;try{r=this instanceof t}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),r}(Object.freeze({__proto__:null,default:{}}));function A(){return m||(m=1,k.exports=(t=t||function(t){var e;if("undefined"!=typeof window&&window.crypto&&(e=window.crypto),"undefined"!=typeof self&&self.crypto&&(e=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(e=globalThis.crypto),!e&&"undefined"!=typeof window&&window.msCrypto&&(e=window.msCrypto),!e&&void 0!==_&&_.crypto&&(e=_.crypto),!e)try{e=S}catch(t){}var r=function(){if(e){if("function"==typeof e.getRandomValues)try{return e.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof e.randomBytes)try{return e.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),o={},i=o.lib={},a=i.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=i.WordArray=a.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)e[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(r());return new s.init(e,t)}}),c=o.enc={},l=c.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new s.init(r,e/2)}},u=c.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new s.init(r,e)}},f=c.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},h=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,c=i/(4*a),l=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*a,u=t.min(4*l,i);if(l){for(var f=0;f<l;f+=a)this._doProcessBlock(o,f);r=o.splice(0,l),n.sigBytes-=u}return new s.init(r,u)},clone:function(){var t=a.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});i.Hasher=h.extend({cfg:a.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new d.HMAC.init(t,r).finalize(e)}}});var d=o.algo={};return o}(Math),t)),k.exports;var t}var E,C={exports:{}};function H(){return E||(E=1,C.exports=(e=(t=i=A()).lib,r=e.Base,n=e.WordArray,(o=t.x64={}).Word=r.extend({init:function(t,e){this.high=t,this.low=e}}),o.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],o=0;o<e;o++){var i=t[o];r.push(i.high),r.push(i.low)}return n.create(r,this.sigBytes)},clone:function(){for(var t=r.clone.call(this),e=t.words=this.words.slice(0),n=e.length,o=0;o<n;o++)e[o]=e[o].clone();return t}}),i)),C.exports;var t,e,r,n,o,i}var z,O={exports:{}};var $,M={exports:{}};var R,D={exports:{}};function F(){return R||(R=1,D.exports=(t=A(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(t){var e=t.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=t.indexOf(a);-1!==s&&(e=s)}return n(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64)),D.exports;var t}var j,P={exports:{}};var I,L={exports:{}};function W(){return I||(I=1,L.exports=(t=A(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],c=t[e+1],d=t[e+2],p=t[e+3],v=t[e+4],y=t[e+5],g=t[e+6],_=t[e+7],x=t[e+8],m=t[e+9],w=t[e+10],b=t[e+11],B=t[e+12],k=t[e+13],S=t[e+14],A=t[e+15],E=i[0],C=i[1],H=i[2],z=i[3];E=l(E,C,H,z,a,7,s[0]),z=l(z,E,C,H,c,12,s[1]),H=l(H,z,E,C,d,17,s[2]),C=l(C,H,z,E,p,22,s[3]),E=l(E,C,H,z,v,7,s[4]),z=l(z,E,C,H,y,12,s[5]),H=l(H,z,E,C,g,17,s[6]),C=l(C,H,z,E,_,22,s[7]),E=l(E,C,H,z,x,7,s[8]),z=l(z,E,C,H,m,12,s[9]),H=l(H,z,E,C,w,17,s[10]),C=l(C,H,z,E,b,22,s[11]),E=l(E,C,H,z,B,7,s[12]),z=l(z,E,C,H,k,12,s[13]),H=l(H,z,E,C,S,17,s[14]),E=u(E,C=l(C,H,z,E,A,22,s[15]),H,z,c,5,s[16]),z=u(z,E,C,H,g,9,s[17]),H=u(H,z,E,C,b,14,s[18]),C=u(C,H,z,E,a,20,s[19]),E=u(E,C,H,z,y,5,s[20]),z=u(z,E,C,H,w,9,s[21]),H=u(H,z,E,C,A,14,s[22]),C=u(C,H,z,E,v,20,s[23]),E=u(E,C,H,z,m,5,s[24]),z=u(z,E,C,H,S,9,s[25]),H=u(H,z,E,C,p,14,s[26]),C=u(C,H,z,E,x,20,s[27]),E=u(E,C,H,z,k,5,s[28]),z=u(z,E,C,H,d,9,s[29]),H=u(H,z,E,C,_,14,s[30]),E=f(E,C=u(C,H,z,E,B,20,s[31]),H,z,y,4,s[32]),z=f(z,E,C,H,x,11,s[33]),H=f(H,z,E,C,b,16,s[34]),C=f(C,H,z,E,S,23,s[35]),E=f(E,C,H,z,c,4,s[36]),z=f(z,E,C,H,v,11,s[37]),H=f(H,z,E,C,_,16,s[38]),C=f(C,H,z,E,w,23,s[39]),E=f(E,C,H,z,k,4,s[40]),z=f(z,E,C,H,a,11,s[41]),H=f(H,z,E,C,p,16,s[42]),C=f(C,H,z,E,g,23,s[43]),E=f(E,C,H,z,m,4,s[44]),z=f(z,E,C,H,B,11,s[45]),H=f(H,z,E,C,A,16,s[46]),E=h(E,C=f(C,H,z,E,d,23,s[47]),H,z,a,6,s[48]),z=h(z,E,C,H,_,10,s[49]),H=h(H,z,E,C,S,15,s[50]),C=h(C,H,z,E,y,21,s[51]),E=h(E,C,H,z,B,6,s[52]),z=h(z,E,C,H,p,10,s[53]),H=h(H,z,E,C,w,15,s[54]),C=h(C,H,z,E,c,21,s[55]),E=h(E,C,H,z,x,6,s[56]),z=h(z,E,C,H,A,10,s[57]),H=h(H,z,E,C,g,15,s[58]),C=h(C,H,z,E,k,21,s[59]),E=h(E,C,H,z,v,6,s[60]),z=h(z,E,C,H,b,10,s[61]),H=h(H,z,E,C,d,15,s[62]),C=h(C,H,z,E,m,21,s[63]),i[0]=i[0]+E|0,i[1]=i[1]+C|0,i[2]=i[2]+H|0,i[3]=i[3]+z|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,r,n,o,i,a){var s=t+(e&r|~e&n)+o+a;return(s<<i|s>>>32-i)+e}function u(t,e,r,n,o,i,a){var s=t+(e&n|r&~n)+o+a;return(s<<i|s>>>32-i)+e}function f(t,e,r,n,o,i,a){var s=t+(e^r^n)+o+a;return(s<<i|s>>>32-i)+e}function h(t,e,r,n,o,i,a){var s=t+(r^(e|~n))+o+a;return(s<<i|s>>>32-i)+e}r.MD5=i._createHelper(c),r.HmacMD5=i._createHmacHelper(c)}(Math),t.MD5)),L.exports;var t}var U,N={exports:{}};function K(){return U||(U=1,N.exports=(e=(t=s=A()).lib,r=e.WordArray,n=e.Hasher,o=t.algo,i=[],a=o.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],s=r[3],c=r[4],l=0;l<80;l++){if(l<16)i[l]=0|t[e+l];else{var u=i[l-3]^i[l-8]^i[l-14]^i[l-16];i[l]=u<<1|u>>>31}var f=(n<<5|n>>>27)+c+i[l];f+=l<20?1518500249+(o&a|~o&s):l<40?1859775393+(o^a^s):l<60?(o&a|o&s|a&s)-1894007588:(o^a^s)-899497514,c=s,s=a,a=o<<30|o>>>2,o=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),t.SHA1=n._createHelper(a),t.HmacSHA1=n._createHmacHelper(a),s.SHA1)),N.exports;var t,e,r,n,o,i,a,s}var X,J,q={exports:{}};function G(){return X||(X=1,q.exports=(t=A(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var l=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],f=r[6],h=r[7],d=0;d<64;d++){if(d<16)l[d]=0|t[e+d];else{var p=l[d-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=l[d-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[d]=v+l[d-7]+g+l[d-16]}var _=n&o^n&i^o&i,x=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&f)+c[d]+l[d];h=f,f=u,u=s,s=a+m|0,a=i,i=o,o=n,n=m+(x+_)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+f|0,r[7]=r[7]+h|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});r.SHA256=i._createHelper(u),r.HmacSHA256=i._createHmacHelper(u)}(Math),t.SHA256)),q.exports;var t}var V,Z={exports:{}};function Y(){return V||(V=1,Z.exports=(t=A(),H(),function(){var e=t,r=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var t=0;t<80;t++)l[t]=s()}();var u=a.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],f=r[6],h=r[7],d=n.high,p=n.low,v=o.high,y=o.low,g=i.high,_=i.low,x=a.high,m=a.low,w=s.high,b=s.low,B=u.high,k=u.low,S=f.high,A=f.low,E=h.high,C=h.low,H=d,z=p,O=v,$=y,M=g,R=_,D=x,F=m,j=w,P=b,I=B,L=k,T=S,W=A,U=E,N=C,K=0;K<80;K++){var X,J,q=l[K];if(K<16)J=q.high=0|t[e+2*K],X=q.low=0|t[e+2*K+1];else{var G=l[K-15],V=G.high,Z=G.low,Y=(V>>>1|Z<<31)^(V>>>8|Z<<24)^V>>>7,Q=(Z>>>1|V<<31)^(Z>>>8|V<<24)^(Z>>>7|V<<25),tt=l[K-2],et=tt.high,rt=tt.low,nt=(et>>>19|rt<<13)^(et<<3|rt>>>29)^et>>>6,ot=(rt>>>19|et<<13)^(rt<<3|et>>>29)^(rt>>>6|et<<26),it=l[K-7],at=it.high,st=it.low,ct=l[K-16],lt=ct.high,ut=ct.low;J=(J=(J=Y+at+((X=Q+st)>>>0<Q>>>0?1:0))+nt+((X+=ot)>>>0<ot>>>0?1:0))+lt+((X+=ut)>>>0<ut>>>0?1:0),q.high=J,q.low=X}var ft,ht=j&I^~j&T,dt=P&L^~P&W,pt=H&O^H&M^O&M,vt=z&$^z&R^$&R,yt=(H>>>28|z<<4)^(H<<30|z>>>2)^(H<<25|z>>>7),gt=(z>>>28|H<<4)^(z<<30|H>>>2)^(z<<25|H>>>7),_t=(j>>>14|P<<18)^(j>>>18|P<<14)^(j<<23|P>>>9),xt=(P>>>14|j<<18)^(P>>>18|j<<14)^(P<<23|j>>>9),mt=c[K],wt=mt.high,bt=mt.low,Bt=U+_t+((ft=N+xt)>>>0<N>>>0?1:0),kt=gt+vt;U=T,N=W,T=I,W=L,I=j,L=P,j=D+(Bt=(Bt=(Bt=Bt+ht+((ft+=dt)>>>0<dt>>>0?1:0))+wt+((ft+=bt)>>>0<bt>>>0?1:0))+J+((ft+=X)>>>0<X>>>0?1:0))+((P=F+ft|0)>>>0<F>>>0?1:0)|0,D=M,F=R,M=O,R=$,O=H,$=z,H=Bt+(yt+pt+(kt>>>0<gt>>>0?1:0))+((z=ft+kt|0)>>>0<ft>>>0?1:0)|0}p=n.low=p+z,n.high=d+H+(p>>>0<z>>>0?1:0),y=o.low=y+$,o.high=v+O+(y>>>0<$>>>0?1:0),_=i.low=_+R,i.high=g+M+(_>>>0<R>>>0?1:0),m=a.low=m+F,a.high=x+D+(m>>>0<F>>>0?1:0),b=s.low=b+P,s.high=w+j+(b>>>0<P>>>0?1:0),k=u.low=k+L,u.high=B+I+(k>>>0<L>>>0?1:0),A=f.low=A+W,f.high=S+T+(A>>>0<W>>>0?1:0),C=h.low=C+N,h.high=E+U+(C>>>0<N>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=r._createHelper(u),e.HmacSHA512=r._createHmacHelper(u)}(),t.SHA512)),Z.exports;var t}var Q,tt,et={exports:{}},rt={exports:{}};var nt,ot,it={exports:{}},at={exports:{}};function st(){return ot||(ot=1,at.exports=(e=(t=A()).lib.Base,r=t.enc.Utf8,void(t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=r.parse(e));var n=t.blockSize,o=4*n;e.sigBytes>o&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),a=this._iKey=e.clone(),s=i.words,c=a.words,l=0;l<n;l++)s[l]^=1549556828,c[l]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})))),at.exports;var t,e,r}var ct,lt,ut={exports:{}},ft={exports:{}};function ht(){return lt||(lt=1,ft.exports=(s=A(),K(),st(),r=(e=(t=s).lib).Base,n=e.WordArray,i=(o=t.algo).MD5,a=o.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:i,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r,o=this.cfg,i=o.hasher.create(),a=n.create(),s=a.words,c=o.keySize,l=o.iterations;s.length<c;){r&&i.update(r),r=i.update(t).finalize(e),i.reset();for(var u=1;u<l;u++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*c,a}}),t.EvpKDF=function(t,e,r){return a.create(r).compute(t,e)},s.EvpKDF)),ft.exports;var t,e,r,n,o,i,a,s}var dt,pt={exports:{}};function vt(){return dt||(dt=1,pt.exports=(t=A(),ht(),void(t.lib.Cipher||function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=r.BufferedBlockAlgorithm,a=e.enc;a.Utf8;var s=a.Base64,c=e.algo.EvpKDF,l=r.Cipher=i.extend({cfg:n.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,r){this.cfg=this.cfg.extend(r),this._xformMode=t,this._key=e,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:y}return function(e){return{encrypt:function(r,n,o){return t(n).encrypt(e,r,n,o)},decrypt:function(r,n,o){return t(n).decrypt(e,r,n,o)}}}}()});r.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=e.mode={},f=r.BlockCipherMode=n.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),h=u.CBC=function(){var t=f.extend();function e(t,e,r){var n,o=this._iv;o?(n=o,this._iv=undefined):n=this._prevBlock;for(var i=0;i<r;i++)t[e+i]^=n[i]}return t.Encryptor=t.extend({processBlock:function(t,r){var n=this._cipher,o=n.blockSize;e.call(this,t,r,o),n.encryptBlock(t,r),this._prevBlock=t.slice(r,r+o)}}),t.Decryptor=t.extend({processBlock:function(t,r){var n=this._cipher,o=n.blockSize,i=t.slice(r,r+o);n.decryptBlock(t,r),e.call(this,t,r,o),this._prevBlock=i}}),t}(),d=(e.pad={}).Pkcs7={pad:function(t,e){for(var r=4*e,n=r-t.sigBytes%r,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var c=o.create(a,n);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}};r.BlockCipher=l.extend({cfg:l.cfg.extend({mode:h,padding:d}),reset:function(){var t;l.reset.call(this);var e=this.cfg,r=e.iv,n=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=n.createEncryptor:(t=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,r&&r.words):(this._mode=t.call(n,this,r&&r.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4});var p=r.CipherParams=n.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),v=(e.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;return(r?o.create([1398893684,1701076831]).concat(r).concat(e):e).toString(s)},parse:function(t){var e,r=s.parse(t),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(e=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),p.create({ciphertext:r,salt:e})}},y=r.SerializableCipher=n.extend({cfg:n.extend({format:v}),encrypt:function(t,e,r,n){n=this.cfg.extend(n);var o=t.createEncryptor(r,n),i=o.finalize(e),a=o.cfg;return p.create({ciphertext:i,key:r,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,e,r,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),t.createDecryptor(r,n).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),g=(e.kdf={}).OpenSSL={execute:function(t,e,r,n,i){if(n||(n=o.random(8)),i)a=c.create({keySize:e+r,hasher:i}).compute(t,n);else var a=c.create({keySize:e+r}).compute(t,n);var s=o.create(a.words.slice(e),4*r);return a.sigBytes=4*e,p.create({key:a,iv:s,salt:n})}},_=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:g}),encrypt:function(t,e,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,t.keySize,t.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=y.encrypt.call(this,t,e,o.key,n);return i.mixIn(o),i},decrypt:function(t,e,r,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var o=n.kdf.execute(r,t.keySize,t.ivSize,e.salt,n.hasher);return n.iv=o.iv,y.decrypt.call(this,t,e,o.key,n)}})}()))),pt.exports;var t}var yt,gt={exports:{}};var _t,xt={exports:{}};var mt,wt={exports:{}};var bt,Bt={exports:{}};var kt,St,At,Et,Ct,Ht,zt,Ot,$t,Mt={exports:{}},Rt={exports:{}},Dt={exports:{}},Ft={exports:{}},jt={exports:{}},Pt={exports:{}},It={exports:{}},Lt={exports:{}},Tt={exports:{}};var Wt,Ut,Nt,Kt,Xt,Jt={exports:{}},qt={exports:{}},Gt={exports:{}},Vt={exports:{}};var Zt,Yt,Qt,te,ee,re,ne,oe=(Xt||(Xt=1,B.exports=function(t){return t}(A(),H(),(z||(z=1,O.exports=(ne=A(),function(){if("function"==typeof ArrayBuffer){var t=ne.lib.WordArray,e=t.init,r=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var r=t.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=t[o]<<24-o%4*8;e.call(this,n,r)}else e.apply(this,arguments)};r.prototype=t}}(),ne.lib.WordArray)),O.exports),function(){return $||($=1,M.exports=(t=A(),function(){var e=t,r=e.lib.WordArray,n=e.enc;function o(t){return t<<8&4278255360|t>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=2){var i=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=t.charCodeAt(o)<<16-o%2*16;return r.create(n,2*e)}},n.Utf16LE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i+=2){var a=o(e[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>1]|=o(t.charCodeAt(i)<<16-i%2*16);return r.create(n,2*e)}}}(),t.enc.Utf16)),M.exports;var t}(),F(),function(){return j||(j=1,P.exports=(t=A(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64url={stringify:function(t,e){void 0===e&&(e=!0);var r=t.words,n=t.sigBytes,o=e?this._safe_map:this._map;t.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)i.push(o.charAt(s>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(t,e){void 0===e&&(e=!0);var r=t.length,o=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var c=t.indexOf(s);-1!==c&&(r=c)}return n(t,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),t.enc.Base64url)),P.exports;var t}(),W(),K(),G(),J||(J=1,re=A(),G(),Yt=(Zt=re).lib.WordArray,Qt=Zt.algo,te=Qt.SHA256,ee=Qt.SHA224=te.extend({_doReset:function(){this._hash=new Yt.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=te._doFinalize.call(this);return t.sigBytes-=4,t}}),Zt.SHA224=te._createHelper(ee),Zt.HmacSHA224=te._createHmacHelper(ee),re.SHA224),Y(),function(){return Q?et.exports:(Q=1,et.exports=(s=A(),H(),Y(),e=(t=s).x64,r=e.Word,n=e.WordArray,o=t.algo,i=o.SHA512,a=o.SHA384=i.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var t=i._doFinalize.call(this);return t.sigBytes-=16,t}}),t.SHA384=i._createHelper(a),t.HmacSHA384=i._createHmacHelper(a),s.SHA384));var t,e,r,n,o,i,a,s}(),function(){return tt||(tt=1,rt.exports=(t=A(),H(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.x64.Word,s=r.algo,c=[],l=[],u=[];!function(){for(var t=1,e=0,r=0;r<24;r++){c[t+5*e]=(r+1)*(r+2)/2%64;var n=(2*t+3*e)%5;t=e%5,e=n}for(t=0;t<5;t++)for(e=0;e<5;e++)l[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,f=0,h=0;h<7;h++){if(1&o){var d=(1<<h)-1;d<32?f^=1<<d:s^=1<<d-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,f)}}();var f=[];!function(){for(var t=0;t<25;t++)f[t]=a.create()}();var h=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=t[e+2*o],a=t[e+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(C=r[o]).high^=a,C.low^=i}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var d=0,p=0,v=0;v<5;v++)d^=(C=r[h+5*v]).high,p^=C.low;var y=f[h];y.high=d,y.low=p}for(h=0;h<5;h++){var g=f[(h+4)%5],_=f[(h+1)%5],x=_.high,m=_.low;for(d=g.high^(x<<1|m>>>31),p=g.low^(m<<1|x>>>31),v=0;v<5;v++)(C=r[h+5*v]).high^=d,C.low^=p}for(var w=1;w<25;w++){var b=(C=r[w]).high,B=C.low,k=c[w];k<32?(d=b<<k|B>>>32-k,p=B<<k|b>>>32-k):(d=B<<k-32|b>>>64-k,p=b<<k-32|B>>>64-k);var S=f[l[w]];S.high=d,S.low=p}var A=f[0],E=r[0];for(A.high=E.high,A.low=E.low,h=0;h<5;h++)for(v=0;v<5;v++){var C=r[w=h+5*v],H=f[w],z=f[(h+1)%5+5*v],O=f[(h+2)%5+5*v];C.high=H.high^~z.high&O.high,C.low=H.low^~z.low&O.low}C=r[0];var $=u[s];C.high^=$.high,C.low^=$.low}},_doFinalize:function(){var t=this._data,r=t.words;this._nDataBytes;var n=8*t.sigBytes,i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var f=a[u],h=f.high,d=f.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(h)}return new o.init(l,s)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});r.SHA3=i._createHelper(h),r.HmacSHA3=i._createHmacHelper(h)}(Math),t.SHA3)),rt.exports;var t}(),function(){return nt||(nt=1,it.exports=(t=A(),
2
2
  /** @preserve
3
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
4
- * derived from CryptoJS.mode.CTR
5
- * Jan Hruby jhruby.web@gmail.com
6
- */
7
- e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;c<o;c++)e[t+c]^=s[c]}});return t.Decryptor=o,t}(),e.mode.CTRGladman)),Xe.exports;var e}var Ze,Qe={exports:{}};function et(){return Ze||(Ze=1,Qe.exports=(r=Y(),Ne(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}}),e.Decryptor=t,e),r.mode.OFB)),Qe.exports;var e,t,r}var tt,rt={exports:{}};var nt,ot={exports:{}};var it,at={exports:{}};var st,ct={exports:{}};var lt,ut={exports:{}};var dt,ft={exports:{}};var ht,pt={exports:{}};var vt,gt={exports:{}};var yt,_t={exports:{}};function mt(){return yt||(yt=1,_t.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib,n=r.WordArray,o=r.BlockCipher,i=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],u=c[i];for(r=0;r<24;r++)l[r/6|0]|=t[(s[r]-1+u)%28]<<31-r%6,l[4+(r/6|0)]|=t[28+(s[r+24]-1+u)%28]<<31-r%6;for(l[0]=l[0]<<1|l[0]>>>31,r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),f.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^o[c])&u[c])>>>0];this._lBlock=a,this._rBlock=i^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,f.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=o._createHelper(d);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(n.create(t)),this._des2=d.createEncryptor(n.create(r)),this._des3=d.createEncryptor(n.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES)),_t.exports;var e}var bt,xt={exports:{}};var wt,kt={exports:{}};var At,Et={exports:{}};var Ot,Bt={exports:{}};function St(){return Ot||(Ot=1,Bt.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const o=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function c(e,t){let r=t>>24&255,n=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function l(e,t,r){let n,i=t,a=r;for(let t=0;t<o;++t)i^=e.pbox[t],a=c(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function u(e,t,r){let n,i=t,a=r;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=c(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function d(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=a[t][r]}let n=0;for(let a=0;a<o+2;a++)e.pbox[a]=i[a]^t[n],n++,n>=r&&(n=0);let s=0,c=0,u=0;for(let t=0;t<o+2;t+=2)u=l(e,s,c),s=u.left,c=u.right,e.pbox[t]=s,e.pbox[t+1]=c;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)u=l(e,s,c),s=u.left,c=u.right,e.sbox[t][r]=s,e.sbox[t][r+1]=c;return!0}var f=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;d(s,t,r)}},encryptBlock:function(e,t){var r=l(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=u(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(f)}(),e.Blowfish)),Bt.exports;var e}var jt;var Tt,Ct,$t,Rt,It,Pt,Mt=(jt||(jt=1,V.exports=function(e){return e}(Y(),Z(),te(),oe(),se(),ue(),he(),ge(),me(),be||(be=1,xe.exports=(Pt=Y(),me(),Ct=(Tt=Pt).lib.WordArray,$t=Tt.algo,Rt=$t.SHA256,It=$t.SHA224=Rt.extend({_doReset:function(){this._hash=new Ct.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=Rt._doFinalize.call(this);return e.sigBytes-=4,e}}),Tt.SHA224=Rt._createHelper(It),Tt.HmacSHA224=Rt._createHmacHelper(It),Pt.SHA224)),Ae(),function(){return Ee?Oe.exports:(Ee=1,Oe.exports=(s=Y(),Z(),Ae(),t=(e=s).x64,r=t.Word,n=t.WordArray,o=e.algo,i=o.SHA512,a=o.SHA384=i.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=i._createHelper(a),e.HmacSHA384=i._createHmacHelper(a),s.SHA384));var e,t,r,n,o,i,a,s}(),je(),function(){return Te||(Te=1,Ce.exports=(e=Y(),
3
+ (c) 2012 by Cédric Mesnil. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6
+
7
+ - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
+ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11
+ */
12
+ function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),f=n.create([1352829926,1548603684,1836072691,2053994217,0]),h=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,h,x,m,w,b,B,k,S,A,E,C=this._hash.words,H=u.words,z=f.words,O=a.words,$=s.words,M=c.words,R=l.words;for(b=i=C[0],B=h=C[1],k=x=C[2],S=m=C[3],A=w=C[4],r=0;r<80;r+=1)E=i+t[e+O[r]]|0,E+=r<16?d(h,x,m)+H[0]:r<32?p(h,x,m)+H[1]:r<48?v(h,x,m)+H[2]:r<64?y(h,x,m)+H[3]:g(h,x,m)+H[4],E=(E=_(E|=0,M[r]))+w|0,i=w,w=m,m=_(x,10),x=h,h=E,E=b+t[e+$[r]]|0,E+=r<16?g(B,k,S)+z[0]:r<32?y(B,k,S)+z[1]:r<48?v(B,k,S)+z[2]:r<64?p(B,k,S)+z[3]:d(B,k,S)+z[4],E=(E=_(E|=0,R[r]))+A|0,b=A,A=S,S=_(k,10),k=B,B=E;E=C[1]+x+S|0,C[1]=C[2]+m+A|0,C[2]=C[3]+w+b|0,C[3]=C[4]+i+B|0,C[4]=C[0]+h+k|0,C[0]=E},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function d(t,e,r){return t^e^r}function p(t,e,r){return t&e|~t&r}function v(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function g(t,e,r){return t^(e|~r)}function _(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(h),e.HmacRIPEMD160=o._createHmacHelper(h)}(),t.RIPEMD160)),it.exports;var t}(),st(),function(){return ct||(ct=1,ut.exports=(c=A(),G(),st(),r=(e=(t=c).lib).Base,n=e.WordArray,i=(o=t.algo).SHA256,a=o.HMAC,s=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:i,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,o=a.create(r.hasher,t),i=n.create(),s=n.create([1]),c=i.words,l=s.words,u=r.keySize,f=r.iterations;c.length<u;){var h=o.update(e).finalize(s);o.reset();for(var d=h.words,p=d.length,v=h,y=1;y<f;y++){v=o.finalize(v),o.reset();for(var g=v.words,_=0;_<p;_++)d[_]^=g[_]}i.concat(h),l[0]++}return i.sigBytes=4*u,i}}),t.PBKDF2=function(t,e,r){return s.create(r).compute(t,e)},c.PBKDF2)),ut.exports;var t,e,r,n,o,i,a,s,c}(),ht(),vt(),function(){return yt||(yt=1,gt.exports=(t=A(),vt(),t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();function r(t,e,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)t[e+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize;r.call(this,t,e,o,n),this._prevBlock=t.slice(e,e+o)}}),e.Decryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=t.slice(e,e+o);r.call(this,t,e,o,n),this._prevBlock=i}}),e}(),t.mode.CFB)),gt.exports;var t}(),function(){return _t||(_t=1,xt.exports=(r=A(),vt(),r.mode.CTR=(e=(t=r.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)t[e+s]^=a[s]}}),t.Decryptor=e,t),r.mode.CTR)),xt.exports;var t,e,r}(),function(){return mt||(mt=1,wt.exports=(t=A(),vt(),
8
13
  /** @preserve
9
- (c) 2012 by Cédric Mesnil. All rights reserved.
10
-
11
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
12
-
13
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
14
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
15
-
16
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
- */
18
- function(){var t=e,r=t.lib,n=r.WordArray,o=r.Hasher,i=t.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),d=n.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,m,b,x,w,k,A,E,O,B,S=this._hash.words,j=u.words,T=d.words,C=a.words,$=s.words,R=c.words,I=l.words;for(w=i=S[0],k=f=S[1],A=m=S[2],E=b=S[3],O=x=S[4],r=0;r<80;r+=1)B=i+e[t+C[r]]|0,B+=r<16?h(f,m,b)+j[0]:r<32?p(f,m,b)+j[1]:r<48?v(f,m,b)+j[2]:r<64?g(f,m,b)+j[3]:y(f,m,b)+j[4],B=(B=_(B|=0,R[r]))+x|0,i=x,x=b,b=_(m,10),m=f,f=B,B=w+e[t+$[r]]|0,B+=r<16?y(k,A,E)+T[0]:r<32?g(k,A,E)+T[1]:r<48?v(k,A,E)+T[2]:r<64?p(k,A,E)+T[3]:h(k,A,E)+T[4],B=(B=_(B|=0,I[r]))+O|0,w=O,O=E,E=_(A,10),A=k,k=B;B=S[1]+m+E|0,S[1]=S[2]+b+O|0,S[2]=S[3]+x+w|0,S[3]=S[4]+i+k|0,S[4]=S[0]+f+A|0,S[0]=B},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,r){return e^t^r}function p(e,t,r){return e&t|~e&r}function v(e,t,r){return(e|~t)^r}function g(e,t,r){return e&r|t&~r}function y(e,t,r){return e^(t|~r)}function _(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(),e.RIPEMD160)),Ce.exports;var e}(),Ie(),function(){return Pe||(Pe=1,Me.exports=(c=Y(),me(),Ie(),t=(e=c).lib,r=t.Base,n=t.WordArray,o=e.algo,i=o.SHA256,a=o.HMAC,s=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:i,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,o=a.create(r.hasher,e),i=n.create(),s=n.create([1]),c=i.words,l=s.words,u=r.keySize,d=r.iterations;c.length<u;){var f=o.update(t).finalize(s);o.reset();for(var h=f.words,p=h.length,v=f,g=1;g<d;g++){v=o.finalize(v),o.reset();for(var y=v.words,_=0;_<p;_++)h[_]^=y[_]}i.concat(f),l[0]++}return i.sigBytes=4*u,i}}),e.PBKDF2=function(e,t,r){return s.create(r).compute(e,t)},c.PBKDF2)),Me.exports;var e,t,r,n,o,i,a,s,c}(),Fe(),Ne(),Ve(),Je(),qe(),et(),function(){return tt?rt.exports:(tt=1,rt.exports=(t=Y(),Ne(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB));var e,t}(),function(){return nt?ot.exports:(nt=1,ot.exports=(e=Y(),Ne(),e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,o=n-r%n,i=r+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return it?at.exports:(it=1,at.exports=(e=Y(),Ne(),e.pad.Iso10126={pad:function(t,r){var n=4*r,o=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return st?ct.exports:(st=1,ct.exports=(e=Y(),Ne(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return lt||(lt=1,ut.exports=(e=Y(),Ne(),e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding)),ut.exports;var e}(),function(){return dt?ft.exports:(dt=1,ft.exports=(e=Y(),Ne(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return ht?pt.exports:(ht=1,pt.exports=(n=Y(),Ne(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var n=r.parse(e);return t.create({ciphertext:n})}},n.format.Hex));var e,t,r,n}(),function(){return vt||(vt=1,gt.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,o=[],i=[],a=[],s=[],c=[],l=[],u=[],d=[],f=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,o[r]=p,i[p]=r;var v=e[r],g=e[v],y=e[g],_=257*e[p]^16843008*p;a[r]=_<<24|_>>>8,s[r]=_<<16|_>>>16,c[r]=_<<8|_>>>24,l[r]=_,_=16843009*y^65537*g^257*v^16843008*r,u[p]=_<<24|_>>>8,d[p]=_<<16|_>>>16,f[p]=_<<8|_>>>24,h[p]=_,r?(r=v^e[e[e[y^v]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=t[a]:(l=i[a-1],a%r?r>6&&a%r==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=o[(l=l<<8|l>>>24)>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=p[a/r|0]<<24),i[a]=i[a-r]^l);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var l=i[a];else l=i[a-4];s[c]=c<4||a<=4?l:u[o[l>>>24]]^d[o[l>>>16&255]]^f[o[l>>>8&255]]^h[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,c,l,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,d,f,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var c=this._nRounds,l=e[t]^r[0],u=e[t+1]^r[1],d=e[t+2]^r[2],f=e[t+3]^r[3],h=4,p=1;p<c;p++){var v=n[l>>>24]^o[u>>>16&255]^i[d>>>8&255]^a[255&f]^r[h++],g=n[u>>>24]^o[d>>>16&255]^i[f>>>8&255]^a[255&l]^r[h++],y=n[d>>>24]^o[f>>>16&255]^i[l>>>8&255]^a[255&u]^r[h++],_=n[f>>>24]^o[l>>>16&255]^i[u>>>8&255]^a[255&d]^r[h++];l=v,u=g,d=y,f=_}v=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^r[h++],g=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&l])^r[h++],y=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^r[h++],_=(s[f>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^r[h++],e[t]=v,e[t+1]=g,e[t+2]=y,e[t+3]=_},keySize:8});t.AES=r._createHelper(v)}(),e.AES)),gt.exports;var e}(),mt(),function(){return bt||(bt=1,xt.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=t[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}t.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});t.RC4Drop=r._createHelper(a)}(),e.RC4)),xt.exports;var e}(),function(){return wt||(wt=1,kt.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,f=u<<16|65535&l;for(o[0]^=l,o[1]^=d,o[2]^=u,o[3]^=f,o[4]^=l,o[5]^=d,o[6]^=u,o[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(s)}(),e.Rabbit)),kt.exports;var e}(),function(){return At||(At=1,Et.exports=(e=Y(),se(),he(),Fe(),Ne(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,f=u<<16|65535&l;for(n[0]^=l,n[1]^=d,n[2]^=u,n[3]^=f,n[4]^=l,n[5]^=d,n[6]^=u,n[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(s)}(),e.RabbitLegacy)),Et.exports;var e}(),St())),V.exports),Lt=z(Mt),Dt=function(){return Dt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dt.apply(this,arguments)};function Ft(e){return Lt.SHA256(e).toString(Lt.enc.Hex).slice(0,16)}function Ht(e,t){var r=e.source,n=e.context,o=e.id,i=e.dataFormat;void 0===t&&(t=Ft);var a={};return a.source="JSX"===i?Nt(r):r,a=Dt(Dt(Dt(Dt({},a),o&&{id:o}),n&&{context:n}),i&&{dataFormat:i}),t(G(a))}"function"==typeof SuppressedError&&SuppressedError;var zt=function(e){if(e&&"object"==typeof e){var t={};if("c"in e&&e.c&&(t.c=Nt(e.c)),"d"in e){var r=null==e?void 0:e.d;(null==r?void 0:r.b)&&(t.b=Object.fromEntries(Object.entries(r.b).map(function(e){return[e[0],Nt(e[1])]}))),(null==r?void 0:r.t)&&(t.t=r.t)}return function(e){var t=e;if(t&&"object"==typeof t&&"string"==typeof t.k){var r=Object.keys(t);if(1===r.length)return!0;if(2===r.length){if("number"==typeof t.i)return!0;if("string"==typeof t.v)return!0}if(3===r.length&&"string"==typeof t.v&&"number"==typeof t.i)return!0}return!1}(e)?Dt({k:e.k},e.v&&{v:e.v}):t}return e};function Nt(e){return Array.isArray(e)?e.map(zt):zt(e)}function Ut(e,t){if(null==e)throw new Error("Cannot index into an undefined dictionary");return Array.isArray(e),e[t]}function Gt(e,t,r){Array.isArray(e),e[t]=r}var Vt="https://cdn.gtx.dev",Kt="https://runtime2.gtx.dev",Wt="en",Jt=["singular","plural","dual","zero","one","two","few","many","other"];var Yt=new(function(){function e(){this.cache=new Map}return e.prototype._generateKey=function(e,t,r){void 0===r&&(r={});var n=Array.isArray(t)?t.join(","):t,o=r?JSON.stringify(r,Object.keys(r).sort()):"{}";return"".concat(e,":").concat(n,":").concat(o)},e.prototype.get=function(e,t,r){void 0===r&&(r={});var n=this._generateKey(e,t,r);if(!this.cache.has(n)){var o=new Intl[e](t,r);this.cache.set(n,o)}return this.cache.get(n)},e}());function Xt(e){var t=e;if(t&&"object"==typeof t&&"string"==typeof t.k){var r=Object.keys(t);if(1===r.length)return!0;if(2===r.length){if("number"==typeof t.i)return!0;if("string"==typeof t.v)return!0}if(3===r.length&&"string"==typeof t.v&&"number"==typeof t.i)return!0}return!1}var qt={variable:"v",number:"n",datetime:"d",currency:"c"};function Zt(e){return qt[e]}function Qt(e,r=0){let n=r;const o=e=>{const{type:t,props:r}=e;n+=1;const o={id:n};let i;try{i="function"==typeof t&&t._gtt||""}catch(e){}if(i){const e=i.split("-");if("translate"===e[0]&&(e[0]="fragment"),"variable"===e[0]&&(o.variableType=(null==e?void 0:e[1])||"variable"),"plural"===e[0]){const e=Object.entries(r).reduce((e,[t,r])=>(function(e){return Jt.includes(e)}(t)&&(e[t]=Qt(r,n)),e),{});Object.keys(e).length&&(o.branches=e)}if("branch"===e[0]){const{children:e,branch:t}=r,i=E(r,["children","branch"]),a=Object.entries(i).reduce((e,[t,r])=>(e[t]=Qt(r,n),e),{});Object.keys(a).length&&(o.branches=a)}o.transformation=e[0]}return o};function i(e){return l(e)?function(e){const{props:r}=e,n=o(e),i=Object.assign(Object.assign({},r),{"data-_gt":n});return r.children&&!n.variableType&&(i.children=a(r.children)),e.type===t.Fragment&&(i["data-_gt"].transformation="fragment"),t.cloneElement(e,i)}(e):e}function a(e){return Array.isArray(e)?t.Children.map(e,i):i(e)}return a(e)}"function"==typeof SuppressedError&&SuppressedError;const er={variable:"value",number:"n",datetime:"date",currency:"cost"};function tr(e={},t){var r;if(e.name)return e.name;return`_gt_${er[t]||"value"}_${null===(r=e["data-_gt"])||void 0===r?void 0:r.id}`}var rr={pl:"placeholder",ti:"title",alt:"alt",arl:"aria-label",arb:"aria-labelledby",ard:"aria-describedby"};const nr=e=>{var t;if(!e)return"";const{type:r,props:n}=e;if(r&&"function"==typeof r){if("displayName"in r&&"string"==typeof r.displayName&&r.displayName)return r.displayName;if("name"in r&&"string"==typeof r.name&&r.name)return r.name}return r&&"string"==typeof r?r:n.href?"a":(null===(t=n["data-_gt"])||void 0===t?void 0:t.id)?`C${n["data-_gt"].id}`:"function"},or=e=>{const{props:t}=e,r={t:nr(e)};if(t["data-_gt"]){const e=t["data-_gt"],n=e.transformation;if("variable"===n){const r=e.variableType||"variable",n=tr(t,r),o=Zt(r);return{i:e.id,k:n,v:o}}r.i=e.id,r.d=((e,t,r)=>{let n=Object.entries(rr).reduce((e,[r,n])=>(t[n]&&(e[r]=t[n]),e),{});if("plural"===e&&r){const e={};Object.entries(r).forEach(([t,r])=>{e[t]=ar(r)}),n=Object.assign(Object.assign({},n),{b:e,t:"p"})}if("branch"===e&&r){const e={};Object.entries(r).forEach(([t,r])=>{e[t]=ar(r)}),n=Object.assign(Object.assign({},n),{b:e,t:"b"})}return Object.keys(n).length?n:void 0})(n,t,e.branches);let o=Object.entries(rr).reduce((e,[r,n])=>(t[n]&&(e[r]=t[n]),e),{});if("plural"===n&&e.branches){const t={};Object.entries(e.branches).forEach(([e,r])=>{t[e]=ar(r)}),o=Object.assign(Object.assign({},o),{b:t,t:"p"})}if("branch"===n&&e.branches){const t={};Object.entries(e.branches).forEach(([e,r])=>{t[e]=ar(r)}),o=Object.assign(Object.assign({},o),{b:t,t:"b"})}r.d=Object.keys(o).length?o:void 0}return t.children&&(r.c=ar(t.children)),r},ir=e=>{return r=e,t.isValidElement(r)?or(e):"number"==typeof e?e.toString():e;var r};function ar(e){return Array.isArray(e)?e.map(ir):ir(e)}function sr(e,t,r){let n="",o=null;return"number"==typeof e&&!o&&r&&(n=function(e,t,r){void 0===t&&(t=Jt),void 0===r&&(r=["en"]);var n=Yt.get("PluralRules",r).select(e),o=Math.abs(e);if(0===o&&t.includes("zero"))return"zero";if(1===o){if(t.includes("singular"))return"singular";if(t.includes("one"))return"one"}if("one"===n&&t.includes("singular"))return"singular";if(2===o){if(t.includes("dual"))return"dual";if(t.includes("two"))return"two"}return"two"===n&&t.includes("dual")?"dual":t.includes(n)?n:"two"===n&&t.includes("dual")?"dual":"two"===n&&t.includes("plural")?"plural":"two"===n&&t.includes("other")?"other":"few"===n&&t.includes("plural")?"plural":"few"===n&&t.includes("other")?"other":"many"===n&&t.includes("plural")?"plural":"many"===n&&t.includes("other")?"other":"other"===n&&t.includes("plural")?"plural":""}(e,Object.keys(r),t)),n&&!o&&(o=r[n]),o}function cr(e){if("string"==typeof e)return!0;if(Array.isArray(e)){if("string"!=typeof(null==e?void 0:e[0]))return!1;const t=null==e?void 0:e[1];if(void 0===t)return!0;if(t&&"object"==typeof t)return!0}return!1}function lr(e,t){let r=e;const n=t.split(".");for(const e of n){if("object"!=typeof r&&!Array.isArray(r))return;r=Ut(r,e)}return r}function ur(e){if(Array.isArray(e)){if(1===e.length)return{entry:e[0]};if(2===e.length)return{entry:e[0],metadata:e[1]}}return{entry:e}}function dr(e){var t;return"object"==typeof e&&!!e&&"data-_gt"in e&&"object"==typeof e["data-_gt"]&&!!e["data-_gt"]&&"transformation"in e["data-_gt"]&&"variable"===(null===(t=e["data-_gt"])||void 0===t?void 0:t.transformation)}function fr(e){var t;const r=(null===(t=e["data-_gt"])||void 0===t?void 0:t.variableType)||"variable";return{variableName:tr(e,r),variableType:Zt(r),variableValue:void 0!==e.value?e.value:void 0!==e["data-_gt-unformatted-value"]?e["data-_gt-unformatted-value"]:void 0!==e.children?e.children:void 0,variableOptions:(()=>{const t=Object.assign(Object.assign({},void 0!==e.currency&&{currency:e.currency}),void 0!==e.options&&e.options);return Object.keys(t).length?t:"string"==typeof e["data-_gt-variable-options"]?JSON.parse(e["data-_gt-variable-options"]):e["data-_gt-variable-options"]||void 0})()}}function hr(e){return e&&e.props&&e.props["data-_gt"]?e.props["data-_gt"]:null}function pr({children:e,defaultLocale:r=Wt,renderVariable:n}){const o=e=>t.isValidElement(e)?(e=>{const o=hr(e);if(dr(e.props)){const{variableType:t,variableValue:o,variableOptions:i}=fr(e.props);return n({variableType:t,variableValue:o,variableOptions:i,locales:[r]})}if("plural"===(null==o?void 0:o.transformation)){const t=o.branches||{};return i(sr(e.props.n,[r],t)||e.props.children)}if("branch"===(null==o?void 0:o.transformation)){let t=e.props,{children:r,branch:n,"data-_gt":a}=t,s=E(t,["children","branch","data-_gt"]);return s=o.branches||{},i(void 0!==s[n]?s[n]:r)}return"fragment"===(null==o?void 0:o.transformation)?t.createElement(t.Fragment,{key:e.props.key,children:i(e.props.children)}):e.props.children?t.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0,children:i(e.props.children)})):t.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0}))})(e):e,i=e=>Array.isArray(e)?t.Children.map(e,o):o(e);return i(e)}function vr({sourceElement:e,targetElement:r,locales:n=[Wt],renderVariable:o}){var i,a;const{props:s}=e,c=s["data-_gt"],l=null==c?void 0:c.transformation,u=r.d,d={};if(u&&Object.entries(rr).forEach(([e,t])=>{u[e]&&(d[t]=u[e])}),"plural"===l){const t=e.props.n;return gr({source:sr(t,n,c.branches||{})||e.props.children,target:sr(t,n,(null===(i=r.d)||void 0===i?void 0:i.b)||{})||r.c,locales:n,renderVariable:o})}if("branch"===l){const{branch:e,children:t}=s;return gr({source:(c.branches||{})[e]||t,target:((null===(a=r.d)||void 0===a?void 0:a.b)||{})[e]||r.c,locales:n,renderVariable:o})}return"fragment"===l&&r.c?t.createElement(t.Fragment,{key:e.props.key,children:gr({source:s.children,target:r.c,locales:n,renderVariable:o})}):(null==s?void 0:s.children)&&(null==r?void 0:r.c)?t.cloneElement(e,Object.assign(Object.assign(Object.assign({},s),d),{"data-_gt":void 0,children:gr({source:s.children,target:r.c,locales:n,renderVariable:o})})):pr({children:e,defaultLocale:n[0],renderVariable:o})}function gr({source:e,target:r,locales:n=[Wt],renderVariable:o}){if(null==r&&e)return pr({children:e,defaultLocale:n[0],renderVariable:o});if("string"==typeof r)return r;if(Array.isArray(r)&&!Array.isArray(e)&&e&&(e=[e]),Array.isArray(e)&&Array.isArray(r)){const i={},a={},s=e.filter(e=>{if(t.isValidElement(e)){if(!dr(e.props))return!0;{const{variableName:t,variableValue:r,variableOptions:n}=fr(e.props);i[t]=r,a[t]=n}}return!1}),c=e=>s.find(t=>{const r=hr(t);if(void 0!==(null==r?void 0:r.id)){return r.id===e.i}return!1})||s.shift();return r.map((e,r)=>{if("string"==typeof e)return m(t.Fragment,{children:e},`string_${r}`);if(Xt(e))return m(t.Fragment,{children:o({variableType:e.v||"v",variableValue:i[e.k],variableOptions:a[e.k],locales:n})},`var_${r}`);const s=c(e);return s?m(t.Fragment,{children:vr({sourceElement:s,targetElement:e,locales:n,renderVariable:o})},`element_${r}`):void 0})}if(r&&"object"==typeof r&&!Array.isArray(r)){const i=Xt(r)?"variable":"element";if(t.isValidElement(e)){if("element"===i)return vr({sourceElement:e,targetElement:r,locales:n,renderVariable:o});if(dr(e.props)){const{variableValue:t,variableOptions:r,variableType:i}=fr(e.props);return o({variableType:i,variableValue:t,variableOptions:r,locales:n})}}}return pr({children:e,defaultLocale:n[0],renderVariable:o})}const yr={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};function _r(e,t){const r=(null==t?void 0:t.$_hash)||Ht(Object.assign(Object.assign(Object.assign({source:e},(null==t?void 0:t.$context)&&{context:t.$context}),(null==t?void 0:t.$id)&&{id:t.$id}),{dataFormat:"ICU"}));t?(t.$_hash=r,t.$_source=e):t={$_hash:r,$_source:e};const n=Buffer.from(JSON.stringify(t)).toString("base64");let o=e;(function(e){let t=0,r=!1;for(;t<e.length;){const n=e[t];if("'"!==n){if(!r&&"{"===n){let r=t+1,n="";for(;r<e.length&&"}"!==e[r];)n+=e[r],r++;if(r<e.length&&n.trim().length>0)return!0;t=r<e.length?r+1:r;continue}t++}else{if(t+1<e.length&&"'"===e[t+1]){t+=2;continue}r=!r,t++}}return!1})(e)&&Object.keys(t||{}).length>2&&(o=h(e,{locales:[Wt],variables:t}));let i=o;return n&&(i+=`:${n}`),i}function mr(e){return e&&-1!==e.lastIndexOf(":")?e.slice(0,e.lastIndexOf(":")):e}function br(e){if(-1===e.lastIndexOf(":"))return null;const t=e.slice(e.lastIndexOf(":")+1);try{return JSON.parse(Buffer.from(t,"base64").toString())}catch(e){return null}}const xr="generaltranslation.locale",wr="generaltranslation.region";function kr(e){return void 0!==e&&("string"==typeof e||!!Array.isArray(e)&&((1===e.length||2===e.length)&&("string"==typeof e[0]&&(2!==e.length||"object"==typeof e[1]&&null!==e[1]&&("$context"in e[1]||"$_hash"in e[1])))))}const Ar=e=>"string"==typeof e||Array.isArray(e),Er=e=>"object"==typeof e&&null!==e&&!Array.isArray(e);function Or(e,t){if(Array.isArray(e))return e.map((e,r)=>kr(e)?t[r]:Or(e,t[r]));const r=Object.assign(Object.assign({},Object.fromEntries(Object.entries(e).filter(([,e])=>Ar(e)))),Object.fromEntries(Object.entries(t).filter(([,e])=>Ar(e)))),n=Object.entries(e).filter(([,e])=>Er(e)).map(([e])=>e),o=Object.entries(t).filter(([,e])=>Er(e)).map(([e])=>e),i=new Set([...n,...o]);for(const n of i)r[n]=Or(Ut(e,n)||{},Ut(t,n)||{});return r}const Br="function"==typeof e.use;function Sr({dictionary:e,id:t}){if(""===t)return e;let r=e;const n=t.split(".");for(const e of n)r=Ut(r,e);return r}const jr=["constructor","prototype","__proto__"];function Tr(e,t,r,n){if(kr(t))return e;const o=r.split(".");o.forEach(e=>{if(function(e){return!!jr.includes(e)}(e))throw new Error(`Invalid key: ${e}`)}),t||(t={});for(const e of o.slice(0,-1))null==Ut(t,e)&&Gt(t,e,Array.isArray(Ut(n,e))?[]:{}),t=Ut(t,e),n=Ut(n,e);Gt(t,o[o.length-1],e)}function Cr(e){let t={};return Array.isArray(e)&&(t=[]),Object.entries(e).forEach(([e,r])=>{if(kr(r)){const{entry:n}=ur(r);Gt(t,e,n)}else Gt(t,e,Cr(r))}),t}function $r(e,t=""){let r=!1;return Object.entries(e).forEach(([n,o])=>{const i=t?`${t}.${n}`:n;if(kr(o)){let{entry:t,metadata:a}=ur(o);(null==a?void 0:a.$_hash)||(a||(a={}),a.$_hash=Ht(Object.assign(Object.assign({source:t},(null==a?void 0:a.$context)&&{context:a.$context}),{id:i,dataFormat:"ICU"})),Gt(e,n,[t,a]),r=!0)}else{const{updateDictionary:e}=$r(o,i);r=r||e}}),{dictionary:e,updateDictionary:r}}function Rr(e,t,r){const n=Sr({dictionary:e,id:r});if(!n)throw new Error(T(r));if(kr(n))throw new Error("gt-react Error: Cannot inject and merge a dictionary entry");return function(e,t,r){const n=lr(e,r);if(!n)throw new Error(T(r));if(kr(n))throw new Error("gt-react Error: Cannot inject and merge a dictionary entry");const o=r.split("."),i=o.slice(0,-1),a=o[o.length-1];let s=e;return i.forEach(e=>{s=Ut(s,e)}),Gt(s,a,t),e}(e,Or(n,t),r)}function Ir(e,t,r=""){const n=[];return Object.entries(e).forEach(([e,o])=>{const i=r?`${r}.${e}`:e;if(kr(o)){const{entry:r,metadata:a}=ur(o);Ut(t,e)||n.push({source:r,metadata:{$id:i,$context:null==a?void 0:a.$context,$_hash:(null==a?void 0:a.$_hash)||""}})}else n.push(...Ir(o,Ut(t,e)||(Array.isArray(o)?[]:{}),i))}),n}function Pr({gt:e,translations:t,locale:r,defaultLocale:n,translationRequired:o,developmentApiEnabled:i,registerIcuForTranslation:a}){function s(t,r={}){if(!t||"string"!=typeof t)return null;const{$id:n,$context:o,$_hash:i}=r,a=E(r,["$id","$context","$_hash"]);return{id:n,context:o,_hash:i,variables:a,calculateHash:()=>Ht(Object.assign(Object.assign(Object.assign({source:t},o&&{context:o}),n&&{id:n}),{dataFormat:"ICU"})),renderMessage:(t,r)=>e.formatMessage(t,{locales:r,variables:a})}}function c(e,r,n){let o,i="";return r&&(o=null==t?void 0:t[r]),n&&void 0===o&&(i=n,o=null==t?void 0:t[n]),void 0===o&&(i=e(),o=null==t?void 0:t[i]),{translationEntry:o,hash:i}}return{_tFunction:(e,t={},l)=>{const u=s(e,t);if(!u)return"";const{id:d,context:f,_hash:h,calculateHash:p,renderMessage:v}=u;if(!o)return v(e,[n]);const{translationEntry:g,hash:y}=c(p,d,h);if(null===g)return v(e,[n]);if(g)try{return v(g,[r,n])}catch(t){return console.error(S(e,d),"Error: ",t),v(e,[n])}if(void 0!==(null==l?void 0:l[y])){if(null==l?void 0:l[y])try{return v(null==l?void 0:l[y],[r,n])}catch(t){console.error(S(e,d),"Error: ",t)}return v(e,[n])}return i?(a({source:e,targetLocale:r,metadata:Object.assign(Object.assign(Object.assign({},f&&{context:f}),d&&{id:d}),{hash:y||""})}),v(e,[n])):(console.warn(j(e,d,"t")),v(e,[n]))},_mFunction:(s,c={},l)=>{if(!s)return s;const u=br(s);if(!u||!u.$_hash||!u.$_source)return s;const{$_hash:d,$_source:f,$context:h,$hash:p,$id:v}=u,g=E(u,["$_hash","$_source","$context","$hash","$id"]),y=(t,r)=>e.formatMessage(t,{locales:r,variables:Object.assign(Object.assign({},g),c)});if(!o)return y(f,[n]);const _=null==t?void 0:t[u.$_hash];if(null===_)return y(f,[n]);if(_)try{return y(_,[r,n])}catch(e){return console.error(S(f,mr(s)),"Error: ",e),y(f,[n])}if(!i)return console.warn(j(f,mr(s),"m")),y(f,[n]);if(void 0!==(null==l?void 0:l[d])){if(null==l?void 0:l[d])try{return y(null==l?void 0:l[d],[r,n])}catch(e){console.error(S(f,mr(s)),"Error: ",e)}return y(f,[n])}return a({source:f,targetLocale:r,metadata:Object.assign(Object.assign({},h&&{context:h}),{hash:d})}),y(f,[n])},_filterMessagesForPreload:e=>{const t=[];for(let r of e){const{message:e}=r,n=E(r,["message"]),o=s(e,n);if(!o)continue;const{id:i,_hash:a,calculateHash:l}=o,{translationEntry:u,hash:d}=c(l,i,a);u||t.push(Object.assign(Object.assign({message:e},n),{$_hash:d}))}return t},_preloadMessages:e=>O(this,void 0,void 0,function*(){const t={};return yield Promise.all(e.map(e=>O(this,void 0,void 0,function*(){var{message:n}=e;const o=s(n,E(e,["message"]));if(!o)return;const{id:i,context:l,_hash:u,calculateHash:d}=o,{translationEntry:f,hash:h}=c(d,i,u);f&&(t[h]=f),t[h]=yield a({source:n,targetLocale:r,metadata:Object.assign(Object.assign(Object.assign({},l&&{context:l}),i&&{id:i}),{hash:h})})}))),t})}}function Mr(e,t,r,n,o,i,s,c,l){return a((a,s={})=>{if(!e)return"";const u=lr(e,a);if(!u)return console.warn(C(a)),"";if(!cr(u))return console.warn((e=>`Invalid dictionary entry found for id: "${e}"`)(a)),"";const{entry:d,metadata:f}=ur(u);if(!d||"string"!=typeof d)return"";const p=(e,t)=>h(e,{locales:t,variables:s});if(!i)return p(d,[o]);const v=lr(t||{},a);if(v&&cr(v)){const{entry:e}=ur(v);return p(e,[n,o])}let g=null==r?void 0:r[a],y="";const _=()=>Ht(Object.assign(Object.assign({source:d},(null==f?void 0:f.$context)&&{context:f.$context}),{id:a,dataFormat:"ICU"}));return g||(y=_(),g=null==r?void 0:r[y]),g?p(g,[n,o]):null===g?p(d,[o]):c?(l({source:d,targetLocale:n,metadata:Object.assign(Object.assign({},(null==f?void 0:f.$context)&&{context:f.$context}),{id:a,hash:y||_()})}),p(d,[o])):p(d,[o])},[e,t,r,n,o,i,c,l,s])}function Lr(e,t,r,n,o,i,s,c,l,u,d,f){return a((a,s,l={})=>{if(""===s)throw new Error("gt-react Error: You cannot provide an empty id to t.obj()");const h=Sr({dictionary:e,id:s});if(!h)return console.warn(C(s)),{};if(kr(h))return f(a,l);if(!c)return Cr(h);const p=function({dictionary:e,id:t,sourceDictionary:r}){if(""===t)return e;let n=e;const o=r,i=t.split(".");for(const e of i)void 0===Ut(n,e)&&(Array.isArray(Ut(o,e))?Gt(n,e,[]):Gt(n,e,{})),n=Ut(n,e);return n}({dictionary:t,id:s,sourceDictionary:t}),{dictionary:v,updateDictionary:g}=$r(structuredClone(h),s),y=Ir(v,p,s),{dictionary:_,updateDictionary:m}=function(e,t,r,n,o=""){let i=!1;const a=o?o.split("."):[];return n.forEach(({metadata:n})=>{const{$_hash:o,$id:s}=n,c=a.length>0?s.split(".").slice(a.length).join("."):s,l=lr(t,c);let u;kr(l)&&(u=ur(l).entry);const d=r[o]||u;d&&(Tr(d,t,c,e),i=!0)}),{dictionary:t,updateDictionary:i}}(v,structuredClone(p),o||{},y,s),b=function(e,t,r,n=""){const o=n?n.split("."):[];return r.forEach(({source:r,metadata:n})=>{const{$id:i}=n,a=o.length>0?i.split(".").slice(o.length).join("."):i,s=lr(t,a);let c;kr(s)&&(c=ur(s).entry),Tr(c||r,t,a,e)}),t}(v,structuredClone(_),y,s);return u&&Promise.allSettled(y.map(e=>O(this,void 0,void 0,function*(){const{source:t,metadata:r}=e,n=null==r?void 0:r.$id;return[n,yield d({source:t,targetLocale:i,metadata:Object.assign(Object.assign({},(null==r?void 0:r.$context)&&{context:r.$context}),{id:n,hash:null==r?void 0:r.$_hash})})]}))).then(t=>{const r=t.filter(e=>"fulfilled"===e.status).map(e=>e.value);r.length>0&&n(t=>function(e,t,r){return t.forEach(([t,n])=>{Tr(n,e,t,r)}),e}(t,r,e))}),g&&setTimeout(()=>{r(e=>Rr(e,v,s))},0),m&&setTimeout(()=>{n(e=>Or(e,_))},0),structuredClone(b)},[e,o,i,s,c,l,u,d,t])}function Dr({children:t,dictionary:r,dictionaryTranslations:n,translations:o,locale:a,region:l,_versionId:u,defaultLocale:d,translationRequired:h,dialectTranslationRequired:v,locales:g=[],renderSettings:y,projectId:_,devApiKey:b,runtimeUrl:x,developmentApiEnabled:w,resetLocaleCookieName:A,localeCookieName:E=xr,regionCookieName:O=wr,customMapping:B}){const[S,j]=i(o),[T,C]=i(a&&p(a,g,B)||"");s(()=>{var e;let t=null===(e=document.cookie.split("; ").find(e=>e.startsWith(`${E}=`)))||void 0===e?void 0:e.split("=")[1];t&&(t=F.resolveAliasLocale(t)),T&&t&&t!==T&&(document.cookie=`${E}=;path=/`)},[T,E]);const[R,I]=i(n||{}),[P,M]=i(r||{}),[L,D]=i(l);s(()=>{var e;const t=null===(e=document.cookie.split("; ").find(e=>e.startsWith(`${O}=`)))||void 0===e?void 0:e.split("=")[1];L&&t&&t!==L&&(document.cookie=`${O}=;path=/`)},[L,O]);const F=c(()=>new f({devApiKey:b,sourceLocale:d,targetLocale:T,projectId:_,baseUrl:x||void 0,customMapping:B}),[b,d,T,_,x,B]),{registerIcuForTranslation:H,registerJsxForTranslation:z}=$({gt:F,locale:T,versionId:u,runtimeUrl:x,setTranslations:j,defaultLocale:d,renderSettings:y,developmentApiEnabled:w}),{_tFunction:N,_mFunction:U,_filterMessagesForPreload:G,_preloadMessages:V}=Pr({gt:F,translations:S,locale:T,defaultLocale:d,translationRequired:h,developmentApiEnabled:w,registerIcuForTranslation:H}),K=Mr(P,R,S,T,d,h,v,w,H),W=Lr(P,R,M,I,S,T,d,h,v,w,H,K),J=!(h&&!S)&&T;return m(k.Provider,{value:{gt:F,registerIcuForTranslation:H,registerJsxForTranslation:z,setLocale:e=>{e=p(e,g,B)||T||d,e=F.resolveAliasLocale(e),document.cookie=`${E}=${e};path=/`,document.cookie=`${A}=true;path=/`,C(e),window.location.reload()},_tFunction:N,_mFunction:U,_filterMessagesForPreload:G,_preloadMessages:V,_dictionaryFunction:K,_dictionaryObjFunction:W,locale:T,locales:g,defaultLocale:d,region:L,setRegion:e=>{document.cookie=`${O}=${e||""};path=/`,D(e)},translations:S,translationRequired:h,dialectTranslationRequired:v,renderSettings:y,developmentApiEnabled:w},children:m(e.Suspense,{fallback:J&&t,children:J&&t})})}function Fr(e){var{children:t,branch:r}=e,n=E(e,["children","branch"]);const o=(r=null==r?void 0:r.toString())&&void 0!==n[r]?n[r]:t;return m(b,{children:o})}function Hr(e){var{children:t,n:r,locales:o}=e,i=E(e,["children","n","locales"]);const a=n(k);let s;a&&(o||(o=a.locale),s||(s=a.defaultLocale));const c=[...o?[o]:[],s||Wt];if("number"!=typeof r)throw new Error((e=>`<Plural> component with children "${e}" requires "n" option.`)(t));return m(b,{children:sr(r,c,i)||t})}var zr;Fr._gtt="branch",Hr._gtt="plural";const Nr=Number.POSITIVE_INFINITY,Ur=null!==(zr=globalThis.__DANGEROUS_USE_REGISTRY__)&&void 0!==zr?zr:globalThis.__DANGEROUS_USE_REGISTRY__=new Map;function Gr(e,t=new WeakSet){var r;const n=typeof e;if(null==e||"number"===n||"boolean"===n||"bigint"===n)return String(e);if("string"===n)return JSON.stringify(e);if("symbol"===n)return`:sym(${null!==(r=e.description)&&void 0!==r?r:""})`;if("function"===n)return`:fn(${e.name||"anon"})`;if(Array.isArray(e))return`[${e.map(e=>Gr(e,t)).join(",")}]`;if("object"===n){const r=e;if(t.has(r))return":circular";t.add(r);const n=Object.keys(r).sort().map(e=>`${JSON.stringify(e)}:${Gr(r[e],t)}`).join(",");return t.delete(r),`{${n}}`}return String(e)}function Vr(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e?String(e):Gr(e)}function Kr(e,t,r){const n=Ur,o=Date.now(),i=Nr,a=Vr(e),s=n.get(a);if(s&&s.expiresAt>o)return s.thenable;const c=function(e){const t=e;return null==t.status&&(t.status="pending",e.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e})),t}(t()),l={thenable:c,createdAt:o,expiresAt:o+i};if(n.set(a,l),i!==1/0){const e=()=>{const e=n.get(a);e&&e.thenable===c&&setTimeout(()=>{const e=n.get(a);e&&e.thenable===c&&n.delete(a)},Math.max(0,i))};c.then(e,e)}return c}function Wr(t){const{developmentApiEnabled:r,translationRequired:n,_preloadMessages:o,_filterMessagesForPreload:i,_tFunction:s,locale:c}=A("useGT(): No context provided. You're trying to get the gt() function from the useGT() hook, which can be called within a <GTProvider>.");let l;if(t&&Br&&r&&n){const r=i(t);r.length>0&&(l=e.use(Kr(["_preloadMessages",c,JSON.stringify(r)],()=>o(r))))}return a(function(e,t={}){return s(e,t,l)},[l,s])}function Jr(){return A("useDefaultLocale(): Unable to access default locale outside of a <GTProvider>").defaultLocale}function Yr(e){const t=t=>e?`${e}.${t}`:t,{_dictionaryFunction:r,_dictionaryObjFunction:n}=A(`useTranslations('${e}'): No context provided. You're trying to get the t() function on the client, which can only be done inside a <GTProvider>.`);function o(e,n={}){const o=t(e);return r(o,n)}return o.obj=function(e,r={}){const o=t(e);return n(e,o,r)},o}function Xr(){return A("useLocale(): Unable to access user's locale outside of a <GTProvider>").locale}function qr(e){var{children:r,id:n,context:o,_hash:i}=e,a=E(e,["children","id","context","_hash"]);if(!r)return;n=null!=n?n:null==a?void 0:a.$id,o=null!=o?o:null==a?void 0:a.$context;const{translations:s,translationRequired:l,developmentApiEnabled:d,dialectTranslationRequired:f,registerJsxForTranslation:h,renderSettings:p,locale:v,defaultLocale:g}=A("<T> used on the client-side outside of <GTProvider>"),y=c(()=>Qt(r),[r]);let _;n&&(_=null==s?void 0:s[n]),void 0===_&&i&&(_=null==s?void 0:s[i]);const[x,w]=c(()=>{if(!l||_)return[void 0,""];const e=ar(y);return[e,Ht(Object.assign(Object.assign(Object.assign({source:e},o&&{context:o}),n&&{id:n}),{dataFormat:"JSX"}))]},[y,o,n,l,_]);void 0===_&&(_=null==s?void 0:s[w]);const k=()=>pr({children:y,defaultLocale:g,renderVariable:L}),B=e=>gr({source:y,target:e,locales:[v,g],renderVariable:L});if(!l||s&&!_&&!d||null===_)return m(b,{children:k()});if(_)return m(u,{fallback:B(_),children:B(_)});const S=()=>O(this,void 0,void 0,function*(){if(!d||!v)return k();if(_)return B(_);try{const e=yield h({source:x,targetLocale:v,metadata:{id:n,hash:w,context:o}});return e?B(e):k()}catch(e){return console.warn(e),k()}});if(Br){const e=t.use(Kr(["getTranslationPromise",d,JSON.stringify(x),v,n,w,o],()=>S()));return m(u,{fallback:e,children:e})}let j;return j="skeleton"===p.method?"":"replace"===p.method||f?k():"",m(u,{fallback:j,children:S()})}function Zr(e){const{locales:t,locale:r,setLocale:n,gt:o}=A(),i=c(()=>{if(!t||0===t.length)return[];const e=t.sort((e,t)=>(new Intl.Collator).compare(o.getLocaleProperties(e).nativeNameWithRegionCode,o.getLocaleProperties(t).nativeNameWithRegionCode));return e},[t]),s=a(e=>o.getLocaleProperties(e),[o]);return{locale:r,locales:e||i,setLocale:n,getLocaleProperties:s}}function Qr(e){if(!e)return;const t={};for(const r in e)t[r]={name:e[r]};return t}function en(e){var{locales:t,customNames:r,customMapping:n=Qr(r)}=e,o=E(e,["locales","customNames","customMapping"]);const{locale:i,locales:a,setLocale:s,getLocaleProperties:c}=Zr(t||void 0),l=e=>{if(n&&n[e]){if("string"==typeof n[e])return n[e];if(n[e].name)return n[e].name}return(t=c(e).nativeNameWithRegionCode)?t.charAt(0).toUpperCase()+(t.length>1?t.slice(1):""):"";var t};return a&&0!==a.length&&s?x("select",Object.assign({},o,{value:i||"",onChange:e=>s(e.target.value),children:[!i&&m("option",{value:""}),a.map(e=>m("option",{value:e,suppressHydrationWarning:!0,children:l(e)},e))]})):null}function tn({regions:e,customMapping:t,prioritizeCurrentLocaleRegion:r=!0,sortRegionsAlphabetically:n=!0}={prioritizeCurrentLocaleRegion:!0,sortRegionsAlphabetically:!0}){const{locales:o,locale:i,setLocale:a,gt:s,region:l,setRegion:u}=A(),{regionCode:f}=s.getLocaleProperties(i),[h,p]=c(()=>{const a=new Map(o.map(e=>{const t=d(e,i,s.customMapping);return[t.regionCode,t]})),c=e?[...e]:Array.from((null==a?void 0:a.keys())||[f]),l=new Map(c.map(e=>{var r;return[e,Object.assign(Object.assign({locale:(null===(r=null==a?void 0:a.get(e))||void 0===r?void 0:r.code)||i},s.getRegionProperties(e)),"string"==typeof(null==t?void 0:t[e])?{name:null==t?void 0:t[e]}:null==t?void 0:t[e])]}));if(n&&c.sort((e,t)=>(new Intl.Collator).compare(l.get(e).name,l.get(t).name)),r){const e=c.indexOf(f);e>0&&(c.splice(e,1),c.unshift(f))}return[c,l]},[e,l,i,o,s]);return{region:l,setRegion:u,regions:h,regionData:p,locales:o,locale:i,localeRegion:f,setLocale:a}}function rn(e){var{regions:t,placeholder:r,customMapping:n,prioritizeCurrentLocaleRegion:o,sortRegionsAlphabetically:i,asLocaleSelector:a=!1}=e,s=E(e,["regions","placeholder","customMapping","prioritizeCurrentLocaleRegion","sortRegionsAlphabetically","asLocaleSelector"]);const{region:c,setRegion:l,regions:u,regionData:d,locale:f,setLocale:h}=tn({regions:t,customMapping:n,prioritizeCurrentLocaleRegion:o,sortRegionsAlphabetically:i});return x("select",Object.assign({},s,{value:c||"",onChange:e=>(e=>{if(l(e),a){const t=d.get(e).locale;f!==t&&h(t)}})(e.target.value),children:[!c&&m("option",{value:"",disabled:Boolean(c),hidden:Boolean(c),suppressHydrationWarning:!0,children:r||""},"placeholder"),u.map(e=>m("option",{value:e,suppressHydrationWarning:!0,children:d.get(e).name},e))]}))}function nn(){return!("undefined"==typeof process||!process.env.NEXT_RUNTIME)||void 0!==(null===globalThis||void 0===globalThis?void 0:globalThis.__NEXT_DATA__)}function on({locale:e="",defaultLocale:t=Wt,locales:r=[],localeCookieName:n=xr,ssr:o=!0,customMapping:a}){e=v(e,a),r=r.map(e=>v(e,a));const[c,l]=i(v(o?e&&p(e,r,a)||"":an({_locale:e,locale:e,locales:r,defaultLocale:t,localeCookieName:n,customMapping:a}),a)),[u,d]=function({locale:e,locales:t,defaultLocale:r,localeCookieName:n,_setLocale:o,customMapping:i}){e=v(e,i);const a=n=>{const a=v(p(n,t,i)||e||r,i);return a!==n&&console.warn(((e,t)=>`You are trying to switch to "${t}" which is not supported. Update the list of supported locales through your dashboard or your config.json file if you are using a config file. Falling back to "${e}".`)(a,n)),o(a),a},s=e=>{e=v(e);const t=a(e);"undefined"!=typeof document&&(document.cookie=`${n}=${t};path=/`)};return[s,a]}({locale:c,locales:r,defaultLocale:t,localeCookieName:n,_setLocale:l,customMapping:a});return s(()=>{const o=an({_locale:e,locale:c,locales:r,defaultLocale:t,localeCookieName:n,customMapping:a});d(o)},[e,c,r,t,n]),[c,u]}function an({_locale:e,locale:t,locales:r,defaultLocale:n,localeCookieName:o,customMapping:i}){var a;if(e&&e===t&&p(e,r,i)===t)return v(e,i);let s=(null===navigator||void 0===navigator?void 0:navigator.languages)?navigator.languages:(null===navigator||void 0===navigator?void 0:navigator.language)?[navigator.language]:(null===navigator||void 0===navigator?void 0:navigator.userLanguage)?[null===navigator||void 0===navigator?void 0:navigator.userLanguage]:[n];s=s.map(e=>v(e,i));let c="undefined"!=typeof document?null===(a=document.cookie.split("; ").find(e=>e.startsWith(`${o}=`)))||void 0===a?void 0:a.split("=")[1]:void 0;c&&(c=v(c,i));let l=p([...e?[e]:[],...c?[c]:[],...s],r,i)||n;return l&&(l=v(l,i)),c&&c!==l&&"undefined"!=typeof document&&(document.cookie=`${o}=${l};path=/`),l}function sn({devApiKey:e,projectId:t,runtimeUrl:r,loadTranslationsType:n,cacheUrl:o,locales:i}){s(()=>{if("production"===process.env.NODE_ENV&&e)throw new Error("gt-react Error: Production environments cannot include an api key.");if("custom"===n||!o&&!r||t||"development"!==process.env.NODE_ENV||console.warn("gt-react: Translation cloud services require a project ID! Find yours at generaltranslation.com/dashboard."),t&&r&&"custom"!==n&&!e&&"development"===process.env.NODE_ENV&&console.warn("gt-react: A development API key is required for runtime translation! Find your development API key: generaltranslation.com/dashboard. (Or, disable this warning message by setting runtimeUrl to an empty string which disables runtime translation.)"),r===Kt||o===Vt&&"default"===n){const e=i.filter(e=>!w(e));e.length&&console.warn((e=>`gt-react: The following locales are currently unsupported by our service: ${e.map(e=>{const{name:t}=d(e);return`${e} (${t})`}).join(", ")}`)(e))}},[e,n,o,r,t,i])}function cn(e,t){return O(this,void 0,void 0,function*(){const r=Array.from(new Set([e,d(e).languageCode]));for(const e of r)try{const r=yield t(e);if(r)return r}catch(e){}console.warn("gt-react Warning: No dictionary was found. Ensure you are either passing your dictionary to the <GTProvider>.")})}function ln({_translations:e,translationRequired:t,loadTranslationsType:r,loadTranslations:n,locale:o,cacheUrl:a,projectId:c,_versionId:l,gt:u}){const[d,f]=i(e||t&&"disabled"!==r?null:{});return s(()=>{f(t&&"disabled"!==r?null:{})},[o,r]),s(()=>{if(d||!t||"disabled"===r)return;let e=!0;return(()=>{O(this,void 0,void 0,function*(){let t;switch(r){case"custom":if(n)try{t=yield n(o)}catch(e){console.error(((e="")=>`gt-react Error: fetching locally stored translations. If you are using a custom loadTranslations(${e}), make sure it is correctly implemented.`)(o),e)}break;case"default":try{t=yield function(e){return O(this,arguments,void 0,function*({cacheUrl:e,projectId:t,locale:r,versionId:n,gt:o}){if(!t||!e||!r)return{};r=o.resolveCanonicalLocale(r);const i=yield fetch(n?`${e}/${t}/${r}/${n}`:`${e}/${t}/${r}`);return yield i.json()})}({cacheUrl:a,projectId:c,locale:o,versionId:l,gt:u})}catch(e){console.error(e)}}t||(t={}),e&&f(t)})})(),()=>{e=!1}},[d,t,r,a,c,o,l,u]),{translations:d,setTranslations:f}}function un({_region:e,regionCookieName:t}){var r;const n="undefined"!=typeof document?null===(r=document.cookie.split("; ").find(e=>e.startsWith(`${t}=`)))||void 0===r?void 0:r.split("=")[1]:void 0,o=e||n;return n&&n!==o&&"undefined"!=typeof document&&(document.cookie=`${t}=${o};path=/`),o}function dn(e){var{children:t,config:r,projectId:n=(null==r?void 0:r.projectId)||"",devApiKey:o=(null==r?void 0:r.devApiKey)||"",dictionary:a=(null==r?void 0:r.dictionary)||{},locales:l=(null==r?void 0:r.locales)||[],defaultLocale:d=(null==r?void 0:r.defaultLocale)||Wt,cacheUrl:h=(null==r?void 0:r.cacheUrl)||Vt,runtimeUrl:p=(null==r?void 0:r.runtimeUrl)||Kt,renderSettings:b=(null==r?void 0:r.renderSettings)||yr,ssr:x=(null==r?void 0:r.ssr)||nn(),localeCookieName:w=(null==r?void 0:r.localeCookieName)||xr,locale:A="",region:B,loadDictionary:S,loadTranslations:j,fallback:T,translations:C=null,_versionId:R,customMapping:I=(null==r?void 0:r.customMapping)}=e,P=E(e,["children","config","projectId","devApiKey","dictionary","locales","defaultLocale","cacheUrl","runtimeUrl","renderSettings","ssr","localeCookieName","locale","region","loadDictionary","loadTranslations","fallback","translations","_versionId","customMapping"]);A&&(A=v(A,I));const{projectId:M,devApiKey:L}=function(e,t){try{return{projectId:e||import.meta.env.VITE_GT_PROJECT_ID||import.meta.env.REDWOOD_ENV_GT_PROJECT_ID||"",devApiKey:t||import.meta.env.VITE_GT_DEV_API_KEY||import.meta.env.VITE_GT_API_KEY||import.meta.env.REDWOOD_ENV_GT_DEV_API_KEY||import.meta.env.REDWOOD_ENV_GT_API_KEY}}catch(e){}try{return{projectId:e||process.env.GT_PROJECT_ID||process.env.REACT_APP_GT_PROJECT_ID||process.env.NEXT_PUBLIC_GT_PROJECT_ID||process.env.GATSBY_GT_PROJECT_ID||"",devApiKey:t||process.env.GT_DEV_API_KEY||process.env.GT_API_KEY||process.env.REACT_APP_GT_DEV_API_KEY||process.env.REACT_APP_GT_API_KEY||process.env.NEXT_PUBLIC_GT_DEV_API_KEY||process.env.NEXT_PUBLIC_GT_API_KEY||process.env.GATSBY_GT_DEV_API_KEY||process.env.GATSBY_GT_API_KEY}}catch(e){console.error(e)}return{projectId:"",devApiKey:""}}(n,o),{locale:D,setLocale:F,locales:H,translationRequired:z,dialectTranslationRequired:N}=function({_locale:e,defaultLocale:t,locales:r,ssr:n,localeCookieName:o,customMapping:i}){const a=c(()=>Array.from(new Set([t,...r])),[t,r]),[s,l]=on({locale:e,defaultLocale:t,locales:a,ssr:n,localeCookieName:o,customMapping:i}),[u,d]=c(()=>{const e=g(t,s,a,i),r=e&&y(t,s);if(!i){const e=[];if(a.forEach(t=>{_(t)||e.push(t)}),e.length)throw new Error((e=>`gt-react Error: You are using invalid locale codes in your configuration. You must either specify a list of valid locales or use "customMapping" to specify aliases for the following invalid locales: ${e.join(", ")}.`)(e))}if(i){const e=[];if(a.forEach(t=>{_(t,i)||e.push(t)}),e.length)throw new Error((e=>`gt-react Error: You are using invalid canonical locale codes in your configuration: ${e.join(", ")}.`)(e))}return[e,r]},[t,s,a]);return{locale:s,setLocale:l,locales:a,translationRequired:u,dialectTranslationRequired:d}}({_locale:A,defaultLocale:d,locales:l,ssr:x,localeCookieName:w,customMapping:I}),{region:U,setRegion:G}=function({_region:e,ssr:t,regionCookieName:r}){const[n,o]=i(t?void 0:un({_region:e,regionCookieName:r}));return s(()=>{o(un({_region:e,regionCookieName:r}))},[e,r]),{region:n,setRegion:e=>{o(e),"undefined"!=typeof document&&(document.cookie=`${r}=${e||""};path=/`)}}}({_region:B,ssr:x,regionCookieName:wr}),V=c(()=>new f({devApiKey:L,sourceLocale:d,targetLocale:D,projectId:M,baseUrl:p,customMapping:I}),[L,d,M,p,I]),K=(j?"custom":h&&M&&"default")||"disabled",{dictionary:W,setDictionary:J,dictionaryTranslations:Y,setDictionaryTranslations:X}=function({_dictionary:e,_dictionaryTranslations:t={},loadDictionary:r,locale:n,defaultLocale:o}){const[a,c]=i(e),[l,u]=i(t);return s(()=>{if(!r)return;let e=!0;return(()=>{O(this,void 0,void 0,function*(){const t=(yield cn(o,r))||{},i=(yield cn(n,r))||{};e&&c(t||{}),e&&u(i||{})})})(),()=>{e=!1}},[r,n,o]),{dictionary:a,setDictionary:c,dictionaryTranslations:l,setDictionaryTranslations:u}}({_dictionary:a,_dictionaryTranslations:{},loadDictionary:S,locale:D,defaultLocale:d});sn({devApiKey:L,projectId:M,runtimeUrl:p,loadTranslationsType:K,cacheUrl:h,locales:l});const{translations:q,setTranslations:Z}=ln({_translations:C,translationRequired:z,loadTranslationsType:K,loadTranslations:j,locale:D,cacheUrl:h,projectId:M,_versionId:R,gt:V}),{registerIcuForTranslation:Q,registerJsxForTranslation:ee,developmentApiEnabled:te}=$(Object.assign({gt:V,locale:D,versionId:R,defaultLocale:d,runtimeUrl:p,renderSettings:b,setTranslations:Z},P)),{_tFunction:re,_mFunction:ne,_filterMessagesForPreload:oe,_preloadMessages:ie}=Pr({gt:V,translations:q,locale:D,defaultLocale:d,translationRequired:z,developmentApiEnabled:te,registerIcuForTranslation:Q}),ae=Mr(W,Y,q,D,d,z,N,te,Q),se=Lr(W||{},Y||{},J,X,q,D,d,z,N,te,Q,ae),ce=!(z&&!q||!D);return m(k.Provider,{value:{gt:V,registerIcuForTranslation:Q,registerJsxForTranslation:ee,_tFunction:re,_mFunction:ne,_filterMessagesForPreload:oe,_preloadMessages:ie,_dictionaryFunction:ae,_dictionaryObjFunction:se,developmentApiEnabled:te,locale:D,locales:H,setLocale:F,defaultLocale:d,region:U,setRegion:G,translations:q,translationRequired:z,dialectTranslationRequired:N,projectId:M,renderSettings:b},children:m(u,{fallback:T,children:ce?t:T})})}function fn(){const{setLocale:e}=A("setLocale(): Unable to access user's locale outside of a <GTProvider>");return e}function hn(){return A("useLocales(): Unable to access configured locales outside of a <GTProvider>").locales}function pn(){return A("useGTClass(): Unable to access configured GT class instance outside of a <GTProvider>").gt}function vn(e){return pn().getLocaleProperties(e)}function gn(){return A("useRegion(): Unable to access user's region outside of a <GTProvider>").region}function yn(e){const{gt:t}=A("useLocaleDirection(): Unable to access configured GT class instance outside of a <GTProvider>");return t.getLocaleDirection(e)}function _n(t){const{developmentApiEnabled:r,translationRequired:n,_preloadMessages:o,_filterMessagesForPreload:i,_mFunction:s,locale:c}=A("useMessages(): No context provided. You're trying to get the m() function from the useMessages() hook, which can be called within a <GTProvider>.");let l;if(t&&Br&&r&&n){const r=i(t);r.length>0&&(l=e.use(Kr(["_preloadMessages",c,JSON.stringify(r)],()=>o(r))))}return a(function(e,t={}){return s(e,t,l)},[l,s])}qr._gtt="translate-client";export{Fr as Branch,Dr as ClientProvider,P as Currency,M as DateTime,k as GTContext,dn as GTProvider,en as LocaleSelector,R as Num,Hr as Plural,rn as RegionSelector,qr as T,I as Var,mr as decodeMsg,br as decodeOptions,_r as msg,L as renderVariable,Jr as useDefaultLocale,Wr as useGT,pn as useGTClass,Xr as useLocale,yn as useLocaleDirection,vn as useLocaleProperties,Zr as useLocaleSelector,hn as useLocales,_n as useMessages,gn as useRegion,tn as useRegionSelector,$ as useRuntimeTranslation,fn as useSetLocale,Yr as useTranslations};
14
+ * Counter block mode compatible with Dr Brian Gladman fileenc.c
15
+ * derived from CryptoJS.mode.CTR
16
+ * Jan Hruby jhruby.web@gmail.com
17
+ */
18
+ t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function r(t){if(255&~(t>>24))t+=1<<24;else{var e=t>>16&255,r=t>>8&255,n=255&t;255===e?(e=0,255===r?(r=0,255===n?n=0:++n):++r):++e,t=0,t+=e<<16,t+=r<<8,t+=n}return t}function n(t){return 0===(t[0]=r(t[0]))&&(t[1]=r(t[1])),t}var o=e.Encryptor=e.extend({processBlock:function(t,e){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;c<o;c++)t[e+c]^=s[c]}});return e.Decryptor=o,e}(),t.mode.CTRGladman)),wt.exports;var t}(),function(){return bt||(bt=1,Bt.exports=(r=A(),vt(),r.mode.OFB=(e=(t=r.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)t[e+a]^=i[a]}}),t.Decryptor=e,t),r.mode.OFB)),Bt.exports;var t,e,r}(),function(){return kt?Mt.exports:(kt=1,Mt.exports=(e=A(),vt(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t),e.mode.ECB));var t,e}(),function(){return St?Rt.exports:(St=1,Rt.exports=(t=A(),vt(),t.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,o=n-r%n,i=r+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923));var t}(),function(){return At?Dt.exports:(At=1,Dt.exports=(t=A(),vt(),t.pad.Iso10126={pad:function(e,r){var n=4*r,o=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126));var t}(),function(){return Et?Ft.exports:(Et=1,Ft.exports=(t=A(),vt(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971));var t}(),function(){return Ct||(Ct=1,jt.exports=(t=A(),vt(),t.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},t.pad.ZeroPadding)),jt.exports;var t}(),function(){return Ht?Pt.exports:(Ht=1,Pt.exports=(t=A(),vt(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return zt?It.exports:(zt=1,It.exports=(n=A(),vt(),e=(t=n).lib.CipherParams,r=t.enc.Hex,t.format.Hex={stringify:function(t){return t.ciphertext.toString(r)},parse:function(t){var n=r.parse(t);return e.create({ciphertext:n})}},n.format.Hex));var t,e,r,n}(),function(){return Ot||(Ot=1,Lt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],c=[],l=[],u=[],f=[],h=[],d=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,o[r]=p,i[p]=r;var v=t[r],y=t[v],g=t[y],_=257*t[p]^16843008*p;a[r]=_<<24|_>>>8,s[r]=_<<16|_>>>16,c[r]=_<<8|_>>>24,l[r]=_,_=16843009*g^65537*y^257*v^16843008*r,u[p]=_<<24|_>>>8,f[p]=_<<16|_>>>16,h[p]=_<<8|_>>>24,d[p]=_,r?(r=v^t[t[t[g^v]]],n^=t[t[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=e[a]:(l=i[a-1],a%r?r>6&&a%r==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=o[(l=l<<8|l>>>24)>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=p[a/r|0]<<24),i[a]=i[a-r]^l);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var l=i[a];else l=i[a-4];s[c]=c<4||a<=4?l:u[o[l>>>24]]^f[o[l>>>16&255]]^h[o[l>>>8&255]]^d[o[255&l]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,s,c,l,o)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,f,h,d,i),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,o,i,a,s){for(var c=this._nRounds,l=t[e]^r[0],u=t[e+1]^r[1],f=t[e+2]^r[2],h=t[e+3]^r[3],d=4,p=1;p<c;p++){var v=n[l>>>24]^o[u>>>16&255]^i[f>>>8&255]^a[255&h]^r[d++],y=n[u>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&l]^r[d++],g=n[f>>>24]^o[h>>>16&255]^i[l>>>8&255]^a[255&u]^r[d++],_=n[h>>>24]^o[l>>>16&255]^i[u>>>8&255]^a[255&f]^r[d++];l=v,u=y,f=g,h=_}v=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[d++],y=(s[u>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^r[d++],g=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^r[d++],_=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&f])^r[d++],t[e]=v,t[e+1]=y,t[e+2]=g,t[e+3]=_},keySize:8});e.AES=r._createHelper(v)}(),t.AES)),Lt.exports;var t}(),function(){return $t||($t=1,Tt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib,n=r.WordArray,o=r.BlockCipher,i=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=i.DES=o.extend({_doReset:function(){for(var t=this._key.words,e=[],r=0;r<56;r++){var n=a[r]-1;e[r]=t[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],u=c[i];for(r=0;r<24;r++)l[r/6|0]|=e[(s[r]-1+u)%28]<<31-r%6,l[4+(r/6|0)]|=e[28+(s[r+24]-1+u)%28]<<31-r%6;for(l[0]=l[0]<<1|l[0]>>>31,r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=o[15-r]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,r){this._lBlock=t[e],this._rBlock=t[e+1],h.call(this,4,252645135),h.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^o[c])&u[c])>>>0];this._lBlock=a,this._rBlock=i^s}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,h.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(t,e){var r=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=r,this._lBlock^=r<<t}function d(t,e){var r=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=r,this._rBlock^=r<<t}e.DES=o._createHelper(f);var p=i.TripleDES=o.extend({_doReset:function(){var t=this._key.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var e=t.slice(0,2),r=t.length<4?t.slice(0,2):t.slice(2,4),o=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=f.createEncryptor(n.create(e)),this._des2=f.createEncryptor(n.create(r)),this._des3=f.createEncryptor(n.create(o))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),t.TripleDES)),Tt.exports;var t}(),function(){return Wt||(Wt=1,Jt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=n.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=e[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+t[e=(e+1)%256])%256;var i=t[e];t[e]=t[r],t[r]=i,n|=t[(t[e]+t[r])%256]<<24-8*o}return this._i=e,this._j=r,n}e.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4)),Jt.exports;var t}(),function(){return Ut||(Ut=1,qt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(e){var i=e.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&u,h=u<<16|65535&l;for(o[0]^=l,o[1]^=f,o[2]^=u,o[3]^=h,o[4]^=l,o[5]^=f,o[6]^=u,o[7]^=h,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^l}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),qt.exports;var t}(),function(){return Nt||(Nt=1,Gt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(e){var i=e.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&u,h=u<<16|65535&l;for(n[0]^=l,n[1]^=f,n[2]^=u,n[3]^=h,n[4]^=l,n[5]^=f,n[6]^=u,n[7]^=h,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^l}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Gt.exports;var t}(),function(){return Kt||(Kt=1,Vt.exports=(t=A(),F(),W(),ht(),vt(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo;const o=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function c(t,e){let r=e>>24&255,n=e>>16&255,o=e>>8&255,i=255&e,a=t.sbox[0][r]+t.sbox[1][n];return a^=t.sbox[2][o],a+=t.sbox[3][i],a}function l(t,e,r){let n,i=e,a=r;for(let e=0;e<o;++e)i^=t.pbox[e],a=c(t,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=t.pbox[o],i^=t.pbox[17],{left:i,right:a}}var u=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4;!function(t,e,r){for(let e=0;e<4;e++){t.sbox[e]=[];for(let r=0;r<256;r++)t.sbox[e][r]=a[e][r]}let n=0;for(let o=0;o<18;o++)t.pbox[o]=i[o]^e[n],n++,n>=r&&(n=0);let o=0,s=0,c=0;for(let e=0;e<18;e+=2)c=l(t,o,s),o=c.left,s=c.right,t.pbox[e]=o,t.pbox[e+1]=s;for(let e=0;e<4;e++)for(let r=0;r<256;r+=2)c=l(t,o,s),o=c.left,s=c.right,t.sbox[e][r]=o,t.sbox[e][r+1]=s}(s,e,r)}},encryptBlock:function(t,e){var r=l(s,t[e],t[e+1]);t[e]=r.left,t[e+1]=r.right},decryptBlock:function(t,e){var r=function(t,e,r){let n,o=e,i=r;for(let e=17;e>1;--e)o^=t.pbox[e],i=c(t,o)^i,n=o,o=i,i=n;return n=o,o=i,i=n,i^=t.pbox[1],o^=t.pbox[0],{left:o,right:i}}(s,t[e],t[e+1]);t[e]=r.left,t[e+1]=r.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=r._createHelper(u)}(),t.Blowfish)),Vt.exports;var t}())),B.exports),ie=x(oe);"function"==typeof SuppressedError&&SuppressedError;const ae="@generaltranslation/react-core";function se(t){if("string"==typeof t)return!0;if(Array.isArray(t)){if("string"!=typeof t?.[0])return!1;const e=t?.[1];if(void 0===e)return!0;if(e&&"object"==typeof e)return!0}return!1}function ce(t,e){let r=t;const n=e.split(".");for(const t of n){if("object"!=typeof r&&!Array.isArray(r))return;r=p(r,t)}return r}function le(t){if(Array.isArray(t)){if(1===t.length)return{entry:t[0]};if(2===t.length)return{entry:t[0],metadata:t[1]}}return{entry:t}}"undefined"!=typeof process&&process.env.NODE_ENV;function ue(t){return void 0!==t&&("string"==typeof t||!!Array.isArray(t)&&(1===t.length||2===t.length)&&"string"==typeof t[0]&&(2!==t.length||"object"==typeof t[1]&&null!==t[1]&&("$context"in t[1]||"$_hash"in t[1])))}const fe=t=>"string"==typeof t||Array.isArray(t),he=t=>"object"==typeof t&&null!==t&&!Array.isArray(t);function de(t,e){if(Array.isArray(t))return t.map((t,r)=>ue(t)?e[r]:de(t,e[r]));const r={...Object.fromEntries(Object.entries(t).filter(([,t])=>fe(t))),...Object.fromEntries(Object.entries(e).filter(([,t])=>fe(t)))},n=Object.entries(t).filter(([,t])=>he(t)).map(([t])=>t),o=Object.entries(e).filter(([,t])=>he(t)).map(([t])=>t),i=new Set([...n,...o]);for(const n of i)r[n]=de(p(t,n)||{},p(e,n)||{});return r}function pe({dictionary:t,id:e}){if(""===e)return t;let r=t;const n=e.split(".");for(const t of n)r=p(r,t);return r}function ve({dictionary:t,id:e,sourceDictionary:r}){if(""===e)return t;let n=t;const o=r,i=e.split(".");for(const t of i)void 0===p(n,t)&&(Array.isArray(p(o,t))?v(n,t,[]):v(n,t,{})),n=p(n,t);return n}const ye=["constructor","prototype","__proto__"];function ge(t,e,r,n){if(ue(e))return t;const o=r.split(".");o.forEach(t=>{if(function(t){return!!ye.includes(t)}(t))throw new Error(`Invalid key: ${t}`)}),e||={};for(const t of o.slice(0,-1))null==p(e,t)&&v(e,t,Array.isArray(p(n,t))?[]:{}),e=p(e,t),n=p(n,t);v(e,o[o.length-1],t)}function _e(t){let e={};return Array.isArray(t)&&(e=[]),Object.entries(t).forEach(([t,r])=>{if(ue(r)){const{entry:n}=le(r);v(e,t,n)}else v(e,t,_e(r))}),e}var xe=function(){return xe=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},xe.apply(this,arguments)};function me(t){return ie.SHA256(t).toString(ie.enc.Hex).slice(0,16)}function we(t,e){var r=t.source,n=t.context,o=t.id,i=t.dataFormat;void 0===e&&(e=me);var a={};return a.source="JSX"===i?Be(r):r,a=xe(xe(xe(xe({},a),o&&{id:o}),n&&{context:n}),i&&{dataFormat:i}),e(b(a))}"function"==typeof SuppressedError&&SuppressedError;var be=function(t){if(t&&"object"==typeof t){var e={};if("c"in t&&t.c&&(e.c=Be(t.c)),"d"in t){var r=null==t?void 0:t.d;(null==r?void 0:r.b)&&(e.b=Object.fromEntries(Object.entries(r.b).map(function(t){return[t[0],Be(t[1])]}))),(null==r?void 0:r.t)&&(e.t=r.t)}return function(t){var e=t;if(e&&"object"==typeof e&&"string"==typeof e.k){var r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(t)?xe({k:t.k},t.v&&{v:t.v}):e}return t};function Be(t){return Array.isArray(t)?t.map(be):be(t)}function ke(t,e=""){let r=!1;return Object.entries(t).forEach(([n,o])=>{const i=e?`${e}.${n}`:n;if(ue(o)){let{entry:e,metadata:a}=le(o);a?.$_hash||(a||={},a.$_hash=we({source:e,...a?.$context&&{context:a.$context},id:i,dataFormat:"ICU"}),v(t,n,[e,a]),r=!0)}else{const{updateDictionary:t}=ke(o,i);r=r||t}}),{dictionary:t,updateDictionary:r}}const Se=`${ae} Error: Fetching batched translations failed`,Ae=(t,e)=>t?`${ae} Error: Translation failed for id: ${t}, hash: ${e} `:`${ae} Error: Translation failed for hash: ${e}`,Ee=(t,e)=>`${ae} Error: error rendering string ${e?`for id: "${e}"`:""} original message: "${t}"`,Ce=(t,e,r="tx")=>`${ae} Error: string translation error. ${r}("${t}")${e?` with id "${e}"`:""} could not locate translation.`,He=t=>`${ae} Error: Dictionary subtree not found for id: "${t}"`,ze=t=>`${ae} Warning: No valid dictionary entry found for id: "${t}"`,Oe=`${ae} Warning: Runtime translation timed out.`;function $e(t,e,r){const n=pe({dictionary:t,id:r});if(!n)throw new Error(He(r));if(ue(n))throw new Error(`${ae} Error: Cannot inject and merge a dictionary entry`);return function(t,e,r){const n=ce(t,r);if(!n)throw new Error(He(r));if(ue(n))throw new Error(`${ae} Error: Cannot inject and merge a dictionary entry`);const o=r.split("."),i=o.slice(0,-1),a=o[o.length-1];let s=t;return i.forEach(t=>{s=p(s,t)}),v(s,a,e),t}(t,de(n,e),r)}function Me(t,e,r=""){const n=[];return Object.entries(t).forEach(([t,o])=>{const i=r?`${r}.${t}`:t;if(ue(o)){const{entry:r,metadata:a}=le(o);p(e,t)||n.push({source:r,metadata:{$id:i,$context:a?.$context,$_hash:a?.$_hash||""}})}else n.push(...Me(o,p(e,t)||(Array.isArray(o)?[]:{}),i))}),n}const Re=n(void 0);function De(t){return t&&-1!==t.lastIndexOf(":")?t.slice(0,t.lastIndexOf(":")):t}function Fe({gt:t,translations:e,locale:r,defaultLocale:n,translationRequired:o,developmentApiEnabled:i,registerIcuForTranslation:a}){function s(e,r={}){if(!e||"string"!=typeof e)return null;const{$id:n,$context:o,$_hash:i,...a}=r;return{id:n,context:o,_hash:i,variables:a,calculateHash:()=>we({source:e,...o&&{context:o},...n&&{id:n},dataFormat:"ICU"}),renderMessage:(e,r)=>t.formatMessage(e,{locales:r,variables:a})}}function c(t,r,n){let o,i="";return r&&(o=e?.[r]),n&&void 0===o&&(i=n,o=e?.[n]),void 0===o&&(i=t(),o=e?.[i]),{translationEntry:o,hash:i}}return{_tFunction:(t,e={},l)=>{const u=s(t,e);if(!u)return"";const{id:f,context:h,_hash:d,calculateHash:p,renderMessage:v}=u;if(!o)return v(t,[n]);const{translationEntry:y,hash:g}=c(p,f,d);if(null===y)return v(t,[n]);if(y)try{return v(y,[r,n])}catch(e){return console.error(Ee(t,f),"Error: ",e),v(t,[n])}if(void 0!==l?.[g]){if(l?.[g])try{return v(l?.[g],[r,n])}catch(e){console.error(Ee(t,f),"Error: ",e)}return v(t,[n])}return i?(a({source:t,targetLocale:r,metadata:{...h&&{context:h},...f&&{id:f},hash:g||""}}),v(t,[n])):(console.warn(Ce(t,f,"t")),v(t,[n]))},_mFunction:(s,c={},l)=>{if(!s)return s;const u=function(t){if(-1===t.lastIndexOf(":"))return null;const e=t.slice(t.lastIndexOf(":")+1);try{const t=JSON.parse(function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"base64").toString("utf8");for(var e=atob(t),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return(new TextDecoder).decode(r)}(e));return t}catch{return null}}(s);if(!u||!u.$_hash||!u.$_source)return s;const{$_hash:f,$_source:h,$context:d,$hash:p,$id:v,...y}=u,g=(e,r)=>t.formatMessage(e,{locales:r,variables:{...y,...c}});if(!o)return g(h,[n]);const _=e?.[u.$_hash];if(null===_)return g(h,[n]);if(_)try{return g(_,[r,n])}catch(t){return console.error(Ee(h,De(s)),"Error: ",t),g(h,[n])}if(!i)return console.warn(Ce(h,De(s),"m")),g(h,[n]);if(void 0!==l?.[f]){if(l?.[f])try{return g(l?.[f],[r,n])}catch(t){console.error(Ee(h,De(s)),"Error: ",t)}return g(h,[n])}return a({source:h,targetLocale:r,metadata:{...d&&{context:d},hash:f}}),g(h,[n])},_filterMessagesForPreload:t=>{const e=[];for(const{message:r,...n}of t){const t=s(r,n);if(!t)continue;const{id:o,_hash:i,calculateHash:a}=t,{translationEntry:l,hash:u}=c(a,o,i);l||e.push({message:r,...n,$_hash:u})}return e},_preloadMessages:async t=>{const e={};return await Promise.all(t.map(async({message:t,...n})=>{const o=s(t,n);if(!o)return;const{id:i,context:l,_hash:u,calculateHash:f}=o,{translationEntry:h,hash:d}=c(f,i,u);h&&(e[d]=h),e[d]=await a({source:t,targetLocale:r,metadata:{...l&&{context:l},...i&&{id:i},hash:d}})})),e}}}function je(t,e,r,n,o,i,s,c,l,u,f,h){return a((a,s,l={})=>{if(""===s)throw new Error(`${ae} Error: You cannot provide an empty id to t.obj()`);const d=pe({dictionary:t,id:s});if(!d)return console.warn(ze(s)),{};if(ue(d))return h(a,l);if(!c)return _e(d);const p=ve({dictionary:e,id:s,sourceDictionary:e}),{dictionary:v,updateDictionary:y}=ke(structuredClone(d),s),g=Me(v,p,s),{dictionary:_,updateDictionary:x}=function(t,e,r,n,o=""){let i=!1;const a=o?o.split("."):[];return n.forEach(({metadata:n})=>{const{$_hash:o,$id:s}=n,c=a.length>0?s.split(".").slice(a.length).join("."):s,l=ce(e,c);let u;ue(l)&&(u=le(l).entry);const f=r[o]||u;f&&(ge(f,e,c,t),i=!0)}),{dictionary:e,updateDictionary:i}}(v,structuredClone(p),o||{},g,s),m=function(t,e,r,n=""){const o=n?n.split("."):[];return r.forEach(({source:r,metadata:n})=>{const{$id:i}=n,a=o.length>0?i.split(".").slice(o.length).join("."):i,s=ce(e,a);let c;ue(s)&&(c=le(s).entry),ge(c||r,e,a,t)}),e}(v,structuredClone(_),g,s);return u&&Promise.allSettled(g.map(async t=>{const{source:e,metadata:r}=t,n=r?.$id;return[n,await f({source:e,targetLocale:i,metadata:{...r?.$context&&{context:r.$context},id:n,hash:r?.$_hash}})]})).then(e=>{const r=e.filter(t=>"fulfilled"===t.status).map(t=>t.value);r.length>0&&n(e=>function(t,e,r){return e.forEach(([e,n])=>{ge(n,t,e,r)}),t}(e,r,t))}),y&&setTimeout(()=>{r(t=>$e(t,v,s))},0),x&&setTimeout(()=>{n(t=>de(t,_))},0),structuredClone(m)},[t,o,i,s,c,l,u,f,e])}function Pe({children:e,dictionary:n,dictionaryTranslations:h,translations:d,locale:p,region:v,_versionId:y,defaultLocale:g,translationRequired:_,dialectTranslationRequired:x,locales:m=[],renderSettings:w,projectId:b,devApiKey:B,runtimeUrl:k,developmentApiEnabled:S,resetLocaleCookieName:A,localeCookieName:E="generaltranslation.locale",regionCookieName:C="generaltranslation.region",customMapping:H}){const[z,O]=i(d),[$,M]=i(p&&u(p,m,H)||"");s(()=>{var t;let e=null===(t=document.cookie.split("; ").find(t=>t.startsWith(`${E}=`)))||void 0===t?void 0:t.split("=")[1];e&&(e=L.resolveAliasLocale(e)),$&&e&&e!==$&&(document.cookie=`${E}=;path=/`)},[$,E]);const[R,D]=i(h||{}),[F,j]=i(n||{}),[P,I]=i(v);s(()=>{var t;const e=null===(t=document.cookie.split("; ").find(t=>t.startsWith(`${C}=`)))||void 0===t?void 0:t.split("=")[1];P&&e&&e!==P&&(document.cookie=`${C}=;path=/`)},[P,C]);const L=c(()=>new f({devApiKey:B,sourceLocale:g,targetLocale:$,projectId:b,baseUrl:k||void 0,customMapping:H}),[B,g,$,b,k,H]),{registerIcuForTranslation:T,registerJsxForTranslation:W}=function({gt:t,locale:e,versionId:r,defaultLocale:n,runtimeUrl:l,renderSettings:u,setTranslations:f,...h}){const d=!!t.projectId&&!!l&&!!t.devApiKey&&"undefined"!=typeof process&&"development"===process.env.NODE_ENV;if(!d){const t=t=>Promise.reject(new Error(`${t}() failed because translation is disabled`));return{developmentApiEnabled:d,registerIcuForTranslation:()=>t("registerIcuForTranslation"),registerJsxForTranslation:()=>t("registerJsxForTranslation")}}const p=o({gt:t,locale:e,baseMetadata:{...h,projectId:t.projectId,sourceLocale:n},timeout:u.timeout});p.current.gt=t,p.current.locale=e,p.current.baseMetadata={...h,projectId:t.projectId,sourceLocale:n},p.current.timeout=u.timeout;const v=o(!1),y=o(null),[g,_]=i(0),x=a(t=>{f(e=>{const r=Object.keys(t);if(0===r.length)return e;const n=e?{...e}:{};let o=!1;for(const i of r){const r=t[i],a=e?.[i];Object.is(a,r)||(n[i]=r,o=!0)}return o?n:e})},[f]),m=a(t=>{y.current={...y.current??{},...t},v.current&&_(t=>t+1)},[]);s(()=>{if(v.current=!0,y.current){const t=y.current;y.current=null,x(t)}return()=>{v.current=!1}},[x]),s(()=>{if(!v.current)return;const t=y.current;t&&(y.current=null,x(t))},[g,x]);const w=o(0),b=o(new Map),B=o(new Map),k=a(async t=>{if(0===t.size)return{};w.current+=1;const{gt:e,locale:r,baseMetadata:n,timeout:o}=p.current,i=Array.from(t.values()),a={},s=new Map;try{(await e.translateMany(i,{...n,targetLocale:r,timeout:o})).forEach((t,e)=>{const r=i[e],{hash:n,id:o}=r.metadata;if("translation"in t){const e=t.translation;a[n]=e,s.set(n,e)}else if("error"in t){const e=Ae(o,n);console.warn(`${e} ${t.error||"An upstream error occurred."}`),a[n]=null,s.set(n,null)}else{const e=Ae(o,n);console.warn(`${e} Unknown response format.`,t),a[n]=null,s.set(n,null)}})}catch(t){"AbortError"===t?.name?console.warn(Oe):console.warn(Se,t),i.forEach(t=>{a[t.metadata.hash]=null,s.set(t.metadata.hash,null)})}finally{w.current-=1,i.forEach(t=>{const e=s.get(t.metadata.hash);void 0===e?(console.warn(`No translation result for ${t.metadata.hash}; resolving as null.`),t.resolve(null)):t.resolve(e)})}return a},[]),S=o(null),A=o(async()=>{}),E=a(t=>{m(t),b.current.size>0&&(S.current=setTimeout(()=>{S.current=null,A.current()},50))},[m]),C=a(()=>{A.current=async()=>{if(w.current>=100)return void(S.current=setTimeout(()=>{S.current=null,A.current()},50));const t=b.current;if(0===t.size)return;const e=Array.from(t.entries()).slice(0,Math.min(25,t.size)),r=new Map(e);e.forEach(([e])=>t.delete(e));const n=await k(r);E(n)}},[k,E]),H=a((t=!1)=>{if(C(),t)return S.current&&(clearTimeout(S.current),S.current=null),void A.current();S.current||(S.current=setTimeout(()=>{S.current=null,A.current()},50))},[C]),z=a(t=>e=>{const r=`${e.metadata.hash}:${e.targetLocale}`,n=B.current.get(r);if(n)return n;const o=new Promise(n=>{const o="JSX"===t?{dataFormat:"JSX",source:e.source,metadata:e.metadata,resolve:n,reject:()=>{}}:{dataFormat:"ICU",source:e.source,metadata:e.metadata,resolve:n,reject:()=>{}};b.current.set(r,o);const i=b.current.size>=25&&w.current<100;H(i)}).finally(()=>{B.current.delete(r)});return B.current.set(r,o),o},[H]),O=c(()=>z("ICU"),[z]),$=c(()=>z("JSX"),[z]);return s(()=>()=>{S.current&&clearTimeout(S.current)},[]),{developmentApiEnabled:d,registerIcuForTranslation:O,registerJsxForTranslation:$}}({gt:L,locale:$,versionId:y,runtimeUrl:k,setTranslations:O,defaultLocale:g,renderSettings:w,developmentApiEnabled:S}),{_tFunction:U,_mFunction:N,_filterMessagesForPreload:K,_preloadMessages:X}=Fe({gt:L,translations:z,locale:$,defaultLocale:g,translationRequired:_,developmentApiEnabled:S,registerIcuForTranslation:T}),J=function(t,e,r,n,o,i,s,c,u){return a((a,s={})=>{if(!t)return"";const f=ce(t,a);if(!f)return console.warn(ze(a)),"";if(!se(f))return console.warn((t=>`${ae} Warning: Invalid dictionary entry found for id: "${t}"`)(a)),"";const{entry:h,metadata:d}=le(f);if(!h||"string"!=typeof h)return"";const p=(t,e)=>l(t,{locales:e,variables:s});if(!i)return p(h,[o]);const v=ce(e||{},a);if(v&&se(v)){const{entry:t}=le(v);return p(t,[n,o])}let y=r?.[a],g="";const _=()=>we({source:h,...d?.$context&&{context:d.$context},id:a,dataFormat:"ICU"});return y||(g=_(),y=r?.[g]),y?p(y,[n,o]):null===y?p(h,[o]):c?(u({source:h,targetLocale:n,metadata:{...d?.$context&&{context:d.$context},id:a,hash:g||_()}}),p(h,[o])):p(h,[o])},[t,e,r,n,o,i,c,u,s])}(F,R,z,$,g,_,x,S,T),q=je(F,R,j,D,z,$,g,_,x,S,T,J),G=!(_&&!z)&&$;return t(Re.Provider,{value:{gt:L,registerIcuForTranslation:T,registerJsxForTranslation:W,setLocale:t=>{t=u(t,m,H)||$||g,t=L.resolveAliasLocale(t),document.cookie=`${E}=${t};path=/`,document.cookie=`${A}=true;path=/`,M(t),window.location.reload()},_tFunction:U,_mFunction:N,_filterMessagesForPreload:K,_preloadMessages:X,_dictionaryFunction:J,_dictionaryObjFunction:q,locale:$,locales:m,defaultLocale:g,region:P,setRegion:t=>{document.cookie=`${C}=${t||""};path=/`,I(t)},translations:z,translationRequired:_,dialectTranslationRequired:x,renderSettings:w,developmentApiEnabled:S},children:t(r.Suspense,{fallback:G&&e,children:G&&e})})}function Ie(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function Le(t){if(!t)return;const e={};for(const r in t)e[r]={name:t[r]};return e}function Te(r){var{locales:n,customNames:o,customMapping:i=Le(o)}=r,a=Ie(r,["locales","customNames","customMapping"]);const{locale:s,locales:c,setLocale:l,getLocaleProperties:u}=h(n||void 0),f=t=>{if(i&&i[t]){if("string"==typeof i[t])return i[t];if(i[t].name)return i[t].name}return(e=u(t).nativeNameWithRegionCode)?e.charAt(0).toUpperCase()+(e.length>1?e.slice(1):""):"";var e};return c&&0!==c.length&&l?e("select",Object.assign({},a,{value:s||"",onChange:t=>l(t.target.value),children:[!s&&t("option",{value:""}),c.map(e=>t("option",{value:e,suppressHydrationWarning:!0,children:f(e)},e))]})):null}function We(r){var{regions:n,placeholder:o,customMapping:i,prioritizeCurrentLocaleRegion:a,sortRegionsAlphabetically:s,asLocaleSelector:c=!1}=r,l=Ie(r,["regions","placeholder","customMapping","prioritizeCurrentLocaleRegion","sortRegionsAlphabetically","asLocaleSelector"]);const{region:u,setRegion:f,regions:h,regionData:p,locale:v,setLocale:y}=d({regions:n,customMapping:i,prioritizeCurrentLocaleRegion:a,sortRegionsAlphabetically:s});return e("select",Object.assign({},l,{value:u||"",onChange:t=>(t=>{if(f(t),c){const e=p.get(t).locale;v!==e&&y(e)}})(t.target.value),children:[!u&&t("option",{value:"",disabled:Boolean(u),hidden:Boolean(u),suppressHydrationWarning:!0,children:o||""},"placeholder"),h.map(e=>t("option",{value:e,suppressHydrationWarning:!0,children:p.get(e).name},e))]}))}"function"==typeof SuppressedError&&SuppressedError;export{Pe as ClientProvider,Te as LocaleSelector,We as RegionSelector};
@@ -0,0 +1,2 @@
1
+ export declare const PACKAGE_NAME = "gt-react";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/errors-dir/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,aAAa,CAAC"}