@sekyro/elements 0.1.0-rc.27 → 0.1.0-rc.29

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 (96) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +3 -3
  3. package/dist/cdn/chunks/{capture-session-doc-BT2W22H5-TWRWJRRR.js → capture-session-doc-HGA7NCJI-PAHR5UED.js} +1 -1
  4. package/dist/cdn/chunks/{chunk-TV7CW7VL.js → chunk-2CQQAB3Y.js} +1 -1
  5. package/dist/cdn/chunks/{chunk-F4Q2Q4OC.js → chunk-37BKUH3E.js} +1 -1
  6. package/dist/cdn/chunks/chunk-45BISCD7.js +1 -0
  7. package/dist/cdn/chunks/{chunk-IWZRAEUN.js → chunk-5Y7NCFTK.js} +1 -1
  8. package/dist/cdn/chunks/{chunk-UYEEBLOW.js → chunk-62ISTF5A.js} +1 -1
  9. package/dist/cdn/chunks/chunk-6OAH57ZL.js +1 -0
  10. package/dist/cdn/chunks/{chunk-ATYTAIFS.js → chunk-ACJWBI6P.js} +1 -1
  11. package/dist/cdn/chunks/{chunk-LKG2GOWP.js → chunk-F4XXN364.js} +1 -1
  12. package/dist/cdn/chunks/{chunk-EHVBCFRB.js → chunk-FYHEA2LI.js} +1 -1
  13. package/dist/cdn/chunks/{chunk-JPREVWIF.js → chunk-I7ZZMP7U.js} +1 -1
  14. package/dist/cdn/chunks/{chunk-66K4ELX6.js → chunk-IVTMNMUT.js} +1 -1
  15. package/dist/cdn/chunks/chunk-LAEGXG2I.js +3 -0
  16. package/dist/cdn/chunks/{chunk-5H2LBGA7.js → chunk-LPLPMWHJ.js} +1 -1
  17. package/dist/cdn/chunks/chunk-LVIQDNPD.js +1 -0
  18. package/dist/cdn/chunks/chunk-M36CK35T.js +1 -0
  19. package/dist/cdn/chunks/{chunk-2SXFB7OS.js → chunk-OC5UPJL5.js} +1 -1
  20. package/dist/cdn/chunks/{chunk-ZYXKVMFC.js → chunk-OP6NSXRA.js} +1 -1
  21. package/dist/cdn/chunks/{chunk-N6TFSAF3.js → chunk-RPS5MI2Z.js} +1 -1
  22. package/dist/cdn/chunks/chunk-RY47T7P4.js +33 -0
  23. package/dist/cdn/chunks/{chunk-2PCS4H3E.js → chunk-S3DETOVP.js} +1 -1
  24. package/dist/cdn/chunks/{chunk-DM2IEIG4.js → chunk-TX7C4L3S.js} +1 -1
  25. package/dist/cdn/chunks/{chunk-2IYNWMYV.js → chunk-V2MJE7IH.js} +1 -1
  26. package/dist/cdn/chunks/chunk-XKZZC74I.js +1 -0
  27. package/dist/cdn/chunks/{chunk-2RVF3WJ3.js → chunk-ZQRIQWIK.js} +1 -1
  28. package/dist/cdn/chunks/{create-document-capture-R3H5TJD5-FZDYMF5Q.js → create-document-capture-HHRMCAWL-7OHYRTAN.js} +1 -1
  29. package/dist/cdn/chunks/{detector-scanic-P2RTEQUV-A5WTP2Q7.js → detector-scanic-3VQFGZAA-NF7AFUUP.js} +1 -1
  30. package/dist/cdn/chunks/document-capture-view-CFKS7K5J-YDK5DUQJ.js +1 -0
  31. package/dist/cdn/chunks/{eid-view-5M34JRB3-JW2ZYCJG.js → eid-view-3G2EEGBI-C54IOJRT.js} +1 -1
  32. package/dist/cdn/chunks/{email-otp-view-ULR3QWIN-SSLNYDY6.js → email-otp-view-PNB5UXJZ-FK3XWFBY.js} +1 -1
  33. package/dist/cdn/chunks/flow-views-6TVHTMMX-6QNRGOHC.js +1 -0
  34. package/dist/cdn/chunks/{form-view-426ISA4K-AKPX7G27.js → form-view-4HIBPKH7-QFAEVYU7.js} +1 -1
  35. package/dist/cdn/chunks/overlay-de-SHNL7LAI-G24N6OC4.js +1 -0
  36. package/dist/cdn/chunks/overlay-es-A6FGTLAH-EVEFVZOC.js +1 -0
  37. package/dist/cdn/chunks/overlay-pt-LTTU3QMC-AKB6BK52.js +1 -0
  38. package/dist/cdn/chunks/plan-runner-AUM4X5WF-XQRCBU72.js +1 -0
  39. package/dist/cdn/chunks/{portrait-capture-view-6K6W3USJ-MT7SJLT2.js → portrait-capture-view-VGMA3DDR-TSACU3HP.js} +1 -1
  40. package/dist/cdn/chunks/{portrait-review-view-PZQZZCYH-NEHNS5VW.js → portrait-review-view-UGBWX5MS-SJLTTTW5.js} +1 -1
  41. package/dist/cdn/chunks/{proof-of-address-view-MX5Q2XV2-S4FLPL4A.js → proof-of-address-view-JOIFXMMC-3KTUEBGM.js} +1 -1
  42. package/dist/cdn/define.js +1 -1
  43. package/dist/cdn/index.js +1 -1
  44. package/dist/{chunk-GQIZ42ZI.js → chunk-2X65ALSL.js} +1 -1
  45. package/dist/{chunk-CCJXGVIL.js → chunk-36B6FF7N.js} +1 -1
  46. package/dist/{chunk-R57PCZSZ.js → chunk-3MS3OEXH.js} +1 -1
  47. package/dist/chunk-4VZPYERM.js +33 -0
  48. package/dist/{chunk-FXWTWHNX.js → chunk-DBP7O23Y.js} +1 -1
  49. package/dist/{chunk-JRZE2IZT.js → chunk-FCWRFBJ5.js} +1 -1
  50. package/dist/{chunk-Z5TRMVOP.js → chunk-I2W7JAV3.js} +1 -1
  51. package/dist/{chunk-PNC5GJ4N.js → chunk-K2RX6MKD.js} +1 -1
  52. package/dist/{chunk-JPVADGVQ.js → chunk-ONLUBR6R.js} +1 -1
  53. package/dist/chunk-RKDMXMMR.js +1 -0
  54. package/dist/{chunk-XDH4CTRQ.js → chunk-VMIPS4GV.js} +1 -1
  55. package/dist/{chunk-YQXEEIWM.js → chunk-XL5ZL55K.js} +1 -1
  56. package/dist/{chunk-C6FGUALJ.js → chunk-YOH3GSLC.js} +1 -1
  57. package/dist/{chunk-G3M7C3QG.js → chunk-ZX3DKTKJ.js} +1 -1
  58. package/dist/define.cjs +5 -5
  59. package/dist/define.js +1 -1
  60. package/dist/document-capture-view-CFKS7K5J-SAJ6PQWE.js +1 -0
  61. package/dist/{eid-view-5M34JRB3-QXLAE3HM.js → eid-view-3G2EEGBI-LZVUJU6I.js} +1 -1
  62. package/dist/{email-otp-view-ULR3QWIN-UCGDMZIL.js → email-otp-view-PNB5UXJZ-QTVVXYTH.js} +1 -1
  63. package/dist/flow-views-6TVHTMMX-KNUYB6W7.js +1 -0
  64. package/dist/{form-view-426ISA4K-CTBMZ6MO.js → form-view-4HIBPKH7-2HUEAOFF.js} +1 -1
  65. package/dist/index.cjs +5 -5
  66. package/dist/index.d.cts +21 -10
  67. package/dist/index.d.ts +21 -10
  68. package/dist/index.js +1 -1
  69. package/dist/overlay-de-SHNL7LAI-UGRIY37I.js +1 -0
  70. package/dist/overlay-es-A6FGTLAH-4TTQSKC5.js +1 -0
  71. package/dist/overlay-pt-LTTU3QMC-3TI32HHQ.js +1 -0
  72. package/dist/{portrait-capture-view-6K6W3USJ-IHLY62OK.js → portrait-capture-view-VGMA3DDR-LFQ6FAYZ.js} +1 -1
  73. package/dist/{portrait-review-view-PZQZZCYH-WJPV3V7H.js → portrait-review-view-UGBWX5MS-UPYQ75SA.js} +1 -1
  74. package/dist/{proof-of-address-view-MX5Q2XV2-NADFPD37.js → proof-of-address-view-JOIFXMMC-PQ4IIQV2.js} +1 -1
  75. package/package.json +2 -2
  76. package/sbom.cdx.json +4 -4
  77. package/dist/cdn/chunks/chunk-2RXQBUDC.js +0 -3
  78. package/dist/cdn/chunks/chunk-35AXFJCG.js +0 -1
  79. package/dist/cdn/chunks/chunk-B737CEIX.js +0 -1
  80. package/dist/cdn/chunks/chunk-FCQZZSGE.js +0 -1
  81. package/dist/cdn/chunks/chunk-IJKJJDVP.js +0 -1
  82. package/dist/cdn/chunks/chunk-URRHIQLF.js +0 -33
  83. package/dist/cdn/chunks/chunk-ZEUQQLSO.js +0 -1
  84. package/dist/cdn/chunks/document-capture-view-RR4DTGYF-DE3CFMWM.js +0 -1
  85. package/dist/cdn/chunks/flow-views-V3OXW6PI-COAN2VQJ.js +0 -1
  86. package/dist/cdn/chunks/overlay-de-OWNOVFUK-G2EPYZKC.js +0 -1
  87. package/dist/cdn/chunks/overlay-es-POP2QZLC-6H5GQA7F.js +0 -1
  88. package/dist/cdn/chunks/overlay-pt-IKCWBDLR-4R2H3Y7Q.js +0 -1
  89. package/dist/cdn/chunks/plan-runner-EY7VTTUP-RLLA2EQK.js +0 -1
  90. package/dist/chunk-KN3AOAYL.js +0 -33
  91. package/dist/chunk-RDCMAYQA.js +0 -1
  92. package/dist/document-capture-view-RR4DTGYF-5PXLLNJY.js +0 -1
  93. package/dist/flow-views-V3OXW6PI-BFMDN2IB.js +0 -1
  94. package/dist/overlay-de-OWNOVFUK-QY6M35JN.js +0 -1
  95. package/dist/overlay-es-POP2QZLC-325Q4JIU.js +0 -1
  96. package/dist/overlay-pt-IKCWBDLR-2YDKPIHK.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @sekyro/elements
