@kaeawc/auto-mobile 0.0.93 → 0.0.94
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.
- package/dist/build-info.json +12 -12
- package/dist/src/ble-peripheral.py +153 -0
- package/dist/src/{chunk-r6z1eztj.js → chunk-026y62r9.js} +11 -11
- package/dist/src/chunk-0jyfg947.js +4 -0
- package/dist/src/{chunk-8g1922rp.js → chunk-0zfpp1wh.js} +4 -4
- package/dist/src/{chunk-qf6nynk6.js → chunk-13qxf7ym.js} +5 -5
- package/dist/src/chunk-1scenrk7.js +4 -0
- package/dist/src/chunk-1vb5ph1k.js +4 -0
- package/dist/src/{chunk-710rxz9y.js → chunk-20g565q7.js} +3 -3
- package/dist/src/chunk-21h6dhdm.js +5 -0
- package/dist/src/chunk-25mfpthk.js +78 -0
- package/dist/src/{chunk-rbpdk7m0.js → chunk-2b39zyxc.js} +3 -3
- package/dist/src/chunk-2gzd6wbd.js +4 -0
- package/dist/src/{chunk-xgan0qqp.js → chunk-3dntffy9.js} +1 -1
- package/dist/src/chunk-3gfczcsn.js +4 -0
- package/dist/src/{chunk-dgrbdpb7.js → chunk-3h5jz1vb.js} +6 -6
- package/dist/src/{chunk-t6c8akcm.js → chunk-41zcy6b3.js} +3 -3
- package/dist/src/chunk-47n9m2de.js +4 -0
- package/dist/src/chunk-4vxeq0vd.js +58 -0
- package/dist/src/chunk-59dx6qaf.js +4 -0
- package/dist/src/chunk-5sdf9y92.js +4 -0
- package/dist/src/{chunk-58wzr3mt.js → chunk-5wk1t46v.js} +3 -3
- package/dist/src/{chunk-vy3bwm1d.js → chunk-661c50hh.js} +5 -5
- package/dist/src/chunk-68n6bjjd.js +21 -0
- package/dist/src/{chunk-v6pya0dm.js → chunk-69pmjdf2.js} +3 -3
- package/dist/src/{chunk-e98dqnc9.js → chunk-6hrj3jt6.js} +20 -20
- package/dist/src/{chunk-wbh8spm5.js → chunk-6myr26wx.js} +8 -8
- package/dist/src/chunk-6n96k09n.js +4 -0
- package/dist/src/chunk-6vwrbkre.js +4 -0
- package/dist/src/chunk-6wk0yrab.js +4 -0
- package/dist/src/chunk-6yhm9een.js +4 -0
- package/dist/src/{chunk-mjrps0ac.js → chunk-7k7gjg2t.js} +5 -5
- package/dist/src/chunk-7n5fz68h.js +4 -0
- package/dist/src/chunk-8cvnpnbp.js +4 -0
- package/dist/src/chunk-8kzv7rk7.js +4 -0
- package/dist/src/chunk-8nj68t1v.js +167 -0
- package/dist/src/{chunk-g7tmjbkt.js → chunk-96r3bpg7.js} +3 -3
- package/dist/src/chunk-97x887te.js +4 -0
- package/dist/src/{chunk-8ph29g99.js → chunk-99a6tbvd.js} +1 -1
- package/dist/src/chunk-9p5d2994.js +5 -0
- package/dist/src/{chunk-aabchzxk.js → chunk-9q265er0.js} +4 -4
- package/dist/src/{chunk-jh6vhqzx.js → chunk-9xgnrv5w.js} +3 -3
- package/dist/src/chunk-9xgsmshb.js +5 -0
- package/dist/src/chunk-a02d1wgv.js +4 -0
- package/dist/src/{chunk-ndt1ccxm.js → chunk-a9ps00a1.js} +10 -10
- package/dist/src/{chunk-5d2hft6c.js → chunk-aewdveet.js} +3 -3
- package/dist/src/{chunk-ycaj2sgf.js → chunk-b3tdtq7r.js} +6 -6
- package/dist/src/chunk-bn7jx7a2.js +4 -0
- package/dist/src/{chunk-3y6eykz9.js → chunk-bnyw27ja.js} +2 -2
- package/dist/src/{chunk-rqc9ap3x.js → chunk-bpwsg76p.js} +2 -2
- package/dist/src/chunk-bvranw3g.js +4 -0
- package/dist/src/chunk-c25a84zb.js +4 -0
- package/dist/src/chunk-c27yv1dx.js +5 -0
- package/dist/src/chunk-c3ewxm4x.js +5 -0
- package/dist/src/{chunk-rvvy1bte.js → chunk-cb1ga9rd.js} +5 -5
- package/dist/src/chunk-cn7fwy7k.js +4 -0
- package/dist/src/chunk-cnvy4a64.js +4 -0
- package/dist/src/{chunk-7rz9898k.js → chunk-cqhw4yr6.js} +3 -3
- package/dist/src/{chunk-g04bwyj3.js → chunk-ctmfshjc.js} +2 -2
- package/dist/src/chunk-ctwmhz13.js +4 -0
- package/dist/src/{chunk-waqwcjyn.js → chunk-d3jx9bz5.js} +2 -2
- package/dist/src/{chunk-ayp07wbb.js → chunk-d6rb08ga.js} +1 -1
- package/dist/src/chunk-ddqhj4eg.js +5 -0
- package/dist/src/{chunk-r7bpkgff.js → chunk-ddrhs1c3.js} +2 -2
- package/dist/src/chunk-dnjnh9p6.js +4 -0
- package/dist/src/{chunk-wyrkw6hw.js → chunk-dw5rwgya.js} +3 -3
- package/dist/src/{chunk-3xkpk44w.js → chunk-e0870khr.js} +3 -3
- package/dist/src/chunk-ea3k10kj.js +4 -0
- package/dist/src/chunk-emv82m1w.js +7 -0
- package/dist/src/chunk-f3m6pdnx.js +4 -0
- package/dist/src/chunk-f84z32cb.js +4 -0
- package/dist/src/chunk-fpczgf0z.js +4 -0
- package/dist/src/{chunk-2tqzq5qh.js → chunk-g2js4c2v.js} +18 -18
- package/dist/src/chunk-g3af2qbk.js +5 -0
- package/dist/src/{chunk-3qwrzxh0.js → chunk-gadtna7s.js} +6 -6
- package/dist/src/{chunk-ybbtagbt.js → chunk-gcyx407v.js} +3 -3
- package/dist/src/{chunk-bfw6125s.js → chunk-gfpntwc1.js} +3 -3
- package/dist/src/chunk-gmnm5e3e.js +4 -0
- package/dist/src/chunk-gp6vb5gf.js +4 -0
- package/dist/src/chunk-gppgy7pa.js +4 -0
- package/dist/src/chunk-hegfz0ae.js +5 -0
- package/dist/src/chunk-hpzxdp1k.js +17 -0
- package/dist/src/{chunk-qcxzr2my.js → chunk-j69g8b50.js} +3 -3
- package/dist/src/chunk-jvstjnqm.js +19 -0
- package/dist/src/chunk-jzqrv78s.js +4 -0
- package/dist/src/chunk-k2948b8d.js +4 -0
- package/dist/src/chunk-k4ftd40d.js +4 -0
- package/dist/src/{chunk-bxmsax22.js → chunk-kd9vfaxh.js} +3 -3
- package/dist/src/{chunk-s3jc6cwp.js → chunk-kdczmgwk.js} +3 -3
- package/dist/src/{chunk-t6bfvfkg.js → chunk-ke3wn14v.js} +1 -1
- package/dist/src/chunk-kh5n7m6w.js +4 -0
- package/dist/src/{chunk-6wt9rgjf.js → chunk-khejfph4.js} +3 -3
- package/dist/src/chunk-kny2xemh.js +4 -0
- package/dist/src/chunk-knyzw9md.js +4 -0
- package/dist/src/chunk-mbzpt2hp.js +4 -0
- package/dist/src/chunk-mm8rcxad.js +4 -0
- package/dist/src/chunk-nc4516tx.js +4 -0
- package/dist/src/{chunk-6bznss4t.js → chunk-ntfrqrqn.js} +5 -5
- package/dist/src/chunk-nz5h2j52.js +4 -0
- package/dist/src/chunk-p22s97qy.js +4 -0
- package/dist/src/chunk-p9kt1sgr.js +6 -0
- package/dist/src/{chunk-yb97j25b.js → chunk-pf282r5g.js} +4 -4
- package/dist/src/chunk-pnd4mrxy.js +4 -0
- package/dist/src/chunk-pqqteyj6.js +4 -0
- package/dist/src/{chunk-6xmss8er.js → chunk-qj1tbnv2.js} +6 -6
- package/dist/src/chunk-qnh9egwr.js +4 -0
- package/dist/src/chunk-qy3khhf8.js +8 -0
- package/dist/src/{chunk-z637nqg8.js → chunk-r0vp315h.js} +6 -6
- package/dist/src/chunk-r4j43b9s.js +237 -0
- package/dist/src/{chunk-1p7xf5kb.js → chunk-r54cxxze.js} +3 -3
- package/dist/src/{chunk-yf7ympyz.js → chunk-r6pvhj33.js} +92 -92
- package/dist/src/chunk-rb7aa5gr.js +54 -0
- package/dist/src/chunk-rdj50kb4.js +4 -0
- package/dist/src/chunk-rnd4vcas.js +4 -0
- package/dist/src/{chunk-w5b2jwk3.js → chunk-s3y3zfcx.js} +8 -8
- package/dist/src/chunk-s4g43k75.js +5 -0
- package/dist/src/chunk-sfqe223f.js +311 -0
- package/dist/src/{chunk-284ptqa4.js → chunk-sqdrxjw5.js} +5 -5
- package/dist/src/{chunk-zgja5f3p.js → chunk-t54k47em.js} +4 -4
- package/dist/src/{chunk-3sy6ahhz.js → chunk-tek4pnvv.js} +10 -10
- package/dist/src/chunk-tn74y7af.js +4 -0
- package/dist/src/{chunk-thbh3jew.js → chunk-tvq0nzam.js} +3 -3
- package/dist/src/{chunk-0jrrsnc9.js → chunk-tx4f0h9c.js} +4 -4
- package/dist/src/chunk-vdqag3fj.js +5 -0
- package/dist/src/chunk-vz5zzs57.js +4 -0
- package/dist/src/chunk-w4s2vfpj.js +4 -0
- package/dist/src/{chunk-4hw3665t.js → chunk-w5yypt53.js} +11 -11
- package/dist/src/{chunk-8037tzzj.js → chunk-w68v64vh.js} +3 -3
- package/dist/src/chunk-whwj0pdk.js +5 -0
- package/dist/src/chunk-wnmqt1dc.js +4 -0
- package/dist/src/{chunk-cyy71ggq.js → chunk-wpe46vsa.js} +3 -3
- package/dist/src/{chunk-w3vs79ex.js → chunk-wxdjeb4k.js} +19 -19
- package/dist/src/chunk-xcqzwf9j.js +247 -0
- package/dist/src/chunk-xezekwwn.js +5 -0
- package/dist/src/chunk-xf19m15s.js +4 -0
- package/dist/src/chunk-xghbxha4.js +4 -0
- package/dist/src/{chunk-00167wan.js → chunk-xn9m3xc2.js} +5 -5
- package/dist/src/{chunk-26k317v5.js → chunk-yqfz4vts.js} +3 -3
- package/dist/src/chunk-z8tvs8nk.js +5 -0
- package/dist/src/chunk-zm2rehqb.js +5 -0
- package/dist/src/chunk-zs6dqm35.js +4 -0
- package/dist/src/daemon/processEntry.js +2 -2
- package/dist/src/index.js +4 -4
- package/dist/src/runtime/bunRuntimeGuard.js +2 -2
- package/dist/src/utils/workers/iosBundleExtractWorker.js +2 -2
- package/package.json +2 -2
- package/dist/src/chunk-0n6swkwg.js +0 -5
- package/dist/src/chunk-0qsy1qsx.js +0 -57
- package/dist/src/chunk-11m8wj8j.js +0 -237
- package/dist/src/chunk-23p5f095.js +0 -4
- package/dist/src/chunk-28re4xrg.js +0 -4
- package/dist/src/chunk-2f9rkmhx.js +0 -5
- package/dist/src/chunk-2fxdh48t.js +0 -4
- package/dist/src/chunk-2tbdrbt6.js +0 -4
- package/dist/src/chunk-32gvv9b4.js +0 -21
- package/dist/src/chunk-3f3t1x97.js +0 -8
- package/dist/src/chunk-3fspkbc7.js +0 -4
- package/dist/src/chunk-3vg455e6.js +0 -4
- package/dist/src/chunk-49bsqdx3.js +0 -4
- package/dist/src/chunk-5snsn9cf.js +0 -4
- package/dist/src/chunk-5tm9mn47.js +0 -54
- package/dist/src/chunk-5zc77a5t.js +0 -4
- package/dist/src/chunk-64j0majr.js +0 -19
- package/dist/src/chunk-65y8v4td.js +0 -17
- package/dist/src/chunk-6awz7vhq.js +0 -5
- package/dist/src/chunk-6ep7f5ge.js +0 -4
- package/dist/src/chunk-7cs2da62.js +0 -5
- package/dist/src/chunk-7g103b54.js +0 -4
- package/dist/src/chunk-7j5vj4pa.js +0 -4
- package/dist/src/chunk-7tw8x05v.js +0 -4
- package/dist/src/chunk-7zy586cb.js +0 -4
- package/dist/src/chunk-84nanf8s.js +0 -5
- package/dist/src/chunk-8gvwcv2p.js +0 -4
- package/dist/src/chunk-8thrmfat.js +0 -4
- package/dist/src/chunk-8zgzzs7k.js +0 -78
- package/dist/src/chunk-97b1zmaq.js +0 -4
- package/dist/src/chunk-9fth9ayh.js +0 -4
- package/dist/src/chunk-9j6anhjr.js +0 -4
- package/dist/src/chunk-bfjwqk8q.js +0 -4
- package/dist/src/chunk-bnhscm2n.js +0 -4
- package/dist/src/chunk-c1vs4g1n.js +0 -4
- package/dist/src/chunk-ct3e7yng.js +0 -4
- package/dist/src/chunk-ddzkz92z.js +0 -4
- package/dist/src/chunk-drdz8hee.js +0 -5
- package/dist/src/chunk-eersndy7.js +0 -5
- package/dist/src/chunk-eggq53ks.js +0 -4
- package/dist/src/chunk-f2dya7cs.js +0 -4
- package/dist/src/chunk-fbakd6cw.js +0 -4
- package/dist/src/chunk-fgb98zjj.js +0 -5
- package/dist/src/chunk-fmpad823.js +0 -5
- package/dist/src/chunk-g0xr8zw0.js +0 -4
- package/dist/src/chunk-g3rjs80x.js +0 -4
- package/dist/src/chunk-g78rtrfv.js +0 -4
- package/dist/src/chunk-gabgv3y5.js +0 -4
- package/dist/src/chunk-gmr45m8f.js +0 -4
- package/dist/src/chunk-gsyfebqj.js +0 -4
- package/dist/src/chunk-h5rpn9wr.js +0 -247
- package/dist/src/chunk-hb1x7v55.js +0 -4
- package/dist/src/chunk-hrfytkxh.js +0 -168
- package/dist/src/chunk-j4yjzbak.js +0 -4
- package/dist/src/chunk-jd6a5v6p.js +0 -5
- package/dist/src/chunk-kn5spq15.js +0 -4
- package/dist/src/chunk-m94qs0f0.js +0 -4
- package/dist/src/chunk-n03dmn5q.js +0 -5
- package/dist/src/chunk-n72qhwd9.js +0 -4
- package/dist/src/chunk-nr6y0n4y.js +0 -5
- package/dist/src/chunk-pcsen2vs.js +0 -4
- package/dist/src/chunk-ppfr0b8h.js +0 -4
- package/dist/src/chunk-q10bdnat.js +0 -4
- package/dist/src/chunk-q9xmq595.js +0 -4
- package/dist/src/chunk-qyqypn28.js +0 -5
- package/dist/src/chunk-r2epb56s.js +0 -4
- package/dist/src/chunk-r5bxavdx.js +0 -311
- package/dist/src/chunk-r8jf3d92.js +0 -4
- package/dist/src/chunk-rc0dbypm.js +0 -4
- package/dist/src/chunk-rhcty4ms.js +0 -4
- package/dist/src/chunk-rpvckv3p.js +0 -4
- package/dist/src/chunk-ry0mz41y.js +0 -4
- package/dist/src/chunk-sfv61xjb.js +0 -6
- package/dist/src/chunk-t7w8rctc.js +0 -4
- package/dist/src/chunk-v2wd4n3e.js +0 -5
- package/dist/src/chunk-w4zga19f.js +0 -4
- package/dist/src/chunk-w7hkv422.js +0 -5
- package/dist/src/chunk-xa73x2cx.js +0 -5
- package/dist/src/chunk-y2vs6jwg.js +0 -4
- package/dist/src/chunk-yattm52s.js +0 -4
- package/dist/src/chunk-yjawdzk8.js +0 -4
- package/dist/src/chunk-zs1sghs9.js +0 -4
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{i,AP,we,e}from"./chunk-z637nqg8.js";import{R,o,N,ft,Eu,ve,Mg,Ak,Kn,h$,Ai,xu,Ee,df,Nj,hr,qr,Ji,ba,bd,lr,Ce}from"./chunk-r5bxavdx.js";import{vc}from"./chunk-3xkpk44w.js";import{r,t}from"./chunk-rbpdk7m0.js";function oW(n,a){return a==="unique"?{...n,selectionStrategy:"unique"}:n}var O={"nested-container":(n)=>n.selectionStrategy==="unique"||!!n.container?.container,"nested-container-defined":(n)=>n.selectionStrategy==="unique"||n.container?.container!==void 0,"any-container":(n)=>!!n.container||n.selectionStrategy==="unique","swipe-container-options":(n)=>n.container!==void 0||n.selectionStrategy!==void 0||n.index!==void 0,"swipe-look-for-options":(n)=>n.container!==void 0||n.selectionStrategy!==void 0};function ds(n,a="nested-container"){return!!n&&O[a](n)}var Ca="AutoMobile could not determine the current TalkBack state; using the last known state when available, otherwise the default gesture. TalkBack may have changed.";async function Wh(n,a,s,l){if(n.resolveTalkBackStateWithConfirmation)return n.resolveTalkBackStateWithConfirmation(a,s,l);let c=await n.resolveTalkBackState(a,s,l);return{talkBack:c,unconfirmed:c===null}}var I=new Set(["tap","toggle","long-press"]);function S(n,a){return n.left<=a.left&&n.top<=a.top&&n.right>=a.right&&n.bottom>=a.bottom}function D(n){if(!n.bounds||!n.affordances.some((a)=>I.has(a)))return null;return{bounds:n.bounds,label:n.label?.trim().toLowerCase()??""}}function T(n,a){return n.label.length>0&&n.label===a.label&&S(a.bounds,n.bounds)}function h(n){let a=n.map(D).filter((s)=>s!==null);return a.filter((s,l)=>!a.some((c,d)=>d!==l&&T(s,c)&&(!S(s.bounds,c.bounds)||d<l))).length}function hte(n,a,s){return s&&n==="ios"&&a.tappableMatches!==void 0?{...s,tappableMatches:a.tappableMatches}:s}function x(n){return n.text!==void 0||n.sibling?.text!==void 0}function P(n,a,s){return{viewport:s,readingOrder:a.readingOrder,action:a.intentAction??(a.selectionIntent==="focus-input"?"focus-input":"tap"),allowHintFallback:a.allowHintFallback,preferToggle:a.selectionIntent==="toggle",preferTap:a.intentAction==="inspect"&&(a.selectionIntent==="tap"||a.selectionIntent==="toggle"),requireBounds:a.intentAction==="inspect",excludeImeKeys:x(n)}}function F(n,a){if(n.match!==void 0)return n;let s=n.sibling;if(s){let l=s.text!==void 0?a.fuzzyMatch===!0:a.partialMatch===!0;return{...n,sibling:s.match||!l?s:{...s,match:"contains"}}}if(n.text!==void 0)return a.partialMatch===!1?{...n,match:"exact"}:n;return n.elementId!==void 0&&a.partialMatch===!0?{...n,match:"contains"}:n}class vr{resolver;projection;options;constructor(n=new lr,a=new ve,s={}){this.resolver=n;this.projection=a;this.options=s}selectByText(n,a,s={}){return this.select(n,{text:a},s)}selectByResourceId(n,a,s={}){return this.select(n,{elementId:a},s)}selectByTestTag(n,a,s={}){return this.select(n,{testTag:a},s)}selectClickable(n,a={}){return this.select(n,{},{...a,intentAction:a.intentAction??"tap"})}selectClickableSiblingOfText(n,a,s={}){return this.select(n,{sibling:{text:a}},s)}selectClickableSiblingOfResourceId(n,a,s={}){return this.select(n,{sibling:{elementId:a}},s)}hasContainer(n,a){return this.containerResolution(n,a).scope!==void 0}resolveContainer(n,a,s){return this.resolveContainerMatch(n,a,s)?.element}resolveContainerMatch(n,a,s){let l=this.containerResolution(n,a,s).scope;if(!l)return;let c=we(l.source)["visible-to-user"];return{element:l.element,...typeof c==="boolean"?{visibleToUser:c}:{}}}containerResolution(n,a,s){let l=this.resolver.resolve({id:"container",nodes:this.selectionNodes(n,{})},{container:oW(a,s)},{action:"inspect"});if(l.error&&!bd(l.error))throw new t(l.error,{containerFailure:l.containerFailure});return l}viewport(n,a={}){let s=qr(n);if(s?.searchRaw||s?.platform!=="ios"&&ft(n)!==n)return;return Ji(n,{...this.options,...a})}select(n,a,s={}){let l=F(a,s),c={id:this.snapshotId(n),nodes:this.selectionNodes(n,s)},d={...l,index:s.index,selectionStrategy:s.strategy,caseSensitive:s.caseSensitive,container:s.container??void 0},m=P(l,s,this.viewport(n,s.screenSizeOptions)),p=this.resolver.resolve(c,d,m);if(this.checkResolutionError(p,s),!p.error&&!p.chosen&&s.intentAction==="long-press")return this.select(n,a,{...s,intentAction:"tap"});let u=this.selectionResult(p,n,s.strategy??"first",l);return m.excludeImeKeys&&!p.error&&!p.chosen?this.flagKeyboardOnlyMatch(u,c,d,m):u}flagKeyboardOnlyMatch(n,a,s,l){let c=this.resolver.resolve(a,s,{...l,excludeImeKeys:!1});return c.chosen&&Eu(c.chosen)?{...n,onlyKeyboardKeyMatch:!0}:n}checkResolutionError(n,a){let{error:s,containerFailure:l}=n;if(!s)return;if(ds({container:a.container,selectionStrategy:a.strategy},"nested-container-defined")||!bd(s))throw new t(s,{containerFailure:l})}snapshotId(n){return qr(n)?.captureId??n.frameContext??String(n.updatedAt??"capture")}selectionNodes(n,a){let s=qr(n),l=s?.platform==="ios"?n:ft(n),c=l&&l!==n?this.projection.project(l):s?.nodes??this.projection.project(n);if(!a.scrollableContainer)return c;let d=a.container?this.resolver.resolve({id:"scroll-scope",nodes:c},a.container,{action:"inspect"}).chosen:void 0,m=(p)=>{let u=p;while(u){if(u.affordances.includes("scroll"))return!0;if(u===d)break;u=u.parentIndex===void 0?void 0:c[u.parentIndex]}return!1};return c.map((p)=>m(p)?p:{...p,affordances:[]})}selectionResult(n,a,s,l){let c=ba(n,l),d=h(n.candidates);return{element:n.chosen?.element??null,...c?.element?{matchedElement:c.element}:{},...qr(a)?{captureId:qr(a).captureId}:{},indexInMatches:n.indexInMatches??-1,totalMatches:n.candidates.length,...d>0&&d<n.candidates.length?{tappableMatches:d}:{},strategy:s}}}async function B(n,a,s){o(s);try{let l=await Nj(n,a,s);if(o(s),!l.length)e.debug("Android action display list is empty; retaining prior-observation guidance.");return l}catch(l){if(o(s),l instanceof Error&&l.name==="AbortError")throw l;return e.warn(`Unable to read Android action displays: ${r(l)}`,l),[]}}function M(n,a){return n.map((s)=>{let l=s.uniqueId&&Mg(s.uniqueId)||s.logicalId,c=a.displays?.panels.find((d)=>d.key===l)?.role;return{key:l,role:c}})}async function H(n,a,s,l){if(n.platform!=="android"||!n.displays?.panels.length)return;let c=await B(s,n.displays.panels,l);if(!c.length||Ak(c,a.key)!==void 0)return;let d=M(c,n),m=n.displays.postures.length>0;throw new Kn(AP(a.key,a.role,d,{hasPostures:m,pinned:xu()!==void 0}),{disconnectedPanel:{panel:a,connectedPanels:d.map(({key:p,role:u})=>({key:p,role:u??"unknown"})),hasPostures:m}})}function sW(n,a=R){let s=a.renderedDisplaySessions();if(!s)return;let l=s.getSessionForDevice(n);if(!l)return;let c=s.getLastRenderedDisplayKey(l);return c===void 0?void 0:{display:{key:c,generation:s.getLastRenderedDisplayGeneration(l)},displayRevision:s.getLastRenderedDisplayRevision(l)}}function K(n,a,s){return s(n)?.displayRevision??a.displayRevision}function V(n,a,s,l){let c=s?.display.generation??l.identityRevision(n),d=()=>df(c,l.identityRevision(n),l.currentObservedPanel(n)?.key);return{stale:d,assertCurrent:()=>{if(l.revision(n)!==a)throw d()},assertCallerCurrent:(u)=>{if(u!==void 0&&u!==a)throw d()}}}async function gte(n,a,s){return a===void 0?void 0:(await U(n,a,s)).displayId}async function U(n,a,s){let l=(s.lastRenderedObservation??sW)(n.deviceId),c=Ai(n,a,{focusedPanelKey:l?.display.key,activePanelKey:l?.display.key,posture:l?.display.posture}),d=await new hr(i).logicalIdForPanel(n,s.adb,c.key,s.signal);return{key:c.key,displayId:d}}async function z(n,a,s,l){if(n.platform==="ios")return;if(n.platform!=="android")throw new t(`Unsupported platform: ${n.platform}`);return new hr(i).logicalIdForPanel(n,a,s,l)}function g(n,a){return{...vc,display:n,freshness:"cached-ok",signal:a}}async function Wi(n,a,s,{adb:l,...c}){let{lastRenderedObservation:d=sW,signal:m,transitions:p=Ce}=c,u=d(n.deviceId),v=p.revision(n.deviceId),{stale:E,assertCurrent:f,assertCallerCurrent:w}=V(n.deviceId,v,u,p),y=Ai(n,a,{focusedPanelKey:u?.display.key,activePanelKey:u?.display.key,posture:u?.display.posture}),C=n.platform==="ios"?await s.execute(g(a,m)):void 0;if(u?.display.key!==y.key)throw await H(n,y,l,m),new t(`Coordinates for display "${y.key}" require a prior observation of that panel. Re-observe display "${y.key}" and retry.`);let A=K(n.deviceId,u,d);w(A);let b=C??await s.execute(g(a,m));if(f(),b.display.key!==y.key)throw E();let k=await z(n,l,y.key,m);return f(),{observation:b,displayId:k,followUpDisplay:h$(n,a,y.key),assertCurrent:f}}async function bL(n,a,s,{stale:l,signal:c}){o(c),n.assertCurrent();try{let{hierarchy:d}=await a.capture({freshness:"fresh",searchRaw:N.isRawElementSearchEnabled(),timeoutMs:s,signal:c,displayId:n.displayId??0});if(n.assertCurrent(),d.displayId!==(n.displayId??0))throw l();return d}catch(d){if(n.assertCurrent(),d instanceof Ee)throw d;return o(c),e.warn(`Fresh display capture failed: ${r(d)}`,d),null}}
|
|
3
|
-
export{oW,ds,Ca,Wh,hte,vr,sW,gte,Wi,bL};
|
|
4
|
-
|
|
5
|
-
//# debugId=33C64491957B0F3264756E2164756E21
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
function D(e,r,t,o,n){if(o==="m")throw TypeError("Private method is not writable");if(o==="a"&&!n)throw TypeError("Private accessor was defined without a setter");if(typeof r==="function"?e!==r||!n:!r.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?n.call(e,t):n?n.value=t:r.set(e,t),t}function d(e,r,t,o){if(t==="a"&&!o)throw TypeError("Private accessor was defined without a getter");if(typeof r==="function"?e!==r||!o:!r.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?o:t==="a"?o.call(e):o?o.value:r.get(e)}function pu(e){return typeof e==="object"&&e!==null&&(("name"in e)&&e.name==="AbortError"||("message"in e)&&String(e.message).includes("FetchRequestCanceledException"))}var fw=(e)=>{if(e instanceof Error)return e;if(typeof e==="object"&&e!==null){try{let r=Object.prototype.toString.call(e);if(r==="[object Error]"||r==="[object DOMException]"){let t=Error(e.message,e.cause?{cause:e.cause}:{});if(e.stack)t.stack=e.stack;if(e.cause&&!t.cause)t.cause=e.cause;if(e.name)t.name=e.name;return t}}catch{}try{return Error(JSON.stringify(e))}catch{}}return Error(e)};var Z=(()=>{class e extends Error{constructor(r,t){super(r,t);Object.defineProperty(this,"name",{value:new.target._errorName,writable:!0,configurable:!0})}}return e._errorName="AnthropicError",e})(),Qr=(()=>{class e extends Z{constructor(r,t,o,n,a){super(`${e.makeMessage(r,t,o)}`);this.status=r,this.headers=n,this.requestID=n?.get("request-id"),this.workspaceID=n?.get("anthropic-workspace-id"),this.error=t;let s=t??{};this.apiMessage=s.error?.message??null,this.type=a??s.error?.type??null;let l=s.error?.details?.error_code;this.errorCode=typeof l==="string"?l:null,this.details=s.error?.details??null}static makeMessage(r,t,o){let n=t?.message?typeof t.message==="string"?t.message:JSON.stringify(t.message):t?JSON.stringify(t):o;if(r&&n)return`${r} ${n}`;if(r)return`${r} status code (no body)`;if(n)return n;return"(no status code or body)"}static generate(r,t,o,n){if(!r||!n)return new yv({message:o,cause:fw(t)});let a=t,s=b.get(r);if(s)return new s(r,a,o,n);if(r>=500)return new yT(r,a,o,n);return new e(r,a,o,n)}}return e._errorName="APIError",e})(),ea=(()=>{class e extends Qr{constructor({message:r}={}){super(void 0,void 0,r||"Request was aborted.",void 0)}}return e._errorName="APIUserAbortError",e})(),yv=(()=>{class e extends Qr{constructor({message:r,cause:t}){super(void 0,void 0,r||"Connection error.",void 0);if(t)this.cause=t}}return e._errorName="APIConnectionError",e})(),rL=(()=>{class e extends yv{constructor({message:r}={}){super({message:r??"Request timed out."})}}return e._errorName="APIConnectionTimeoutError",e})(),Xee=(()=>{class e extends Z{constructor(r,{cause:t}={}){super(r??"Retryable error.");if(t!==void 0)this.cause=t}}return e._errorName="RetryableError",e})(),He=(()=>{class e extends Qr{}return e._errorName="BadRequestError",e})(),W5=(()=>{class e extends Qr{}return e._errorName="AuthenticationError",e})(),as=(()=>{class e extends Qr{}return e._errorName="PermissionDeniedError",e})(),Em=(()=>{class e extends Qr{}return e._errorName="NotFoundError",e})(),z5=(()=>{class e extends Qr{}return e._errorName="RequestTimeoutError",e})(),Xc=(()=>{class e extends Qr{}return e._errorName="ConflictError",e})(),nL=(()=>{class e extends Qr{}return e._errorName="PreconditionFailedError",e})(),iL=(()=>{class e extends Qr{}return e._errorName="ContentTooLargeError",e})(),j5=(()=>{class e extends Qr{}return e._errorName="UnprocessableEntityError",e})(),PC=(()=>{class e extends Qr{}return e._errorName="RateLimitError",e})(),K5=(()=>{class e extends Qr{}return e._errorName="RequestHeaderFieldsTooLargeError",e})(),G5=(()=>{class e extends Qr{}return e._errorName="ClientClosedRequestError",e})(),yT=(()=>{class e extends Qr{}return e._errorName="InternalServerError",e})(),Y5=(()=>{class e extends yT{}return e._errorName="NotImplementedError",e})(),hw=(()=>{class e extends yT{}return e._errorName="ServiceUnavailableError",e})(),J5=(()=>{class e extends yT{}return e._errorName="GatewayTimeoutError",e})(),oL=(()=>{class e extends yT{}return e._errorName="OverloadedError",e})(),b=new Map([[400,He],[401,W5],[403,as],[404,Em],[408,z5],[409,Xc],[412,nL],[413,iL],[422,j5],[429,PC],[431,K5],[499,G5],[501,Y5],[503,hw],[504,J5],[529,oL]]);var E=/^[a-z][a-z0-9+.-]*:/i,Zee=(e)=>E.test(e),yc=(e)=>(yc=Array.isArray,yc(e)),sL=yc;function AC(e){if(typeof e!=="object")return{};return e??{}}function X5(e){if(!e)return!0;for(let r in e)return!1;return!0}function x(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function qo(e){return e!=null&&typeof e==="object"&&!Array.isArray(e)}var NV=(e,r)=>{if(typeof r!=="number"||!Number.isInteger(r))throw new Z(`${e} must be an integer`);if(r<0)throw new Z(`${e} must be a positive integer`);return r},vT=["apiKey","authToken","credentials","config","profile"];var FV=(e)=>{try{return JSON.parse(e)}catch(r){return}};function np(e){}function Qee(e){let r=0;for(let n of e)r+=n.length;let t=new Uint8Array(r),o=0;for(let n of e)t.set(n,o),o+=n.length;return t}var m;function gw(e){let r;return(m??(r=new globalThis.TextEncoder,m=r.encode.bind(r)))(e)}var y;function yw(e){let r;return(y??(r=new globalThis.TextDecoder,y=r.decode.bind(r)))(e)}var Ft=(e)=>{if(typeof globalThis.process<"u")return globalThis.process.env?.[e]?.trim()||void 0;if(typeof globalThis.Deno<"u")return globalThis.Deno.env?.get?.(e)?.trim()||void 0;return};var aL="warn",u={off:0,error:200,warn:300,info:400,debug:500},LV=(e,r,t)=>{if(!e)return;if(x(u,e))return e;t.warn(`${r} was set to ${JSON.stringify(e)}, expected one of ${JSON.stringify(Object.keys(u))}`);return};function i(){}function c(e,r,t){if(!r||u[e]>u[t])return i;else return r[e].bind(r)}var _={error:i,warn:i,info:i,debug:i},g=new WeakMap;function f(e,r){let t=g.get(e);if(t&&t[0]===r)return t[1];let o={error:c("error",e,r),warn:c("warn",e,r),info:c("info",e,r),debug:c("debug",e,r)};return g.set(e,[r,o]),o}function tt(e){let r=e.logger,t=e.logLevel??"off";if(!r)return _;return f(r,t)}var h,p;function BV(){let e=Ft("ANTHROPIC_LOG");if(!p||e!==h)h=e,p=f(console,LV(e,"process.env['ANTHROPIC_LOG']",f(console,aL))??aL);return p}function Hh(e,r,t){if(e.debug===i)return;e.debug(r,N(t))}var N=(e)=>{if(e.options)e.options={...e.options},delete e.options.headers,delete e.options.__span;if(e.headers)e.headers=Object.fromEntries((e.headers instanceof Headers?[...e.headers]:Object.entries(e.headers)).map(([r,t])=>[r,r.toLowerCase()==="authorization"||r.toLowerCase()==="proxy-authorization"||r.toLowerCase()==="api-key"||r.toLowerCase()==="x-api-key"||r.toLowerCase()==="x-amz-security-token"||r.toLowerCase()==="cookie"||r.toLowerCase()==="set-cookie"?"***":t]));if("retryOfRequestLogID"in e){if(e.retryOfRequestLogID)e.retryOf=e.retryOfRequestLogID;delete e.retryOfRequestLogID}return e};function ta(e,r){return e instanceof Qr&&e.status===r}function O(e){return e instanceof Qr&&typeof e.status==="number"&&e.status>=400&&e.status<500}function bT(e){return O(e)&&!ta(e,408)&&!ta(e,409)&&!ta(e,429)}function $V(e,r,t){return Math.min(r*2**e,t)}function ete(e,r){return e+Math.random()*(r-e)}function UV(e){return e*(1-Math.random()*0.25)}var Ot=(()=>{class e extends Error{constructor(r){let t=typeof r==="string"?r:r.map((o)=>{if(o.type==="text")return o.text;return`[${o.type}]`}).join(" ");super(t);this.name="ToolError",this.content=r}}return e})();var Z5=15000,w=5000;function cL(e,r){if(!(e>=w))throw new Z(`${r} must be at least ${w}ms (got ${e}); to run without memory sync, pass \`memorySyncIntervalMs: null\` to the worker instead`)}function ST(){let e,r;return{promise:new Promise((o,n)=>{e=o,r=n}),resolve:e,reject:r}}
|
|
3
|
-
export{D,d,pu,fw,Z,Qr,ea,yv,rL,Xee,He,W5,as,Em,z5,Xc,nL,iL,j5,PC,K5,G5,yT,Y5,hw,J5,oL,Zee,yc,sL,AC,X5,qo,NV,vT,FV,np,Qee,gw,yw,Ft,aL,LV,tt,BV,Hh,ta,bT,$V,ete,UV,Ot,Z5,cL,ST};
|
|
4
|
-
|
|
5
|
-
//# debugId=B1F61A82ABE1B0FE64756E2164756E21
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Gl,ON,Ta,Yl,MN,NN,Jl,sq,hA,FN,Sr,Cs,LN,BN,Xl,$N,NI,s4,UN,oc,nm,wS,$y,Jt,Zl,Uy,BI}from"./chunk-0jrrsnc9.js";import"./chunk-hrfytkxh.js";import"./chunk-2f9rkmhx.js";import"./chunk-0n6swkwg.js";import"./chunk-00167wan.js";import"./chunk-284ptqa4.js";import"./chunk-w7hkv422.js";import"./chunk-7rz9898k.js";import"./chunk-fgb98zjj.js";import"./chunk-3xkpk44w.js";import"./chunk-0qsy1qsx.js";import"./chunk-rvvy1bte.js";import"./chunk-r5bxavdx.js";import"./chunk-yf7ympyz.js";import"./chunk-4hw3665t.js";import"./chunk-5d2hft6c.js";import"./chunk-z637nqg8.js";import"./chunk-58wzr3mt.js";export{ON as ANONYMOUS_ACQUISITION_SESSION_SOURCE,NN as BIOMETRIC_ENROLLMENT_RESTORE_TIMEOUT_MS,sq as CLOCK_RESTORE_TIMEOUT_MS,nm as DEVICE_RESTART_RECOVERY_WINDOW_MS,$y as DaemonSessionCreationRejectedError,MN as KEEP_SCREEN_AWAKE_RESTORE_TIMEOUT_MS,hA as NETWORK_CONDITION_RESTORE_RETRY_DELAY_MS,Jl as NETWORK_CONDITION_RESTORE_TIMEOUT_MS,UN as PLAN_AUTO_RELEASE_REASON,Ta as PLAN_LABEL_SESSION_SOURCE,Xl as SESSION_CREATE_WAIT_TIMEOUT_MS,$N as SESSION_CREATION_TIMEOUT_REASON,s4 as SESSION_REHYDRATION_CONCURRENCY,NI as SESSION_REHYDRATION_DEADLINE_MS,Cs as SESSION_RELEASE_PERSIST_TIMEOUT_MS,LN as SESSION_RELEASE_STUCK_DEADLINE_MS,Sr as SESSION_RELEASE_TEARDOWN_CAP_MS,FN as SESSION_SETUP_DRAIN_TIMEOUT_MS,BI as SessionManager,Zl as SessionRecoveryIdentityLossError,Jt as TerminalSessionError,Uy as UnissuedSessionError,wS as getDefaultPreFirstHeartbeatGraceMs,oc as getDefaultSessionHeartbeatTimeoutMs,BN as getSessionReleaseStuckDeadlineMs,Yl as isAnonymousAcquisitionSession,Gl as releaseWasForced};
|
|
3
|
-
|
|
4
|
-
//# debugId=4FE1073D07ECA96464756E2164756E21
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{DJ}from"./chunk-sfv61xjb.js";import"./chunk-e98dqnc9.js";import"./chunk-jh6vhqzx.js";import"./chunk-7rz9898k.js";import"./chunk-0qsy1qsx.js";import"./chunk-v6pya0dm.js";import"./chunk-r5bxavdx.js";import"./chunk-yf7ympyz.js";import"./chunk-4hw3665t.js";import"./chunk-5d2hft6c.js";import"./chunk-z637nqg8.js";import"./chunk-58wzr3mt.js";export{DJ as getSharedStorageReadService};
|
|
3
|
-
|
|
4
|
-
//# debugId=93668D07BE40B7CD64756E2164756E21
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{EM,A1}from"./chunk-11m8wj8j.js";import"./chunk-e98dqnc9.js";import"./chunk-jh6vhqzx.js";import"./chunk-7rz9898k.js";import"./chunk-3xkpk44w.js";import"./chunk-0qsy1qsx.js";import"./chunk-v6pya0dm.js";import"./chunk-r5bxavdx.js";import"./chunk-yf7ympyz.js";import"./chunk-4hw3665t.js";import"./chunk-5d2hft6c.js";import"./chunk-z637nqg8.js";import"./chunk-58wzr3mt.js";export{A1 as describeDefaultAppFileProviderCoverage,EM as getAppFileService};
|
|
3
|
-
|
|
4
|
-
//# debugId=585F582715F0CF4864756E2164756E21
|