@dfinity/ledger-icp
Version:
A library for interfacing with the ICP ledger on the Internet Computer.
3 lines (2 loc) • 17.6 kB
JavaScript
import{a as ke,c as Ae}from"./chunk-CQ4GZJ2C.js";import{Canister as Ke,createServices as Ye}from"@dfinity/utils";var he=({IDL:e})=>{let o=e.Vec(e.Nat8),t=e.Record({owner:e.Principal,subaccount:e.Opt(o)}),a=e.Record({icrc2:e.Bool}),n=e.Record({icrc1_minting_account:e.Opt(t),feature_flags:e.Opt(a)}),c=e.Record({e8s:e.Nat64}),_=e.Text,T=e.Record({secs:e.Nat64,nanos:e.Nat32}),q=e.Record({num_blocks_to_archive:e.Nat64,max_transactions_per_response:e.Opt(e.Nat64),trigger_threshold:e.Nat64,more_controller_ids:e.Opt(e.Vec(e.Principal)),max_message_size_bytes:e.Opt(e.Nat64),cycles_for_archive_creation:e.Opt(e.Nat64),node_max_memory_size_bytes:e.Opt(e.Nat64),controller_id:e.Principal}),C=e.Record({send_whitelist:e.Vec(e.Principal),token_symbol:e.Opt(e.Text),transfer_fee:e.Opt(c),minting_account:_,transaction_window:e.Opt(T),max_message_size_bytes:e.Opt(e.Nat64),icrc1_minting_account:e.Opt(t),archive_options:e.Opt(q),initial_values:e.Vec(e.Tuple(_,c)),token_name:e.Opt(e.Text),feature_flags:e.Opt(a)}),He=e.Variant({Upgrade:e.Opt(n),Init:C}),s=e.Vec(e.Nat8),P=e.Record({account:s}),E=e.Record({account:_}),U=e.Record({canister_id:e.Principal}),M=e.Record({archives:e.Vec(U)}),r=e.Nat,S=e.Variant({Int:e.Int,Nat:e.Nat,Blob:e.Vec(e.Nat8),Text:e.Text}),d=e.Nat64,G=e.Record({to:t,fee:e.Opt(r),memo:e.Opt(e.Vec(e.Nat8)),from_subaccount:e.Opt(o),created_at_time:e.Opt(d),amount:r}),u=e.Nat,Q=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,BadBurn:e.Record({min_burn_amount:r}),Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),CreatedInFuture:e.Record({ledger_time:e.Nat64}),TooOld:e.Null,InsufficientFunds:e.Record({balance:r})}),z=e.Variant({Ok:u,Err:Q}),y=e.Record({utc_offset_minutes:e.Opt(e.Int16),language:e.Text}),H=e.Record({metadata:y,device_spec:e.Opt(e.Variant({GenericDisplay:e.Null,LineDisplay:e.Record({characters_per_line:e.Nat16,lines_per_page:e.Nat16})}))}),J=e.Record({arg:e.Vec(e.Nat8),method:e.Text,user_preferences:H}),$=e.Variant({LineDisplayMessage:e.Record({pages:e.Vec(e.Record({lines:e.Vec(e.Text)}))}),GenericDisplayMessage:e.Text}),K=e.Record({metadata:y,consent_message:$}),g=e.Record({description:e.Text}),Y=e.Variant({GenericError:e.Record({description:e.Text,error_code:e.Nat}),InsufficientPayment:g,UnsupportedCanisterCall:g,ConsentMessageUnavailable:g}),j=e.Variant({Ok:K,Err:Y}),W=e.Record({account:t,spender:t}),X=e.Record({allowance:r,expires_at:e.Opt(d)}),Z=e.Record({fee:e.Opt(r),memo:e.Opt(e.Vec(e.Nat8)),from_subaccount:e.Opt(o),created_at_time:e.Opt(d),amount:r,expected_allowance:e.Opt(r),expires_at:e.Opt(d),spender:t}),I=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),AllowanceChanged:e.Record({current_allowance:r}),CreatedInFuture:e.Record({ledger_time:e.Nat64}),TooOld:e.Null,Expired:e.Record({ledger_time:e.Nat64}),InsufficientFunds:e.Record({balance:r})}),D=e.Variant({Ok:u,Err:I}),L=e.Record({to:t,fee:e.Opt(r),spender_subaccount:e.Opt(o),from:t,memo:e.Opt(e.Vec(e.Nat8)),created_at_time:e.Opt(d),amount:r}),ee=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,InsufficientAllowance:e.Record({allowance:r}),BadBurn:e.Record({min_burn_amount:r}),Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),CreatedInFuture:e.Record({ledger_time:d}),TooOld:e.Null,InsufficientFunds:e.Record({balance:r})}),te=e.Variant({Ok:u,Err:ee}),i=e.Nat64,f=e.Record({start:i,length:e.Nat64}),x=e.Nat64,p=e.Record({timestamp_nanos:e.Nat64}),ce=e.Variant({Approve:e.Record({fee:c,from:s,allowance_e8s:e.Int,allowance:c,expected_allowance:e.Opt(c),expires_at:e.Opt(p),spender:s}),Burn:e.Record({from:s,amount:c,spender:e.Opt(s)}),Mint:e.Record({to:s,amount:c}),Transfer:e.Record({to:s,fee:c,from:s,amount:c,spender:e.Opt(e.Vec(e.Nat8))})}),re=e.Record({memo:x,icrc1_memo:e.Opt(e.Vec(e.Nat8)),operation:e.Opt(ce),created_at_time:p}),b=e.Record({transaction:re,timestamp:p,parent_hash:e.Opt(e.Vec(e.Nat8))}),ne=e.Record({blocks:e.Vec(b)}),F=e.Variant({BadFirstBlockIndex:e.Record({requested_index:i,first_valid_index:i}),Other:e.Record({error_message:e.Text,error_code:e.Nat64})}),ae=e.Variant({Ok:ne,Err:F}),oe=e.Func([f],[ae],[]),se=e.Record({callback:oe,start:i,length:e.Nat64}),ie=e.Record({certificate:e.Opt(e.Vec(e.Nat8)),blocks:e.Vec(b),chain_length:e.Nat64,first_block_index:i,archived_blocks:e.Vec(se)}),de=e.Record({callback:e.Func([f],[e.Variant({Ok:e.Vec(e.Vec(e.Nat8)),Err:F})],[]),start:e.Nat64,length:e.Nat64}),ue=e.Record({certificate:e.Opt(e.Vec(e.Nat8)),blocks:e.Vec(e.Vec(e.Nat8)),chain_length:e.Nat64,first_block_index:e.Nat64,archived_blocks:e.Vec(de)}),le=e.Record({to:_,fee:c,memo:x,from_subaccount:e.Opt(o),created_at_time:e.Opt(p),amount:c}),_e=e.Record({to:s,fee:c,memo:x,from_subaccount:e.Opt(o),created_at_time:e.Opt(p),amount:c}),pe=e.Variant({TxTooOld:e.Record({allowed_window_nanos:e.Nat64}),BadFee:e.Record({expected_fee:c}),TxDuplicate:e.Record({duplicate_of:i}),TxCreatedInFuture:e.Null,InsufficientFunds:e.Record({balance:c})}),me=e.Variant({Ok:i,Err:pe}),fe=e.Record({}),Re=e.Record({transfer_fee:c});return e.Service({account_balance:e.Func([P],[c],[]),account_balance_dfx:e.Func([E],[c],[]),account_identifier:e.Func([t],[s],[]),archives:e.Func([],[M],[]),decimals:e.Func([],[e.Record({decimals:e.Nat32})],[]),icrc10_supported_standards:e.Func([],[e.Vec(e.Record({url:e.Text,name:e.Text}))],[]),icrc1_balance_of:e.Func([t],[r],[]),icrc1_decimals:e.Func([],[e.Nat8],[]),icrc1_fee:e.Func([],[r],[]),icrc1_metadata:e.Func([],[e.Vec(e.Tuple(e.Text,S))],[]),icrc1_minting_account:e.Func([],[e.Opt(t)],[]),icrc1_name:e.Func([],[e.Text],[]),icrc1_supported_standards:e.Func([],[e.Vec(e.Record({url:e.Text,name:e.Text}))],[]),icrc1_symbol:e.Func([],[e.Text],[]),icrc1_total_supply:e.Func([],[r],[]),icrc1_transfer:e.Func([G],[z],[]),icrc21_canister_call_consent_message:e.Func([J],[j],[]),icrc2_allowance:e.Func([W],[X],[]),icrc2_approve:e.Func([Z],[D],[]),icrc2_transfer_from:e.Func([L],[te],[]),is_ledger_ready:e.Func([],[e.Bool],[]),name:e.Func([],[e.Record({name:e.Text})],[]),query_blocks:e.Func([f],[ie],[]),query_encoded_blocks:e.Func([f],[ue],[]),send_dfx:e.Func([le],[i],[]),symbol:e.Func([],[e.Record({symbol:e.Text})],[]),transfer:e.Func([_e],[me],[]),transfer_fee:e.Func([fe],[Re],[])})};var we=({IDL:e})=>{let o=e.Vec(e.Nat8),t=e.Record({owner:e.Principal,subaccount:e.Opt(o)}),a=e.Record({icrc2:e.Bool}),n=e.Record({icrc1_minting_account:e.Opt(t),feature_flags:e.Opt(a)}),c=e.Record({e8s:e.Nat64}),_=e.Text,T=e.Record({secs:e.Nat64,nanos:e.Nat32}),q=e.Record({num_blocks_to_archive:e.Nat64,max_transactions_per_response:e.Opt(e.Nat64),trigger_threshold:e.Nat64,more_controller_ids:e.Opt(e.Vec(e.Principal)),max_message_size_bytes:e.Opt(e.Nat64),cycles_for_archive_creation:e.Opt(e.Nat64),node_max_memory_size_bytes:e.Opt(e.Nat64),controller_id:e.Principal}),C=e.Record({send_whitelist:e.Vec(e.Principal),token_symbol:e.Opt(e.Text),transfer_fee:e.Opt(c),minting_account:_,transaction_window:e.Opt(T),max_message_size_bytes:e.Opt(e.Nat64),icrc1_minting_account:e.Opt(t),archive_options:e.Opt(q),initial_values:e.Vec(e.Tuple(_,c)),token_name:e.Opt(e.Text),feature_flags:e.Opt(a)}),He=e.Variant({Upgrade:e.Opt(n),Init:C}),s=e.Vec(e.Nat8),P=e.Record({account:s}),E=e.Record({account:_}),U=e.Record({canister_id:e.Principal}),M=e.Record({archives:e.Vec(U)}),r=e.Nat,S=e.Variant({Int:e.Int,Nat:e.Nat,Blob:e.Vec(e.Nat8),Text:e.Text}),d=e.Nat64,G=e.Record({to:t,fee:e.Opt(r),memo:e.Opt(e.Vec(e.Nat8)),from_subaccount:e.Opt(o),created_at_time:e.Opt(d),amount:r}),u=e.Nat,Q=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,BadBurn:e.Record({min_burn_amount:r}),Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),CreatedInFuture:e.Record({ledger_time:e.Nat64}),TooOld:e.Null,InsufficientFunds:e.Record({balance:r})}),z=e.Variant({Ok:u,Err:Q}),y=e.Record({utc_offset_minutes:e.Opt(e.Int16),language:e.Text}),H=e.Record({metadata:y,device_spec:e.Opt(e.Variant({GenericDisplay:e.Null,LineDisplay:e.Record({characters_per_line:e.Nat16,lines_per_page:e.Nat16})}))}),J=e.Record({arg:e.Vec(e.Nat8),method:e.Text,user_preferences:H}),$=e.Variant({LineDisplayMessage:e.Record({pages:e.Vec(e.Record({lines:e.Vec(e.Text)}))}),GenericDisplayMessage:e.Text}),K=e.Record({metadata:y,consent_message:$}),g=e.Record({description:e.Text}),Y=e.Variant({GenericError:e.Record({description:e.Text,error_code:e.Nat}),InsufficientPayment:g,UnsupportedCanisterCall:g,ConsentMessageUnavailable:g}),j=e.Variant({Ok:K,Err:Y}),W=e.Record({account:t,spender:t}),X=e.Record({allowance:r,expires_at:e.Opt(d)}),Z=e.Record({fee:e.Opt(r),memo:e.Opt(e.Vec(e.Nat8)),from_subaccount:e.Opt(o),created_at_time:e.Opt(d),amount:r,expected_allowance:e.Opt(r),expires_at:e.Opt(d),spender:t}),I=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),AllowanceChanged:e.Record({current_allowance:r}),CreatedInFuture:e.Record({ledger_time:e.Nat64}),TooOld:e.Null,Expired:e.Record({ledger_time:e.Nat64}),InsufficientFunds:e.Record({balance:r})}),D=e.Variant({Ok:u,Err:I}),L=e.Record({to:t,fee:e.Opt(r),spender_subaccount:e.Opt(o),from:t,memo:e.Opt(e.Vec(e.Nat8)),created_at_time:e.Opt(d),amount:r}),ee=e.Variant({GenericError:e.Record({message:e.Text,error_code:e.Nat}),TemporarilyUnavailable:e.Null,InsufficientAllowance:e.Record({allowance:r}),BadBurn:e.Record({min_burn_amount:r}),Duplicate:e.Record({duplicate_of:u}),BadFee:e.Record({expected_fee:r}),CreatedInFuture:e.Record({ledger_time:d}),TooOld:e.Null,InsufficientFunds:e.Record({balance:r})}),te=e.Variant({Ok:u,Err:ee}),i=e.Nat64,f=e.Record({start:i,length:e.Nat64}),x=e.Nat64,p=e.Record({timestamp_nanos:e.Nat64}),ce=e.Variant({Approve:e.Record({fee:c,from:s,allowance_e8s:e.Int,allowance:c,expected_allowance:e.Opt(c),expires_at:e.Opt(p),spender:s}),Burn:e.Record({from:s,amount:c,spender:e.Opt(s)}),Mint:e.Record({to:s,amount:c}),Transfer:e.Record({to:s,fee:c,from:s,amount:c,spender:e.Opt(e.Vec(e.Nat8))})}),re=e.Record({memo:x,icrc1_memo:e.Opt(e.Vec(e.Nat8)),operation:e.Opt(ce),created_at_time:p}),b=e.Record({transaction:re,timestamp:p,parent_hash:e.Opt(e.Vec(e.Nat8))}),ne=e.Record({blocks:e.Vec(b)}),F=e.Variant({BadFirstBlockIndex:e.Record({requested_index:i,first_valid_index:i}),Other:e.Record({error_message:e.Text,error_code:e.Nat64})}),ae=e.Variant({Ok:ne,Err:F}),oe=e.Func([f],[ae],["query"]),se=e.Record({callback:oe,start:i,length:e.Nat64}),ie=e.Record({certificate:e.Opt(e.Vec(e.Nat8)),blocks:e.Vec(b),chain_length:e.Nat64,first_block_index:i,archived_blocks:e.Vec(se)}),de=e.Record({callback:e.Func([f],[e.Variant({Ok:e.Vec(e.Vec(e.Nat8)),Err:F})],["query"]),start:e.Nat64,length:e.Nat64}),ue=e.Record({certificate:e.Opt(e.Vec(e.Nat8)),blocks:e.Vec(e.Vec(e.Nat8)),chain_length:e.Nat64,first_block_index:e.Nat64,archived_blocks:e.Vec(de)}),le=e.Record({to:_,fee:c,memo:x,from_subaccount:e.Opt(o),created_at_time:e.Opt(p),amount:c}),_e=e.Record({to:s,fee:c,memo:x,from_subaccount:e.Opt(o),created_at_time:e.Opt(p),amount:c}),pe=e.Variant({TxTooOld:e.Record({allowed_window_nanos:e.Nat64}),BadFee:e.Record({expected_fee:c}),TxDuplicate:e.Record({duplicate_of:i}),TxCreatedInFuture:e.Null,InsufficientFunds:e.Record({balance:c})}),me=e.Variant({Ok:i,Err:pe}),fe=e.Record({}),Re=e.Record({transfer_fee:c});return e.Service({account_balance:e.Func([P],[c],["query"]),account_balance_dfx:e.Func([E],[c],["query"]),account_identifier:e.Func([t],[s],["query"]),archives:e.Func([],[M],["query"]),decimals:e.Func([],[e.Record({decimals:e.Nat32})],["query"]),icrc10_supported_standards:e.Func([],[e.Vec(e.Record({url:e.Text,name:e.Text}))],["query"]),icrc1_balance_of:e.Func([t],[r],["query"]),icrc1_decimals:e.Func([],[e.Nat8],["query"]),icrc1_fee:e.Func([],[r],["query"]),icrc1_metadata:e.Func([],[e.Vec(e.Tuple(e.Text,S))],["query"]),icrc1_minting_account:e.Func([],[e.Opt(t)],["query"]),icrc1_name:e.Func([],[e.Text],["query"]),icrc1_supported_standards:e.Func([],[e.Vec(e.Record({url:e.Text,name:e.Text}))],["query"]),icrc1_symbol:e.Func([],[e.Text],["query"]),icrc1_total_supply:e.Func([],[r],["query"]),icrc1_transfer:e.Func([G],[z],[]),icrc21_canister_call_consent_message:e.Func([J],[j],[]),icrc2_allowance:e.Func([W],[X],["query"]),icrc2_approve:e.Func([Z],[D],[]),icrc2_transfer_from:e.Func([L],[te],[]),is_ledger_ready:e.Func([],[e.Bool],["query"]),name:e.Func([],[e.Record({name:e.Text})],["query"]),query_blocks:e.Func([f],[ie],["query"]),query_encoded_blocks:e.Func([f],[ue],["query"]),send_dfx:e.Func([le],[i],[]),symbol:e.Func([],[e.Record({symbol:e.Text})],["query"]),transfer:e.Func([_e],[me],[]),transfer_fee:e.Func([fe],[Re],["query"])})};import{arrayOfNumberToUint8Array as Je,isNullish as $e,toNullable as l}from"@dfinity/utils";var Xe=BigInt(1095062083),Ze=BigInt(1347768404),A=BigInt(1e4),Ie=BigInt(1e8);var ve=e=>({e8s:e}),Be=({to:e,amount:o,memo:t,fee:a,fromSubAccount:n,createdAt:c})=>({to:e.toUint8Array(),fee:ve(a??A),amount:ve(o),memo:t??BigInt(0),created_at_time:c!==void 0?[{timestamp_nanos:c}]:[],from_subaccount:n===void 0?[]:[Je(n)]}),qe=({fromSubAccount:e,to:o,amount:t,fee:a,icrc1Memo:n,createdAt:c})=>({to:o,fee:l(a??A),amount:t,memo:l(n),created_at_time:l(c),from_subaccount:l(e)}),Ce=({fee:e,createdAt:o,icrc1Memo:t,fromSubAccount:a,expected_allowance:n,expires_at:c,amount:_,...T})=>({...T,fee:l(e??A),memo:l(t),from_subaccount:l(a),created_at_time:l(o),amount:_,expected_allowance:l(n),expires_at:l(c)}),Pe=({userPreferences:{metadata:{utcOffsetMinutes:e,language:o},deriveSpec:t},...a})=>({...a,user_preferences:{metadata:{language:o,utc_offset_minutes:l(e)},device_spec:$e(t)?l():l("GenericDisplay"in t?{GenericDisplay:null}:{LineDisplay:{characters_per_line:t.LineDisplay.charactersPerLine,lines_per_page:t.LineDisplay.linesPerPage}})}});var O=class extends Error{},R=class extends O{},m=class extends O{},N=class extends O{},Ee=class extends R{},Ue=class extends Error{},V=class extends R{constructor(t){super();this.balance=t}},h=class extends R{constructor(t){super();this.allowed_window_secs=t}},w=class extends R{},v=class extends R{constructor(t){super();this.duplicateOf=t}},k=class extends O{constructor(t){super();this.expectedFee=t}},B=class extends m{constructor(t,a){super();this.message=t;this.error_code=a}},ge=class extends m{},xe=class extends m{constructor(t){super();this.duplicateOf=t}},Oe=class extends m{constructor(t){super();this.currentAllowance=t}},Ne=class extends m{},Te=class extends m{},ye=class extends m{constructor(t){super();this.ledgerTime=t}},be=class extends N{},Fe=class extends N{},Ve=class extends N{},Me=e=>"TxDuplicate"in e?new v(e.TxDuplicate.duplicate_of):"InsufficientFunds"in e?new V(e.InsufficientFunds.balance.e8s):"TxCreatedInFuture"in e?new w:"TxTooOld"in e?new h(Number(e.TxTooOld.allowed_window_nanos)):"BadFee"in e?new k(e.BadFee.expected_fee.e8s):new R(`Unknown error type ${JSON.stringify(e)}`),Se=e=>"Duplicate"in e?new v(e.Duplicate.duplicate_of):"InsufficientFunds"in e?new V(e.InsufficientFunds.balance):"CreatedInFuture"in e?new w:"TooOld"in e?new h:"BadFee"in e?new k(e.BadFee.expected_fee):new R(`Unknown error type ${JSON.stringify(e)}`),Ge=e=>"GenericError"in e?new B(e.GenericError.message,e.GenericError.error_code):"TemporarilyUnavailable"in e?new ge:"Duplicate"in e?new xe(e.Duplicate.duplicate_of):"BadFee"in e?new k(e.BadFee.expected_fee):"AllowanceChanged"in e?new Oe(e.AllowanceChanged.current_allowance):"CreatedInFuture"in e?new Ne:"TooOld"in e?new Te:"Expired"in e?new ye(e.Expired.ledger_time):"InsufficientFunds"in e?new V(e.InsufficientFunds.balance):new m(`Unknown error type ${JSON.stringify(e)}`),Qe=e=>"GenericError"in e?new B(e.GenericError.description,e.GenericError.error_code):"InsufficientPayment"in e?new be(e.InsufficientPayment.description):"UnsupportedCanisterCall"in e?new Fe(e.UnsupportedCanisterCall.description):"ConsentMessageUnavailable"in e?new Ve(e.ConsentMessageUnavailable.description):new N(`Unknown error type ${JSON.stringify(e)}`);var ze=class e extends Ke{constructor(){super(...arguments);this.accountBalance=async({accountIdentifier:t,certified:a=!0})=>{let n=Ae(t);return(await(a?this.certifiedService:this.service).account_balance({account:n.toUint8Array()})).e8s};this.metadata=t=>{let{icrc1_metadata:a}=this.caller(t);return a()};this.transactionFee=async(t={certified:!1})=>{let{transfer_fee:a}=this.caller(t),{transfer_fee:{e8s:n}}=await a({});return n};this.transfer=async t=>{let a=Be(t),n=await this.certifiedService.transfer(a);if("Err"in n)throw Me(n.Err);return n.Ok};this.icrc1Transfer=async t=>{let a=qe(t),n=await this.certifiedService.icrc1_transfer(a);if("Err"in n)throw Se(n.Err);return n.Ok};this.icrc2Approve=async t=>{let{icrc2_approve:a}=this.caller({certified:!0}),n=await a(Ce(t));if("Err"in n)throw Ge(n.Err);return n.Ok};this.icrc21ConsentMessage=async t=>{let{icrc21_canister_call_consent_message:a}=this.caller({certified:!0}),n=await a(Pe(t));if("Err"in n)throw Qe(n.Err);return n.Ok}}static create(t={}){let a=t.canisterId??ke,{service:n,certifiedService:c}=Ye({options:{...t,canisterId:a},idlFactory:we,certifiedIdlFactory:he});return new e(a,n,c)}};export{Be as a,qe as b,Ce as c,Pe as d,O as e,R as f,m as g,N as h,Ee as i,Ue as j,V as k,h as l,w as m,v as n,k as o,B as p,ge as q,xe as r,Oe as s,Ne as t,Te as u,ye as v,be as w,Fe as x,Ve as y,Me as z,Se as A,Ge as B,Qe as C,ze as D};
//# sourceMappingURL=chunk-W2HWVSWO.js.map