2
2
 
3
+ ## 0.1.0-rc.29
4
+
5
+ ### Patch Changes
6
+
7
+ - 22247d5: Sandbox sessions open with a choice between test data and real checks as an enrolled tester. Real checks start with the tester face check as a page of its own, with no way out to test data; when no tester is enrolled, the screen says how to enroll one. Test data is labelled on the identity summary and the result says the mode ("Test data" or "Real checks, tester …"). The tester reasons have their own lines, and the "Run real checks as a tester" button under each page is removed.
8
+ - Updated dependencies [294bcbd]
9
+ - @sekyro/web@0.1.0-rc.52
10
+
11
+ ## 0.1.0-rc.28
12
+
13
+ ### Patch Changes
14
+
15
+ - Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
16
+ - Updated dependencies [819638d]
17
+ - @sekyro/web@0.1.0-rc.50
18
+
3
19
  ## 0.1.0-rc.27
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -236,9 +236,9 @@ page's resets: under Bootstrap's reboot or Tailwind's preflight the flow looks a
236
236
  ## Sandbox
237
237
 
238
238
  A Sandbox session shows its test chrome in the element exactly as in `@sekyro/react`: the "Test session" badge, the
239
- "Skip with test data" action, the tester check and, on the result screen of a session no enrolled tester ran, the
240
- "This was a simulation" notice. The `sekyro-result` detail then carries `sandbox: { simulated: true, reason }`.
241
- Nothing to configure: it follows the session.
239
+ choice between test data and real checks, the tester check, the "Skip with test data" action and, on the result
240
+ screen, the mode the session ran in. The `sekyro-result` detail carries `sandbox: { mode, testerName? }`. Nothing to
241
+ configure: it follows the session.
242
242
 
243
243
  ## Size
244
244
 
@@ -1 +1 @@
1
- import{b as s,c as a,d as _,e as C,f as A,g as D,h as o,i as S,j as r,k as t,l as E,m as p,n as T,o as O,p as i,q as m,r as R}from"./chunk-IJKJJDVP.js";import"./chunk-IWZRAEUN.js";import"./chunk-ZEUQQLSO.js";import"./chunk-F4Q2Q4OC.js";import"./chunk-W5WWCOOW.js";import"./chunk-TV7CW7VL.js";import"./chunk-P7K7ELYZ.js";import"./chunk-JS2IXPNL.js";import"./chunk-4FHWXBOB.js";export{i as CAPTURE_CANDIDATE_SPACING_MS,O as CAPTURE_EXTRA_CANDIDATES,m as CAPTURE_WINDOW_MS,p as CaptureSessionDoc,_ as DOC_BLACK_FRAME_LUMA,C as DOC_BLACK_FRAME_TICKS,A as DOC_CADENCE_HZ,a as DOC_FIRST_FRAME_MS,o as DOC_PROFILE_TICKS,t as DOC_SHUTTER_DEFAULTS,r as DOC_SLOW_TICK_MS,S as DOC_WARMUP_TICKS,R as REFOCUS_APPLY_MAX_MS,D as SIDE_PROBE_MS,T as passportBandOf,E as resolveDocShutterTuning,s as warmDocDetector};
1
+ import{b as s,c as a,d as _,e as C,f as A,g as D,h as o,i as S,j as r,k as t,l as E,m as p,n as T,o as O,p as i,q as m,r as R}from"./chunk-LVIQDNPD.js";import"./chunk-5Y7NCFTK.js";import"./chunk-XKZZC74I.js";import"./chunk-37BKUH3E.js";import"./chunk-W5WWCOOW.js";import"./chunk-2CQQAB3Y.js";import"./chunk-P7K7ELYZ.js";import"./chunk-JS2IXPNL.js";import"./chunk-4FHWXBOB.js";export{i as CAPTURE_CANDIDATE_SPACING_MS,O as CAPTURE_EXTRA_CANDIDATES,m as CAPTURE_WINDOW_MS,p as CaptureSessionDoc,_ as DOC_BLACK_FRAME_LUMA,C as DOC_BLACK_FRAME_TICKS,A as DOC_CADENCE_HZ,a as DOC_FIRST_FRAME_MS,o as DOC_PROFILE_TICKS,t as DOC_SHUTTER_DEFAULTS,r as DOC_SLOW_TICK_MS,S as DOC_WARMUP_TICKS,R as REFOCUS_APPLY_MAX_MS,D as SIDE_PROBE_MS,T as passportBandOf,E as resolveDocShutterTuning,s as warmDocDetector};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-4FHWXBOB.js";var S="0.1.0-rc.49",k=/FBAN|FBAV|FB_IAB|FBIOS|MessengerForiOS|Instagram|WhatsApp|musical_ly|BytedanceWebview|TikTok|Snapchat|\bLine\/|LinkedInApp|Pinterest|MicroMessenger|; wv\)/i;function O(t){let e=t??(typeof navigator>"u"?"":String(navigator.userAgent??""));return k.test(e)}n(O,"p");var f="sekyro.did",C=1e4,w=n(()=>globalThis.process?.versions?.node,"v"),l;function y(){let t=globalThis.crypto;try{if(typeof t?.randomUUID=="function")return t.randomUUID()}catch{}try{if(typeof t?.getRandomValues=="function"){let e=t.getRandomValues(new Uint8Array(16));return Array.from(e,a=>a.toString(16).padStart(2,"0")).join("")}}catch{}}n(y,"b");function H(){try{let t=localStorage.getItem(f);if(t)return t;let e=y();return e!==void 0&&localStorage.setItem(f,e),e}catch{return l??(l=y()),l}}n(H,"I");async function M(){let t=globalThis.crypto?.subtle;if(!t)return"";let e=navigator,a=JSON.stringify([e.userAgent,e.platform,e.hardwareConcurrency??null,e.deviceMemory??null,e.maxTouchPoints??0,screen.width,screen.height,screen.colorDepth,globalThis.devicePixelRatio??1,Intl.DateTimeFormat().resolvedOptions().timeZone,e.languages?.join(",")??e.language]),i=await t.digest("SHA-256",new TextEncoder().encode(a));return Array.from(new Uint8Array(i),s=>s.toString(16).padStart(2,"0")).join("").slice(0,32)}n(M,"w");function x(){try{let t=Number(navigator.maxTouchPoints);return Number.isFinite(t)&&t>=0?{touch:Math.min(64,Math.trunc(t))}:{}}catch{return{}}}n(x,"k");function W(t){let e=new TextEncoder().encode(t),a="";for(let i of e)a+=String.fromCharCode(i);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}n(W,"x");function j(t){let e,a,i,s,c,d,m=n(()=>d?.readyState==="live","u"),T=n(()=>{c!==void 0||!globalThis.crypto?.subtle||w()||m()||(c=Promise.race([import("./print-DCYX3CZD-DLQCPZZE.js"),new Promise(r=>setTimeout(r,C))]).then(r=>r?.computePrint(m)).then(r=>{r==="busy"?c=void 0:s=r}).catch(()=>{}))},"_");return{timezone(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone?.slice(0,64)||void 0}catch{return}},noteCameraLabel(r){r&&(e=r.slice(0,128))},noteCamera(r){a=r},noteCameraTrack(r){d=r},async deviceHeader(){try{i??(i=M().catch(()=>""));let r=[];navigator.webdriver&&r.push("webdriver"),/HeadlessChrome/.test(navigator.userAgent)&&r.push("headless");let p=await i,g=H(),A={v:1,platform:"web",sdk:t.sdk.slice(0,64),caps:["session_proof"],rampAtArm:!0,ids:[...g?[{kind:"web_local",value:g.slice(0,128)}]:[],...p?[{kind:"web_fp",value:p}]:[]],screen:{w:screen.width,h:screen.height,dpr:globalThis.devicePixelRatio??1},...x(),...e?{cameraLabel:e}:{},...r.length?{signals:r}:{},...s?{print:{v:2,...s,...a?{camera:a}:{}}}:{},...O()?{inApp:!0}:{}},I=W(JSON.stringify(A));return T(),I}catch{return}},printReady(){return c??Promise.resolve()}}}n(j,"A");var v=Symbol.for("sekyro.web.clientContext"),b=globalThis,u=b[v]??(b[v]=j({sdk:`@sekyro/web@${S}`}));function z(t){try{let e=t.getVideoTracks?.()[0];if(e){if(u.noteCameraLabel(e.label),u.noteCameraTrack(e),w())return;import("./camera-trait-DELAK3YN-4I2GHAFU.js").then(a=>a.noteCameraTrait(e,u)).catch(()=>{})}}catch{}}n(z,"M");var P=Object.freeze({LOW:Object.freeze({cadenceHz:5,inputWidth:128,animations:"reduced"}),MID:Object.freeze({cadenceHz:8,inputWidth:160,animations:"full"}),HIGH:Object.freeze({cadenceHz:10,inputWidth:192,animations:"full"})}),L=new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]);function F(){let t=typeof navigator>"u"?void 0:navigator,e=!1;try{e=typeof WebAssembly<"u"&&WebAssembly.validate(L)}catch{e=!1}return{cores:t?.hardwareConcurrency??2,memGB:t?.deviceMemory??null,simd:e}}n(F,"o");function U(t){let e=t.memGB??4;return t.cores<4||e<3?"LOW":t.cores>=8&&e>=6?"HIGH":"MID"}n(U,"l");var h=["LOW","MID","HIGH"],o,_=(o=class{constructor(e){this.samples=[],this.adjusted=!1,this.current=e}get deviceClass(){return this.current}get profile(){return P[this.current]}record(e){if(this.adjusted||this.samples.length>=10)return this.current;if(this.samples.push(e),this.samples.length<10)return this.current;this.adjusted=!0;let a=this.samples.reduce((i,s)=>i+s,0)/this.samples.length;if(a>70)this.current="LOW";else if(a<25){let i=h.indexOf(this.current);this.current=h[Math.min(h.length-1,i+1)]??this.current}return this.current}},n(o,"i"),o);export{S as a,O as b,u as c,z as d,F as e,U as f,_ as g};
1
+ import{a as n}from"./chunk-4FHWXBOB.js";var S="0.1.0-rc.52",k=/FBAN|FBAV|FB_IAB|FBIOS|MessengerForiOS|Instagram|WhatsApp|musical_ly|BytedanceWebview|TikTok|Snapchat|\bLine\/|LinkedInApp|Pinterest|MicroMessenger|; wv\)/i;function O(t){let e=t??(typeof navigator>"u"?"":String(navigator.userAgent??""));return k.test(e)}n(O,"p");var f="sekyro.did",C=1e4,w=n(()=>globalThis.process?.versions?.node,"v"),l;function y(){let t=globalThis.crypto;try{if(typeof t?.randomUUID=="function")return t.randomUUID()}catch{}try{if(typeof t?.getRandomValues=="function"){let e=t.getRandomValues(new Uint8Array(16));return Array.from(e,a=>a.toString(16).padStart(2,"0")).join("")}}catch{}}n(y,"b");function H(){try{let t=localStorage.getItem(f);if(t)return t;let e=y();return e!==void 0&&localStorage.setItem(f,e),e}catch{return l??(l=y()),l}}n(H,"I");async function M(){let t=globalThis.crypto?.subtle;if(!t)return"";let e=navigator,a=JSON.stringify([e.userAgent,e.platform,e.hardwareConcurrency??null,e.deviceMemory??null,e.maxTouchPoints??0,screen.width,screen.height,screen.colorDepth,globalThis.devicePixelRatio??1,Intl.DateTimeFormat().resolvedOptions().timeZone,e.languages?.join(",")??e.language]),i=await t.digest("SHA-256",new TextEncoder().encode(a));return Array.from(new Uint8Array(i),s=>s.toString(16).padStart(2,"0")).join("").slice(0,32)}n(M,"w");function x(){try{let t=Number(navigator.maxTouchPoints);return Number.isFinite(t)&&t>=0?{touch:Math.min(64,Math.trunc(t))}:{}}catch{return{}}}n(x,"k");function W(t){let e=new TextEncoder().encode(t),a="";for(let i of e)a+=String.fromCharCode(i);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}n(W,"x");function j(t){let e,a,i,s,c,d,m=n(()=>d?.readyState==="live","u"),T=n(()=>{c!==void 0||!globalThis.crypto?.subtle||w()||m()||(c=Promise.race([import("./print-DCYX3CZD-DLQCPZZE.js"),new Promise(r=>setTimeout(r,C))]).then(r=>r?.computePrint(m)).then(r=>{r==="busy"?c=void 0:s=r}).catch(()=>{}))},"_");return{timezone(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone?.slice(0,64)||void 0}catch{return}},noteCameraLabel(r){r&&(e=r.slice(0,128))},noteCamera(r){a=r},noteCameraTrack(r){d=r},async deviceHeader(){try{i??(i=M().catch(()=>""));let r=[];navigator.webdriver&&r.push("webdriver"),/HeadlessChrome/.test(navigator.userAgent)&&r.push("headless");let p=await i,g=H(),A={v:1,platform:"web",sdk:t.sdk.slice(0,64),caps:["session_proof"],rampAtArm:!0,ids:[...g?[{kind:"web_local",value:g.slice(0,128)}]:[],...p?[{kind:"web_fp",value:p}]:[]],screen:{w:screen.width,h:screen.height,dpr:globalThis.devicePixelRatio??1},...x(),...e?{cameraLabel:e}:{},...r.length?{signals:r}:{},...s?{print:{v:2,...s,...a?{camera:a}:{}}}:{},...O()?{inApp:!0}:{}},I=W(JSON.stringify(A));return T(),I}catch{return}},printReady(){return c??Promise.resolve()}}}n(j,"A");var v=Symbol.for("sekyro.web.clientContext"),b=globalThis,u=b[v]??(b[v]=j({sdk:`@sekyro/web@${S}`}));function z(t){try{let e=t.getVideoTracks?.()[0];if(e){if(u.noteCameraLabel(e.label),u.noteCameraTrack(e),w())return;import("./camera-trait-DELAK3YN-4I2GHAFU.js").then(a=>a.noteCameraTrait(e,u)).catch(()=>{})}}catch{}}n(z,"M");var P=Object.freeze({LOW:Object.freeze({cadenceHz:5,inputWidth:128,animations:"reduced"}),MID:Object.freeze({cadenceHz:8,inputWidth:160,animations:"full"}),HIGH:Object.freeze({cadenceHz:10,inputWidth:192,animations:"full"})}),L=new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]);function F(){let t=typeof navigator>"u"?void 0:navigator,e=!1;try{e=typeof WebAssembly<"u"&&WebAssembly.validate(L)}catch{e=!1}return{cores:t?.hardwareConcurrency??2,memGB:t?.deviceMemory??null,simd:e}}n(F,"o");function U(t){let e=t.memGB??4;return t.cores<4||e<3?"LOW":t.cores>=8&&e>=6?"HIGH":"MID"}n(U,"l");var h=["LOW","MID","HIGH"],o,_=(o=class{constructor(e){this.samples=[],this.adjusted=!1,this.current=e}get deviceClass(){return this.current}get profile(){return P[this.current]}record(e){if(this.adjusted||this.samples.length>=10)return this.current;if(this.samples.push(e),this.samples.length<10)return this.current;this.adjusted=!0;let a=this.samples.reduce((i,s)=>i+s,0)/this.samples.length;if(a>70)this.current="LOW";else if(a<25){let i=h.indexOf(this.current);this.current=h[Math.min(h.length-1,i+1)]??this.current}return this.current}},n(o,"i"),o);export{S as a,O as b,u as c,z as d,F as e,U as f,_ as g};