@abtnode/webapp 1.16.52-beta-20250908-085420-224a58fa → 1.16.52-beta-20250909-073849-4e392ab1
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-V5c9VE3t.js → AdapterDayjs-D65E_hJW.js} +1 -1
- package/dist/assets/{Add-C983Xxy8.js → Add-BuxBWbKv.js} +1 -1
- package/dist/assets/ArrowDropDown-C9tvAge6.js +1 -0
- package/dist/assets/{Autocomplete-DjqVsFBO.js → Autocomplete-CWNFguFL.js} +1 -1
- package/dist/assets/{Breadcrumbs-DUWbDe8e.js → Breadcrumbs-C7nUb_aq.js} +1 -1
- package/dist/assets/{ButtonGroup-Cl7gTm9Q.js → ButtonGroup-Ca-yV-4C.js} +1 -1
- package/dist/assets/{CSSTransition-BCxZd18L.js → CSSTransition-BtkiOWZC.js} +1 -1
- package/dist/assets/{CallMerge-B1r_cCj4.js → CallMerge-D2kp3kEl.js} +1 -1
- package/dist/assets/{CardContent-Dbzg5wyq.js → CardContent-CCKBriwF.js} +1 -1
- package/dist/assets/{ChevronLeft-ax3UHigO.js → ChevronLeft-zMXGyPG9.js} +1 -1
- package/dist/assets/{ChevronRight-CqlYVEsM.js → ChevronRight-BrTU-Laa.js} +1 -1
- package/dist/assets/{Clear-C1ky0VqG.js → Clear-CfUqGbT5.js} +1 -1
- package/dist/assets/{DeleteOutline-DdUUeo5n.js → DeleteOutline-CdS_T1n7.js} +1 -1
- package/dist/assets/{Done-DueUo9UO.js → Done-BMzUfIev.js} +1 -1
- package/dist/assets/{Edit-YsW7O5r6.js → Edit-s_UOOLA4.js} +1 -1
- package/dist/assets/{ErrorOutline-EfUNg4qf.js → ErrorOutline-3Uoca5Wu.js} +1 -1
- package/dist/assets/{FilterList-CXwHvN0d.js → FilterList-oCTR8mcc.js} +1 -1
- package/dist/assets/{Google-lTUwsqy9.js → Google-RsZHy3xt.js} +1 -1
- package/dist/assets/{HelpOutline-BCw-yQQi.js → HelpOutline-Ba2mBnVG.js} +1 -1
- package/dist/assets/{Launch-B7x9htxW.js → Launch-Dj1HRwwB.js} +1 -1
- package/dist/assets/{Link-BaMGrObG.js → Link-D7GjIXxD.js} +1 -1
- package/dist/assets/{ListItemButton-DsaQ2Wd9.js → ListItemButton-B9OsRNX2.js} +1 -1
- package/dist/assets/{ListSubheader-BErtdoID.js → ListSubheader-BNfIC8TR.js} +1 -1
- package/dist/assets/{LoadingButton-DT5VrroN.js → LoadingButton-C2x1AgPO.js} +1 -1
- package/dist/assets/{MoreVert-CScSHXZ3.js → MoreVert-DLy2w-Ib.js} +1 -1
- package/dist/assets/{OpenInNew-RSqDXAHN.js → OpenInNew-XVhTNbF5.js} +1 -1
- package/dist/assets/{Refresh-DW9dbJxn.js → Refresh-D39GYnGD.js} +1 -1
- package/dist/assets/{Search-CDkaJ72m.js → Search-BRG28-bq.js} +1 -1
- package/dist/assets/{Stepper-BWPy-rcR.js → Stepper-D3o-ipys.js} +1 -1
- package/dist/assets/{Switch-BRtydIan.js → Switch-BLUHXgom.js} +1 -1
- package/dist/assets/{TableSearch-BpVsXhRC.js → TableSearch-Cuohy6oG.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-C9wDNGvb.js → ToggleButtonGroup-C6GsXzIq.js} +1 -1
- package/dist/assets/{Verified-RAhSnU3J.js → Verified-Sbsjq85f.js} +1 -1
- package/dist/assets/{VerifiedUser-DOBjtgbs.js → VerifiedUser-BYFzI6ca.js} +1 -1
- package/dist/assets/{ViewList-CdMuVm-B.js → ViewList-BPHxMt8z.js} +1 -1
- package/dist/assets/{_createAggregator-Jctvqw53.js → _createAggregator-DroWaLq8.js} +1 -1
- package/dist/assets/{actions-CZfqqh6l.js → actions-CRcVnE0o.js} +1 -1
- package/dist/assets/{actions-CVRAzq1M.js → actions-pGu7rB8t.js} +1 -1
- package/dist/assets/{agreement-BFlXBhVm.js → agreement-uOUtZf-O.js} +1 -1
- package/dist/assets/api-rtaXucQX.js +1 -0
- package/dist/assets/{appearance-Dj_6VXq4.js → appearance-uCnPBecX.js} +1 -1
- package/dist/assets/{ar-CPI6kJBB.js → ar-DGfbWcRb.js} +1 -1
- package/dist/assets/{audit-logs-CjR_kNDs.js → audit-logs-Betoa8v-.js} +1 -1
- package/dist/assets/{base-chart-DB0C03Fr.js → base-chart-CU08SDh8.js} +1 -1
- package/dist/assets/{blocklet-CdpF9xGA.js → blocklet-CE5XgbbR.js} +1 -1
- package/dist/assets/{chain-DhrkyUZN.js → chain-fyEjDjKA.js} +1 -1
- package/dist/assets/{click-to-copy-Dl43DhC6.js → click-to-copy-DBwd2qVy.js} +1 -1
- package/dist/assets/client-BqXjUJmr.js +1 -0
- package/dist/assets/cloneDeep-_TP0P9Bh.js +1 -0
- package/dist/assets/{collapse-8CbQrzXn.js → collapse-DYizojFh.js} +1 -1
- package/dist/assets/{config-navigation-CBk_ykp5.js → config-navigation-DdVCj7lN.js} +3 -3
- package/dist/assets/{connect-to-ClpTOWYj.js → connect-to-BHJ6ZISO.js} +1 -1
- package/dist/assets/{cssMode-49iKtPO9.js → cssMode-BoRMkbtc.js} +1 -1
- package/dist/assets/{de-DXdF82Jr.js → de-DGZI-Bsh.js} +1 -1
- package/dist/assets/{delete-confirm-VJtte6ge.js → delete-confirm-CEQXI_Kb.js} +1 -1
- package/dist/assets/{depsEqual-C2ZOCVCb.js → depsEqual-ciSeh1BA.js} +1 -1
- package/dist/assets/{detail-CS8Ne5ku.js → detail-jVJpntfg.js} +3 -3
- package/dist/assets/{domains-DtvRW9cp.js → domains-B4zPTt82.js} +1 -1
- package/dist/assets/{download-Bwwfqm7S.js → download-DbzpWKEp.js} +1 -1
- package/dist/assets/{edit.svg-DKSrjOQe.js → edit.svg-CUba2Jvc.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-Btm_v21f.js +1 -0
- package/dist/assets/engine-DvqNxRv5.js +1 -0
- package/dist/assets/{es-Cdb297yS.js → es-CMwFpp7C.js} +1 -1
- package/dist/assets/{fr-CQValz_y.js → fr-eKsI9Vcp.js} +1 -1
- package/dist/assets/{freemarker2-C8jlw7rV.js → freemarker2-BNa_PMdu.js} +1 -1
- package/dist/assets/{get-safe-url-DpaJjz3Y.js → get-safe-url-BKVSUfZ3.js} +1 -1
- package/dist/assets/getValidReactChildren-pQYfZHaB.js +1 -0
- package/dist/assets/{graphqlMode-CAZr8ov7.js → graphqlMode-BLg3m8OF.js} +2 -2
- package/dist/assets/{handlebars-DnqqoaJC.js → handlebars-CdbDI-cc.js} +1 -1
- package/dist/assets/{hi-CAensap9.js → hi-C0JqybmN.js} +1 -1
- package/dist/assets/{html-XDnjykJP.js → html-BvZdPiaT.js} +1 -1
- package/dist/assets/{html-title-O-KFEc2K.js → html-title-BHx37gaF.js} +1 -1
- package/dist/assets/{htmlMode-CSp7N_Hl.js → htmlMode-B7CW9X1N.js} +1 -1
- package/dist/assets/{id-6AFgcYKj.js → id-DHF6PX-M.js} +1 -1
- package/dist/assets/{iframe-CqfQkE2b.js → iframe-BeqfTz4i.js} +1 -1
- package/dist/assets/{index-DjjlF8Uq.js → index-1S2JWh7l.js} +1 -1
- package/dist/assets/{index-ffZ5tAUV.js → index-2e0gieTu.js} +1 -1
- package/dist/assets/{index-B4Gkg81f.js → index-2mNTnhuF.js} +1 -1
- package/dist/assets/{index-Brbh8hNL.js → index-3kgC1Nym.js} +1 -1
- package/dist/assets/{index-wADZnfqx.js → index-6GBe1q15.js} +3 -3
- package/dist/assets/{index-LeZ1xWOy.js → index-7AUqhPuK.js} +1 -1
- package/dist/assets/{index-BX41ZANp.js → index-9VZ-yso9.js} +1 -1
- package/dist/assets/{index-1OplZ9Cs.js → index-B4634Y1P.js} +1 -1
- package/dist/assets/{index-BCTM1q6x.js → index-B8K3eja9.js} +1 -1
- package/dist/assets/{index-BrRuUuJz.js → index-BBKncSQI.js} +1 -1
- package/dist/assets/{index-BTiudSd3.js → index-BBwTny8t.js} +1 -1
- package/dist/assets/{index-hDQKXm0Z.js → index-BD-zoT5J.js} +1 -1
- package/dist/assets/{index-CbFs9VSg.js → index-BJTXvu7V.js} +1 -1
- package/dist/assets/{index-BGGMir5f.js → index-BNgNadZA.js} +1 -1
- package/dist/assets/{index-D-2FHFCU.js → index-BTth0Avx.js} +1 -1
- package/dist/assets/{index-DsWFyc_U.js → index-BYmI15t3.js} +1 -1
- package/dist/assets/{index-rkMUe7P2.js → index-BcIr2X1S.js} +34 -34
- package/dist/assets/{index-C7hkvuAb.js → index-BfwrW--S.js} +1 -1
- package/dist/assets/{index-BJiaIlPd.js → index-BhYH8ghA.js} +2 -2
- package/dist/assets/{index-DVlZpADE.js → index-BkGSdfE5.js} +3 -3
- package/dist/assets/{index-CZp4WEvN.js → index-BoBJzeiT.js} +1 -1
- package/dist/assets/{index-pvy0YsL_.js → index-CKQB1o8K.js} +1 -1
- package/dist/assets/{index-3zHU6JJe.js → index-CKjp5Lom.js} +1 -1
- package/dist/assets/{index-B_vpfqW-.js → index-CUrsgDRV.js} +1 -1
- package/dist/assets/{index-DG2qSdjX.js → index-CX3EW1PD.js} +1 -1
- package/dist/assets/{index-U-ssUBBR.js → index-Ca0ZcUgz.js} +1 -1
- package/dist/assets/{index-BJ3YeDHo.js → index-Cgo1ijTq.js} +1 -1
- package/dist/assets/{index-DHAPwvfJ.js → index-Cl5-xO-O.js} +1 -1
- package/dist/assets/{index-CKv5JG58.js → index-CxTqh5oG.js} +1 -1
- package/dist/assets/{index-BeI9Ztw4.js → index-CzWTJYeS.js} +1 -1
- package/dist/assets/{index-CudWnmhY.js → index-D7lzrhp6.js} +31 -31
- package/dist/assets/{index-Dbm8Ypfm.js → index-D9c_n0Zn.js} +1 -1
- package/dist/assets/{index-8xiSTm96.js → index-DKLXZtmN.js} +1 -1
- package/dist/assets/{index-cbnPwsDp.js → index-DZdX_ov1.js} +1 -1
- package/dist/assets/{index-CMZu5CPN.js → index-DfljrMq-.js} +1 -1
- package/dist/assets/{index-C0sgd4sF.js → index-DleR_te_.js} +1 -1
- package/dist/assets/{index-sw8QTVdD.js → index-GpweUAuu.js} +1 -1
- package/dist/assets/{index-DxO18c3G.js → index-KviLu8sL.js} +1 -1
- package/dist/assets/{index-D35PF0Gr.js → index-OaoSeey4.js} +3 -3
- package/dist/assets/{index-DP6YKY8s.js → index-Zsmw8O9i.js} +1 -1
- package/dist/assets/{index-CC-Z_CHg.js → index-g1FfUVZs.js} +3 -3
- package/dist/assets/index-h4tM9WQ3.js +1 -0
- package/dist/assets/{index-D08FjEOR.js → index-mURPOBxV.js} +1 -1
- package/dist/assets/{index-CVM433pe.js → index-nbDfygKJ.js} +9 -9
- package/dist/assets/{index-CuSrEgwV.js → index-vZ0X00a7.js} +1 -1
- package/dist/assets/{index.esm-WKN691rM.js → index.esm-BJXte6-L.js} +1 -1
- package/dist/assets/{install-from-url-BSerDRve.js → install-from-url-CtLp7MLy.js} +1 -1
- package/dist/assets/{invitation-BDy1RCkL.js → invitation-DQv8HAq6.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-BeCWfmHv.js → is-path-prefix-equal-BIFyL0Ru.js} +1 -1
- package/dist/assets/{item-BnxCdJvP.js → item-DimcdRAg.js} +1 -1
- package/dist/assets/{ja-D59y1sZ9.js → ja-c-6MaUg1.js} +1 -1
- package/dist/assets/{javascript-Dl1WHFka.js → javascript-CwbxIHEQ.js} +1 -1
- package/dist/assets/{jsonMode-DFD4Racx.js → jsonMode-DLbgXAH0.js} +1 -1
- package/dist/assets/{ko-DlSyClni.js → ko-CTFi4Ndk.js} +1 -1
- package/dist/assets/{liquid-BrE-9dRX.js → liquid-q1OjFgE0.js} +1 -1
- package/dist/assets/{list-header-Dkv0GpZF.js → list-header-BB26rDnk.js} +1 -1
- package/dist/assets/{log-Bh5tmtoN.js → log-C6UozWKv.js} +1 -1
- package/dist/assets/{lottie-react.esm-BgtTbJVU.js → lottie-react.esm-SyXHnE8o.js} +1 -1
- package/dist/assets/{mdx-I6c8I074.js → mdx-DHgnA-tS.js} +1 -1
- package/dist/assets/{memory-C95aAZUz.js → memory-YxMv8BQK.js} +1 -1
- package/dist/assets/{metric-DL6papJ0.js → metric-DreAuOrl.js} +1 -1
- package/dist/assets/omit-Cqu-CgYq.js +1 -0
- package/dist/assets/{overview-BizXKx3f.js → overview-DUGPpH_y.js} +1 -1
- package/dist/assets/{permission-D6gXDcTa.js → permission-BcnxfENO.js} +1 -1
- package/dist/assets/{preference-DjNHH5W9.js → preference-YGKAVWVr.js} +3 -3
- package/dist/assets/{pt-C_3CX1PR.js → pt-QkdDdQuw.js} +1 -1
- package/dist/assets/{python-C_tQHhFN.js → python-BI4r0Wbo.js} +1 -1
- package/dist/assets/{raf-schd.esm-CetBDte5.js → raf-schd.esm-DiR_lSIX.js} +1 -1
- package/dist/assets/{razor-D37BWXT_.js → razor-BY4SRdR7.js} +1 -1
- package/dist/assets/{rotate-session-key-B8PMc0wh.js → rotate-session-key-CRqisNwo.js} +1 -1
- package/dist/assets/{ru-FBGLUlo5.js → ru-swMH4bvc.js} +1 -1
- package/dist/assets/{runtime-s20locNX.js → runtime-BANAk_eI.js} +1 -1
- package/dist/assets/schema-_5vI79Rv.js +1 -0
- package/dist/assets/sdk-D1MrqeFi.js +1 -0
- package/dist/assets/{service-UYFODNIY.js → service-XYcHOpXT.js} +1 -1
- package/dist/assets/{shorten-label-k-tK1TOo.js → shorten-label-C2TvZwiB.js} +1 -1
- package/dist/assets/{simple-select-CErMpi--.js → simple-select-5PaLI5iC.js} +1 -1
- package/dist/assets/{spaces-BsTM83wK.js → spaces-BjltrgOM.js} +1 -1
- package/dist/assets/{status-BDdsaRDY.js → status-BGZp6E2_.js} +1 -1
- package/dist/assets/{status-BvjQPj2z.js → status-BId3C3tR.js} +1 -1
- package/dist/assets/{switch-control-DKCRS-8f.js → switch-control-93IAc2BI.js} +1 -1
- package/dist/assets/{table-icons-CWA0F6JZ.js → table-icons--cM-zbAz.js} +1 -1
- package/dist/assets/{team-BDaMVhz3.js → team-D9qX7mGm.js} +1 -1
- package/dist/assets/{th-DmSMYMH5.js → th-DuqieD90.js} +1 -1
- package/dist/assets/{toLower-Bn0a2lun.js → toLower-DdXVIYtI.js} +1 -1
- package/dist/assets/toUpper-BZzsNTfW.js +1 -0
- package/dist/assets/{traffic-CrMw3w94.js → traffic-CQiQ0sPg.js} +1 -1
- package/dist/assets/{tsMode-CAsGXutI.js → tsMode-riDB0Svo.js} +1 -1
- package/dist/assets/{typescript-NFZNJJb7.js → typescript-DevS6KNa.js} +1 -1
- package/dist/assets/{url-evaluation-BriA-wER.js → url-evaluation-BZtvoS6V.js} +1 -1
- package/dist/assets/{url-join-CwRQ_rqX.js → url-join-15mVE4xQ.js} +1 -1
- package/dist/assets/{use-mobile-ByZ7-kMP.js → use-mobile-C3Kt9jiO.js} +1 -1
- package/dist/assets/{use-mobile-Bhmm_iaP.js → use-mobile-C3R5m8C9.js} +1 -1
- package/dist/assets/{useAsync-7auGlLYi.js → useAsync-CnNdbLcF.js} +1 -1
- package/dist/assets/{useAsyncRetry-CcMPXJZK.js → useAsyncRetry-CKdA5B4J.js} +1 -1
- package/dist/assets/{useLocalStorage-C7P_-Tkf.js → useLocalStorage-BacdU7Dw.js} +1 -1
- package/dist/assets/{useThemeProps-C0qH78Uf.js → useThemeProps-DoaWGRR_.js} +1 -1
- package/dist/assets/{util-BL8HXMf5.js → util-BTYi57HE.js} +1 -1
- package/dist/assets/{vi-CjDg6MoB.js → vi-42QzvOuM.js} +1 -1
- package/dist/assets/{wait-container-BNhoJ1du.js → wait-container-Cf2fBIo1.js} +1 -1
- package/dist/assets/{without-wallet-vbeo4KSB.js → without-wallet-BmXN4c0R.js} +1 -1
- package/dist/assets/wrap-locale-CRCmG_2i.js +1 -0
- package/dist/assets/{xml-DMeNyU1M.js → xml-DkReoolA.js} +1 -1
- package/dist/assets/{yaml-B-AuvoWD.js → yaml-D5EuAiQc.js} +1 -1
- package/dist/assets/{zh-DaR6QxjC.js → zh-C-k4DKK-.js} +1 -1
- package/dist/assets/{zh-tw-DaxtX1HY.js → zh-tw-Dxa4oubT.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-BGdQ_v7I.js +0 -1
- package/dist/assets/api-pS-YWf8k.js +0 -1
- package/dist/assets/client-BL3hKpCx.js +0 -1
- package/dist/assets/cloneDeep-BPHeHKzF.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-C9Oo18CI.js +0 -1
- package/dist/assets/engine-BCeC1m92.js +0 -1
- package/dist/assets/getValidReactChildren-CKPRpUiq.js +0 -1
- package/dist/assets/index-CJpAfjZ_.js +0 -1
- package/dist/assets/omit-BOD0k9KL.js +0 -1
- package/dist/assets/schema-CLaP5-a_.js +0 -1
- package/dist/assets/sdk-BTJAZwu4.js +0 -1
- package/dist/assets/toUpper-BMEJ2_h2.js +0 -1
- package/dist/assets/wrap-locale-BPy7dVTr.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aG as Lt,j as o,be as Le,dg as ho,dv as vt,bd as fo,r as F,f as $e,f6 as po,a2 as mo,f1 as go,f7 as Ur,cq as Dt,aB as bo,aC as Tn,N as V,aV as fe,f8 as yo,f9 as Xt,c_ as hr,cv as vo,T as Q,fa as xo,f4 as Kr,C as Ce,dH as ve,fb as Vr,fc as wo,fd as Hr,dJ as qr,fe as Qt,t as Gr,U as It,y as Je,at as Pt,ff as So,F as Ye,aU as Xr,V as Qr,z as On,dn as Me,G as fr,aP as ko,eN as pr,cF as jo,fg as To,fh as Oo,fi as Co,cD as Eo,O as Io,dK as Po,fj as Ro,dI as _o,bu as Mo,_ as Lo,fk as Do,fl as mr,dd as ze,m as Ue,az as Cn,aO as gr,o as R,bk as zo,fm as Yr,b2 as Fo,aE as xt,v as Rt,a7 as Wo,a8 as Jr,aF as Ao,fn as br,a9 as No,bn as En,$ as Bo,D as $o,X as Uo,cL as Ko,Y as at,eC as Vo,H as Ne,b as Ho,n as qo,a$ as Go,ad as Xo,cr as Qo,E as Zr,cw as Yo,b8 as Jo,W as Zo}from"./index-CudWnmhY.js";import{u as es,V as ts}from"./Verified-RAhSnU3J.js";import{P as ns}from"./ChevronLeft-ax3UHigO.js";import{N as rs}from"./ChevronRight-CqlYVEsM.js";import{S as is}from"./Search-CDkaJ72m.js";import{y as os}from"./index-cbnPwsDp.js";import{o as ss,u as as}from"./blocklet-CdpF9xGA.js";import{A as ls}from"./Autocomplete-DjqVsFBO.js";import{S as cs,V as us}from"./VerifiedUser-DOBjtgbs.js";import{A as ds}from"./Add-C983Xxy8.js";import{L as ei}from"./Launch-B7x9htxW.js";import{D as hs}from"./Done-DueUo9UO.js";import{D as ti}from"./DeleteOutline-DdUUeo5n.js";import{D as fs}from"./delete-confirm-VJtte6ge.js";import{I as ps}from"./MoreVert-CScSHXZ3.js";import{g as ut}from"./get-safe-url-DpaJjz3Y.js";import{B as yr}from"./ButtonGroup-Cl7gTm9Q.js";const ms=Lt(o.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"})),gs=Lt(o.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})),bs=Lt(o.jsx("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"})),ys=Lt(o.jsx("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"})),oc="blocklet-add-component-registry",sc="server-add-registry",vs={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 16l2-6l6-2l-2 6l-6 2"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m9-9v2m0 14v2m-9-9h2m14 0h2"/></g>'},lt=/^[a-z0-9]+(-[a-z0-9]+)*$/,zt=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const d=i.pop(),p=i.pop(),g={provider:i.length>0?i[0]:r,prefix:p,name:d};return t&&!Ot(g)?null:g}const s=i[0],h=s.split("-");if(h.length>1){const d={provider:r,prefix:h.shift(),name:h.join("-")};return t&&!Ot(d)?null:d}if(n&&r===""){const d={provider:r,prefix:"",name:s};return t&&!Ot(d,n)?null:d}return null},Ot=(e,t)=>e?!!((e.provider===""||e.provider.match(lt))&&(t&&e.prefix===""||e.prefix.match(lt))&&e.name.match(lt)):!1,ni=Object.freeze({left:0,top:0,width:16,height:16}),_t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),In=Object.freeze({...ni,..._t}),hn=Object.freeze({...In,body:"",hidden:!1});function xs(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function vr(e,t){const n=xs(e,t);for(const r in hn)r in _t?r in e&&!(r in n)&&(n[r]=_t[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ws(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function s(h){if(n[h])return i[h]=[];if(!(h in i)){i[h]=null;const d=r[h]&&r[h].parent,p=d&&s(d);p&&(i[h]=[d].concat(p))}return i[h]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Ss(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let s={};function h(d){s=vr(r[d]||i[d],s)}return h(t),n.forEach(h),vr(e,s)}function ri(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=ws(e);for(const i in r){const s=r[i];s&&(t(i,Ss(e,i,s)),n.push(i))}return n}const ks={provider:"",aliases:{},not_found:{},...ni};function Yt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ii(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Yt(e,ks))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(lt)||typeof s.body!="string"||!Yt(s,hn))return null}const r=t.aliases||Object.create(null);for(const i in r){const s=r[i],h=s.parent;if(!i.match(lt)||typeof h!="string"||!n[h]&&!r[h]||!Yt(s,hn))return null}return t}const xr=Object.create(null);function js(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Be(e,t){const n=xr[e]||(xr[e]=Object.create(null));return n[t]||(n[t]=js(e,t))}function Pn(e,t){return ii(t)?ri(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ts(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let dt=!1;function oi(e){return typeof e=="boolean"&&(dt=e),dt}function Os(e){const t=typeof e=="string"?zt(e,!0,dt):e;if(t){const n=Be(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Cs(e,t){const n=zt(e,!0,dt);if(!n)return!1;const r=Be(n.provider,n.prefix);return Ts(r,n.name,t)}function Es(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),dt&&!t&&!e.prefix){let i=!1;return ii(e)&&(e.prefix="",ri(e,(s,h)=>{h&&Cs(s,h)&&(i=!0)})),i}const n=e.prefix;if(!Ot({provider:t,prefix:n,name:"a"}))return!1;const r=Be(t,n);return!!Pn(r,e)}const si=Object.freeze({width:null,height:null}),ai=Object.freeze({...si,..._t}),Is=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ps=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Is);if(r===null||!r.length)return e;const i=[];let s=r.shift(),h=Ps.test(s);for(;;){if(h){const d=parseFloat(s);isNaN(d)?i.push(s):i.push(Math.ceil(d*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");h=!h}}const Rs=e=>e==="unset"||e==="undefined"||e==="none";function _s(e,t){const n={...In,...e},r={...ai,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(k=>{const x=[],P=k.hFlip,_=k.vFlip;let T=k.rotate;P?_?T+=2:(x.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),x.push("scale(-1 1)"),i.top=i.left=0):_&&(x.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),x.push("scale(1 -1)"),i.top=i.left=0);let A;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:A=i.height/2+i.top,x.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:x.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:A=i.width/2+i.left,x.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}T%2===1&&(i.left!==i.top&&(A=i.left,i.left=i.top,i.top=A),i.width!==i.height&&(A=i.width,i.width=i.height,i.height=A)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const h=r.width,d=r.height,p=i.width,g=i.height;let m,v;h===null?(v=d===null?"1em":d==="auto"?g:d,m=wr(v,p/g)):(m=h==="auto"?p:h,v=d===null?wr(m,g/p):d==="auto"?g:d);const j={},w=(k,x)=>{Rs(x)||(j[k]=x.toString())};return w("width",m),w("height",v),j.viewBox=i.left.toString()+" "+i.top.toString()+" "+p.toString()+" "+g.toString(),{attributes:j,body:s}}const Ms=/\sid="(\S+)"/g,Ls="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ds=0;function zs(e,t=Ls){const n=[];let r;for(;r=Ms.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const h=typeof t=="function"?t(s):t+(Ds++).toString(),d=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+d+')([")]|\\.[a-z])',"g"),"$1"+h+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const fn=Object.create(null);function Fs(e,t){fn[e]=t}function pn(e){return fn[e]||fn[""]}function Rn(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const _n=Object.create(null),st=["https://api.simplesvg.com","https://api.unisvg.com"],Ct=[];for(;st.length>0;)st.length===1||Math.random()>.5?Ct.push(st.shift()):Ct.push(st.pop());_n[""]=Rn({resources:["https://api.iconify.design"].concat(Ct)});function Ws(e,t){const n=Rn(t);return n===null?!1:(_n[e]=n,!0)}function Mn(e){return _n[e]}const As=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Sr=As();function Ns(e,t){const n=Mn(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(h=>{i=Math.max(i,h.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function Bs(e){return e===404}const $s=(e,t,n)=>{const r=[],i=Ns(e,t),s="icons";let h={type:s,provider:e,prefix:t,icons:[]},d=0;return n.forEach((p,g)=>{d+=p.length+1,d>=i&&g>0&&(r.push(h),h={type:s,provider:e,prefix:t,icons:[]},d=p.length),h.icons.push(p)}),r.push(h),r};function Us(e){if(typeof e=="string"){const t=Mn(e);if(t)return t.path}return"/"}const Ks=(e,t,n)=>{if(!Sr){n("abort",424);return}let r=Us(t.provider);switch(t.type){case"icons":{const s=t.prefix,d=t.icons.join(","),p=new URLSearchParams({icons:d});r+=s+".json?"+p.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;Sr(e+r).then(s=>{const h=s.status;if(h!==200){setTimeout(()=>{n(Bs(h)?"abort":"next",h)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},Vs={prepare:$s,send:Ks};function Hs(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,h=i.prefix,d=i.name,p=n[s]||(n[s]=Object.create(null)),g=p[h]||(p[h]=Be(s,h));let m;d in g.icons?m=t.loaded:h===""||g.missing.has(d)?m=t.missing:m=t.pending;const v={provider:s,prefix:h,name:d};m.push(v)}),t}function li(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function qs(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const h=s.icons,d=h.pending.length;h.pending=h.pending.filter(p=>{if(p.prefix!==i)return!0;const g=p.name;if(e.icons[g])h.loaded.push({provider:r,prefix:i,name:g});else if(e.missing.has(g))h.missing.push({provider:r,prefix:i,name:g});else return n=!0,!0;return!1}),h.pending.length!==d&&(n||li([e],s.id),s.callback(h.loaded.slice(0),h.missing.slice(0),h.pending.slice(0),s.abort))})}))}let Gs=0;function Xs(e,t,n){const r=Gs++,i=li.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(h=>{(h.loaderCallbacks||(h.loaderCallbacks=[])).push(s)}),i}function Qs(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?zt(i,t,n):i;s&&r.push(s)}),r}var Ys={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let h;if(e.random){let B=e.resources.slice(0);for(h=[];B.length>1;){const G=Math.floor(Math.random()*B.length);h.push(B[G]),B=B.slice(0,G).concat(B.slice(G+1))}h=h.concat(B)}else h=e.resources.slice(s).concat(e.resources.slice(0,s));const d=Date.now();let p="pending",g=0,m,v=null,j=[],w=[];typeof r=="function"&&w.push(r);function k(){v&&(clearTimeout(v),v=null)}function x(){p==="pending"&&(p="aborted"),k(),j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function P(B,G){G&&(w=[]),typeof B=="function"&&w.push(B)}function _(){return{startTime:d,payload:t,status:p,queriesSent:g,queriesPending:j.length,subscribe:P,abort:x}}function T(){p="failed",w.forEach(B=>{B(void 0,m)})}function A(){j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function Y(B,G,te){const se=G!=="success";switch(j=j.filter($=>$!==B),p){case"pending":break;case"failed":if(se||!e.dataAfterTimeout)return;break;default:return}if(G==="abort"){m=te,T();return}if(se){m=te,j.length||(h.length?ee():T());return}if(k(),A(),!e.random){const $=e.resources.indexOf(B.resource);$!==-1&&$!==e.index&&(e.index=$)}p="completed",w.forEach($=>{$(te)})}function ee(){if(p!=="pending")return;k();const B=h.shift();if(B===void 0){if(j.length){v=setTimeout(()=>{k(),p==="pending"&&(A(),T())},e.timeout);return}T();return}const G={status:"pending",resource:B,callback:(te,se)=>{Y(G,te,se)}};j.push(G),g++,v=setTimeout(ee,e.rotate),n(B,t,G.callback)}return setTimeout(ee),_}function ci(e){const t={...Ys,...e};let n=[];function r(){n=n.filter(d=>d().status==="pending")}function i(d,p,g){const m=Js(t,d,p,(v,j)=>{r(),g&&g(v,j)});return n.push(m),m}function s(d){return n.find(p=>d(p))||null}return{query:i,find:s,setIndex:d=>{t.index=d},getIndex:()=>t.index,cleanup:r}}function kr(){}const Jt=Object.create(null);function Zs(e){if(!Jt[e]){const t=Mn(e);if(!t)return;const n=ci(t),r={config:t,redundancy:n};Jt[e]=r}return Jt[e]}function ea(e,t,n){let r,i;if(typeof e=="string"){const s=pn(e);if(!s)return n(void 0,424),kr;i=s.send;const h=Zs(e);h&&(r=h.redundancy)}else{const s=Rn(e);if(s){r=ci(s);const h=e.resources?e.resources[0]:"",d=pn(h);d&&(i=d.send)}}return!r||!i?(n(void 0,424),kr):r.query(t,i,n)().abort}const jr="iconify2",ht="iconify",ui=ht+"-count",Tr=ht+"-version",di=36e5,ta=168;function mn(e,t){try{return e.getItem(t)}catch{}}function Ln(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Or(e,t){try{e.removeItem(t)}catch{}}function gn(e,t){return Ln(e,ui,t.toString())}function bn(e){return parseInt(mn(e,ui))||0}const Ft={local:!0,session:!0},hi={local:new Set,session:new Set};let Dn=!1;function na(e){Dn=e}let wt=typeof window>"u"?{}:window;function fi(e){const t=e+"Storage";try{if(wt&&wt[t]&&typeof wt[t].length=="number")return wt[t]}catch{}Ft[e]=!1}function pi(e,t){const n=fi(e);if(!n)return;const r=mn(n,Tr);if(r!==jr){if(r){const d=bn(n);for(let p=0;p<d;p++)Or(n,ht+p.toString())}Ln(n,Tr,jr),gn(n,0);return}const i=Math.floor(Date.now()/di)-ta,s=d=>{const p=ht+d.toString(),g=mn(n,p);if(typeof g=="string"){try{const m=JSON.parse(g);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,d))return!0}catch{}Or(n,p)}};let h=bn(n);for(let d=h-1;d>=0;d--)s(d)||(d===h-1?(h--,gn(n,h)):hi[e].add(d))}function mi(){if(!Dn){na(!0);for(const e in Ft)pi(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Be(r,i);if(!Pn(s,n).length)return!1;const h=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,h):h,!0})}}function ra(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Ft)pi(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function ia(e,t){Dn||mi();function n(r){let i;if(!Ft[r]||!(i=fi(r)))return;const s=hi[r];let h;if(s.size)s.delete(h=Array.from(s).shift());else if(h=bn(i),!gn(i,h+1))return;const d={cached:Math.floor(Date.now()/di),provider:e.provider,data:t};return Ln(i,ht+h.toString(),JSON.stringify(d))}t.lastModified&&!ra(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Cr(){}function oa(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qs(e)}))}function sa(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=pn(n)))return;s.prepare(n,r,i).forEach(d=>{ea(n,d,p=>{if(typeof p!="object")d.icons.forEach(g=>{e.missing.add(g)});else try{const g=Pn(e,p);if(!g.length)return;const m=e.pendingIcons;m&&g.forEach(v=>{m.delete(v)}),ia(e,p)}catch(g){console.error(g)}oa(e)})})}))}const aa=(e,t)=>{const n=Qs(e,!0,oi()),r=Hs(n);if(!r.pending.length){let p=!0;return t&&setTimeout(()=>{p&&t(r.loaded,r.missing,r.pending,Cr)}),()=>{p=!1}}const i=Object.create(null),s=[];let h,d;return r.pending.forEach(p=>{const{provider:g,prefix:m}=p;if(m===d&&g===h)return;h=g,d=m,s.push(Be(g,m));const v=i[g]||(i[g]=Object.create(null));v[m]||(v[m]=[])}),r.pending.forEach(p=>{const{provider:g,prefix:m,name:v}=p,j=Be(g,m),w=j.pendingIcons||(j.pendingIcons=new Set);w.has(v)||(w.add(v),i[g][m].push(v))}),s.forEach(p=>{const{provider:g,prefix:m}=p;i[g][m].length&&sa(p,i[g][m])}),t?Xs(t,r,s):Cr};function la(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in si?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ca=/[\s,]+/;function ua(e,t){t.split(ca).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function da(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ha(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function fa(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function pa(e){return"data:image/svg+xml,"+fa(e)}function ma(e){return'url("'+pa(e)+'")'}let ct;function ga(){try{ct=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{ct=null}}function ba(e){return ct===void 0&&ga(),ct?ct.createHTML(e):e}const gi={...ai,inline:!1},ya={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},va={display:"inline-block"},yn={backgroundColor:"currentColor"},bi={backgroundColor:"transparent"},Er={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ir={WebkitMask:yn,mask:yn,background:bi};for(const e in Ir){const t=Ir[e];for(const n in Er)t[e+n]=Er[n]}const xa={...gi,inline:!0};function Pr(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const wa=(e,t,n,r)=>{const i=n?xa:gi,s=la(i,t),h=t.mode||"svg",d={},p=t.style||{},g={...h==="svg"?ya:{},ref:r};for(let _ in t){const T=t[_];if(T!==void 0)switch(_){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":s[_]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&ua(s,T);break;case"color":d.color=T;break;case"rotate":typeof T=="string"?s[_]=da(T):typeof T=="number"&&(s[_]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete g["aria-hidden"];break;default:i[_]===void 0&&(g[_]=T)}}const m=_s(e,s),v=m.attributes;if(s.inline&&(d.verticalAlign="-0.125em"),h==="svg"){g.style={...d,...p},Object.assign(g,v);let _=0,T=t.id;return typeof T=="string"&&(T=T.replace(/-/g,"_")),g.dangerouslySetInnerHTML={__html:ba(zs(m.body,T?()=>T+"ID"+_++:"iconifyReact"))},Le.createElement("svg",g)}const{body:j,width:w,height:k}=e,x=h==="mask"||(h==="bg"?!1:j.indexOf("currentColor")!==-1),P=ha(j,{...v,width:w+"",height:k+""});return g.style={...d,"--svg":ma(P),width:Pr(v.width),height:Pr(v.height),...va,...x?yn:bi,...p},Le.createElement("span",g)};oi(!0);Fs("",Vs);if(typeof document<"u"&&typeof window<"u"){mi();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Es(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;Ws(n,i)||console.error(r)}catch{console.error(r)}}}}class yi extends Le.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const n=this.state,r=this.props.icon;if(typeof r=="object"&&r!==null&&typeof r.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:r});return}let i;if(typeof r!="string"||(i=zt(r,!1,!0))===null){this._abortLoading(),this._setData(null);return}const s=Os(i);if(!s){(!this._loading||this._loading.name!==r)&&(this._abortLoading(),this._icon="",this._setData(null),s!==null&&(this._loading={name:r,abort:aa([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==r||n.icon===null){this._abortLoading(),this._icon=r;const h=["iconify"];i.prefix!==""&&h.push("iconify--"+i.prefix),i.provider!==""&&h.push("iconify--"+i.provider),this._setData({data:s,classes:h}),this.props.onLoad&&this.props.onLoad(r)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:Le.createElement("span",{});let r=t;return n.classes&&(r={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),wa({...In,...n.data},r,t._inline,t._ref)}}const Re=Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!1};return Le.createElement(yi,r)});Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!0};return Le.createElement(yi,r)});const vi={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 18a3.5 3.5 0 0 0 0-7h-1A5 4.5 0 0 0 7 9a4.6 4.4 0 0 0-2.1 8.4M12 13v9m-3-3l3 3l3-3"/>'};var Et={exports:{}},Sa=Et.exports,Rr;function ka(){return Rr||(Rr=1,function(e,t){(function(n,r){e.exports=r(ho())})(Sa,n=>(()=>{var r={703:(d,p,g)=>{var m=g(414);function v(){}function j(){}j.resetWarningCache=v,d.exports=function(){function w(P,_,T,A,Y,ee){if(ee!==m){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}}function k(){return w}w.isRequired=w;var x={array:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:k,element:w,elementType:w,instanceOf:k,node:w,objectOf:k,oneOf:k,oneOfType:k,shape:k,exact:k,checkPropTypes:j,resetWarningCache:v};return x.PropTypes=x,x}},697:(d,p,g)=>{d.exports=g(703)()},414:d=>{d.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:d=>{var p=typeof Element<"u",g=typeof Map=="function",m=typeof Set=="function",v=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function j(w,k){if(w===k)return!0;if(w&&k&&typeof w=="object"&&typeof k=="object"){if(w.constructor!==k.constructor)return!1;var x,P,_,T;if(Array.isArray(w)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(!j(w[P],k[P]))return!1;return!0}if(g&&w instanceof Map&&k instanceof Map){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;for(T=w.entries();!(P=T.next()).done;)if(!j(P.value[1],k.get(P.value[0])))return!1;return!0}if(m&&w instanceof Set&&k instanceof Set){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;return!0}if(v&&ArrayBuffer.isView(w)&&ArrayBuffer.isView(k)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(w[P]!==k[P])return!1;return!0}if(w.constructor===RegExp)return w.source===k.source&&w.flags===k.flags;if(w.valueOf!==Object.prototype.valueOf)return w.valueOf()===k.valueOf();if(w.toString!==Object.prototype.toString)return w.toString()===k.toString();if((x=(_=Object.keys(w)).length)!==Object.keys(k).length)return!1;for(P=x;P--!=0;)if(!Object.prototype.hasOwnProperty.call(k,_[P]))return!1;if(p&&w instanceof Element)return!1;for(P=x;P--!=0;)if((_[P]!=="_owner"&&_[P]!=="__v"&&_[P]!=="__o"||!w.$$typeof)&&!j(w[_[P]],k[_[P]]))return!1;return!0}return w!=w&&k!=k}d.exports=function(w,k){try{return j(w,k)}catch(x){if((x.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw x}}},359:d=>{d.exports=n}},i={};function s(d){var p=i[d];if(p!==void 0)return p.exports;var g=i[d]={exports:{}};return r[d](g,g.exports,s),g.exports}s.n=d=>{var p=d&&d.__esModule?()=>d.default:()=>d;return s.d(p,{a:p}),p},s.d=(d,p)=>{for(var g in p)s.o(p,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:p[g]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(d,p)=>Object.prototype.hasOwnProperty.call(d,p),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var h={};return(()=>{function d(u){var a,f,b="";if(typeof u=="string"||typeof u=="number")b+=u;else if(typeof u=="object")if(Array.isArray(u))for(a=0;a<u.length;a++)u[a]&&(f=d(u[a]))&&(b&&(b+=" "),b+=f);else for(a in u)u[a]&&(b&&(b+=" "),b+=a);return b}function p(){for(var u,a,f=0,b="";f<arguments.length;)(u=arguments[f++])&&(a=d(u))&&(b&&(b+=" "),b+=a);return b}s.r(h),s.d(h,{default:()=>co});var g=s(359),m=s.n(g);const v=function(u){var a=typeof u;return u!=null&&(a=="object"||a=="function")},j=typeof vt=="object"&&vt&&vt.Object===Object&&vt;var w=typeof self=="object"&&self&&self.Object===Object&&self;const k=j||w||Function("return this")(),x=function(){return k.Date.now()};var P=/\s/,_=/^\s+/;const T=function(u){return u&&u.slice(0,function(a){for(var f=a.length;f--&&P.test(a.charAt(f)););return f}(u)+1).replace(_,"")},A=k.Symbol;var Y=Object.prototype,ee=Y.hasOwnProperty,B=Y.toString,G=A?A.toStringTag:void 0,te=Object.prototype.toString,se=A?A.toStringTag:void 0;const $=function(u){return u==null?u===void 0?"[object Undefined]":"[object Null]":se&&se in Object(u)?function(a){var f=ee.call(a,G),b=a[G];try{a[G]=void 0;var E=!0}catch{}var W=B.call(a);return E&&(f?a[G]=b:delete a[G]),W}(u):function(a){return te.call(a)}(u)};var Ee=/^[-+]0x[0-9a-f]+$/i,we=/^0b[01]+$/i,ke=/^0o[0-7]+$/i,me=parseInt;const Se=function(u){if(typeof u=="number")return u;if(function(b){return typeof b=="symbol"||function(E){return E!=null&&typeof E=="object"}(b)&&$(b)=="[object Symbol]"}(u))return NaN;if(v(u)){var a=typeof u.valueOf=="function"?u.valueOf():u;u=v(a)?a+"":a}if(typeof u!="string")return u===0?u:+u;u=T(u);var f=we.test(u);return f||ke.test(u)?me(u.slice(2),f?2:8):Ee.test(u)?NaN:+u};var D=Math.max,ae=Math.min;const je=function(u,a,f){var b,E,W,X,c,l,y=0,O=!1,I=!1,C=!0;if(typeof u!="function")throw new TypeError("Expected a function");function K(N){var q=b,J=E;return b=E=void 0,y=N,X=u.apply(J,q)}function U(N){return y=N,c=setTimeout(M,a),O?K(N):X}function H(N){var q=N-l;return l===void 0||q>=a||q<0||I&&N-y>=W}function M(){var N=x();if(H(N))return L(N);c=setTimeout(M,function(q){var J=a-(q-l);return I?ae(J,W-(q-y)):J}(N))}function L(N){return c=void 0,C&&b?K(N):(b=E=void 0,X)}function z(){var N=x(),q=H(N);if(b=arguments,E=this,l=N,q){if(c===void 0)return U(l);if(I)return clearTimeout(c),c=setTimeout(M,a),K(l)}return c===void 0&&(c=setTimeout(M,a)),X}return a=Se(a)||0,v(f)&&(O=!!f.leading,W=(I="maxWait"in f)?D(Se(f.maxWait)||0,a):W,C="trailing"in f?!!f.trailing:C),z.cancel=function(){c!==void 0&&clearTimeout(c),y=0,b=l=E=c=void 0},z.flush=function(){return c===void 0?X:L(x())},z},ce=function(u,a,f){var b=!0,E=!0;if(typeof u!="function")throw new TypeError("Expected a function");return v(f)&&(b="leading"in f?!!f.leading:b,E="trailing"in f?!!f.trailing:E),je(u,a,{leading:b,maxWait:a,trailing:E})};var Te=s(590),Ie=s.n(Te),Bn=function(){if(typeof Map<"u")return Map;function u(a,f){var b=-1;return a.some(function(E,W){return E[0]===f&&(b=W,!0)}),b}return function(){function a(){this.__entries__=[]}return Object.defineProperty(a.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),a.prototype.get=function(f){var b=u(this.__entries__,f),E=this.__entries__[b];return E&&E[1]},a.prototype.set=function(f,b){var E=u(this.__entries__,f);~E?this.__entries__[E][1]=b:this.__entries__.push([f,b])},a.prototype.delete=function(f){var b=this.__entries__,E=u(b,f);~E&&b.splice(E,1)},a.prototype.has=function(f){return!!~u(this.__entries__,f)},a.prototype.clear=function(){this.__entries__.splice(0)},a.prototype.forEach=function(f,b){b===void 0&&(b=null);for(var E=0,W=this.__entries__;E<W.length;E++){var X=W[E];f.call(b,X[1],X[0])}},a}()}(),At=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=s.g!==void 0&&s.g.Math===Math?s.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Wi=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(u){return setTimeout(function(){return u(Date.now())},1e3/60)},Ai=["top","right","bottom","left","width","height","size","weight"],Ni=typeof MutationObserver<"u",Bi=function(){function u(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(a,f){var b=!1,E=!1,W=0;function X(){b&&(b=!1,a()),E&&l()}function c(){Wi(X)}function l(){var y=Date.now();if(b){if(y-W<2)return;E=!0}else b=!0,E=!1,setTimeout(c,20);W=y}return l}(this.refresh.bind(this))}return u.prototype.addObserver=function(a){~this.observers_.indexOf(a)||this.observers_.push(a),this.connected_||this.connect_()},u.prototype.removeObserver=function(a){var f=this.observers_,b=f.indexOf(a);~b&&f.splice(b,1),!f.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},u.prototype.updateObservers_=function(){var a=this.observers_.filter(function(f){return f.gatherActive(),f.hasActive()});return a.forEach(function(f){return f.broadcastActive()}),a.length>0},u.prototype.connect_=function(){At&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ni?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},u.prototype.disconnect_=function(){At&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},u.prototype.onTransitionEnd_=function(a){var f=a.propertyName,b=f===void 0?"":f;Ai.some(function(E){return!!~b.indexOf(E)})&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.instance_=null,u}(),$n=function(u,a){for(var f=0,b=Object.keys(a);f<b.length;f++){var E=b[f];Object.defineProperty(u,E,{value:a[E],enumerable:!1,writable:!1,configurable:!0})}return u},Ke=function(u){return u&&u.ownerDocument&&u.ownerDocument.defaultView||pt},Un=gt(0,0,0,0);function mt(u){return parseFloat(u)||0}function Kn(u){for(var a=[],f=1;f<arguments.length;f++)a[f-1]=arguments[f];return a.reduce(function(b,E){return b+mt(u["border-"+E+"-width"])},0)}var $i=typeof SVGGraphicsElement<"u"?function(u){return u instanceof Ke(u).SVGGraphicsElement}:function(u){return u instanceof Ke(u).SVGElement&&typeof u.getBBox=="function"};function Ui(u){return At?$i(u)?function(a){var f=a.getBBox();return gt(0,0,f.width,f.height)}(u):function(a){var f=a.clientWidth,b=a.clientHeight;if(!f&&!b)return Un;var E=Ke(a).getComputedStyle(a),W=function(C){for(var K={},U=0,H=["top","right","bottom","left"];U<H.length;U++){var M=H[U],L=C["padding-"+M];K[M]=mt(L)}return K}(E),X=W.left+W.right,c=W.top+W.bottom,l=mt(E.width),y=mt(E.height);if(E.boxSizing==="border-box"&&(Math.round(l+X)!==f&&(l-=Kn(E,"left","right")+X),Math.round(y+c)!==b&&(y-=Kn(E,"top","bottom")+c)),!function(C){return C===Ke(C).document.documentElement}(a)){var O=Math.round(l+X)-f,I=Math.round(y+c)-b;Math.abs(O)!==1&&(l-=O),Math.abs(I)!==1&&(y-=I)}return gt(W.left,W.top,l,y)}(u):Un}function gt(u,a,f,b){return{x:u,y:a,width:f,height:b}}var Ki=function(){function u(a){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=gt(0,0,0,0),this.target=a}return u.prototype.isActive=function(){var a=Ui(this.target);return this.contentRect_=a,a.width!==this.broadcastWidth||a.height!==this.broadcastHeight},u.prototype.broadcastRect=function(){var a=this.contentRect_;return this.broadcastWidth=a.width,this.broadcastHeight=a.height,a},u}(),Vi=function(u,a){var f,b,E,W,X,c,l,y=(b=(f=a).x,E=f.y,W=f.width,X=f.height,c=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(c.prototype),$n(l,{x:b,y:E,width:W,height:X,top:E,right:b+W,bottom:X+E,left:b}),l);$n(this,{target:u,contentRect:y})},Hi=function(){function u(a,f,b){if(this.activeObservations_=[],this.observations_=new Bn,typeof a!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=a,this.controller_=f,this.callbackCtx_=b}return u.prototype.observe=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)||(f.set(a,new Ki(a)),this.controller_.addObserver(this),this.controller_.refresh())}},u.prototype.unobserve=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)&&(f.delete(a),f.size||this.controller_.removeObserver(this))}},u.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},u.prototype.gatherActive=function(){var a=this;this.clearActive(),this.observations_.forEach(function(f){f.isActive()&&a.activeObservations_.push(f)})},u.prototype.broadcastActive=function(){if(this.hasActive()){var a=this.callbackCtx_,f=this.activeObservations_.map(function(b){return new Vi(b.target,b.broadcastRect())});this.callback_.call(a,f,a),this.clearActive()}},u.prototype.clearActive=function(){this.activeObservations_.splice(0)},u.prototype.hasActive=function(){return this.activeObservations_.length>0},u}(),Vn=typeof WeakMap<"u"?new WeakMap:new Bn,Hn=function u(a){if(!(this instanceof u))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var f=Bi.getInstance(),b=new Hi(a,f,this);Vn.set(this,b)};["observe","unobserve","disconnect"].forEach(function(u){Hn.prototype[u]=function(){var a;return(a=Vn.get(this))[u].apply(a,arguments)}});const qn=pt.ResizeObserver!==void 0?pt.ResizeObserver:Hn,Ve="Left",Fe="Right",He="Up",We="Down",qe={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Nt={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Gn="mousemove",Xn="mouseup";function Qn(u,a){if(a===0)return u;const f=Math.PI/180*a;return[u[0]*Math.cos(f)+u[1]*Math.sin(f),u[1]*Math.cos(f)-u[0]*Math.sin(f)]}function qi(u){const{trackMouse:a}=u,f=g.useRef(Object.assign({},Nt)),b=g.useRef(Object.assign({},qe)),E=g.useRef(Object.assign({},b.current));let W;for(W in E.current=Object.assign({},b.current),b.current=Object.assign(Object.assign({},qe),u),qe)b.current[W]===void 0&&(b.current[W]=qe[W]);const[X,c]=g.useMemo(()=>function(l,y){const O=M=>{const L="touches"in M;L&&M.touches.length>1||l((z,N)=>{N.trackMouse&&!L&&(document.addEventListener(Gn,I),document.addEventListener(Xn,K));const{clientX:q,clientY:J}=L?M.touches[0]:M,ie=Qn([q,J],N.rotationAngle);return N.onTouchStartOrOnMouseDown&&N.onTouchStartOrOnMouseDown({event:M}),Object.assign(Object.assign(Object.assign({},z),Nt),{initial:ie.slice(),xy:ie,start:M.timeStamp||0})})},I=M=>{l((L,z)=>{const N="touches"in M;if(N&&M.touches.length>1)return L;if(M.timeStamp-L.start>z.swipeDuration)return L.swiping?Object.assign(Object.assign({},L),{swiping:!1}):L;const{clientX:q,clientY:J}=N?M.touches[0]:M,[ie,ge]=Qn([q,J],z.rotationAngle),he=ie-L.xy[0],ue=ge-L.xy[1],re=Math.abs(he),Z=Math.abs(ue),_e=(M.timeStamp||0)-L.start,nt=Math.sqrt(re*re+Z*Z)/(_e||1),rt=[he/(_e||1),ue/(_e||1)],Pe=function(it,Qe,ot,be){return it>Qe?ot>0?Fe:Ve:be>0?We:He}(re,Z,he,ue),Ae=typeof z.delta=="number"?z.delta:z.delta[Pe.toLowerCase()]||qe.delta;if(re<Ae&&Z<Ae&&!L.swiping)return L;const Oe={absX:re,absY:Z,deltaX:he,deltaY:ue,dir:Pe,event:M,first:L.first,initial:L.initial,velocity:nt,vxvy:rt};Oe.first&&z.onSwipeStart&&z.onSwipeStart(Oe),z.onSwiping&&z.onSwiping(Oe);let Xe=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Pe}`])&&(Xe=!0),Xe&&z.preventScrollOnSwipe&&z.trackTouch&&M.cancelable&&M.preventDefault(),Object.assign(Object.assign({},L),{first:!1,eventData:Oe,swiping:!0})})},C=M=>{l((L,z)=>{let N;if(L.swiping&&L.eventData){if(M.timeStamp-L.start<z.swipeDuration){N=Object.assign(Object.assign({},L.eventData),{event:M}),z.onSwiped&&z.onSwiped(N);const q=z[`onSwiped${N.dir}`];q&&q(N)}}else z.onTap&&z.onTap({event:M});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:M}),Object.assign(Object.assign(Object.assign({},L),Nt),{eventData:N})})},K=M=>{document.removeEventListener(Gn,I),document.removeEventListener(Xn,K),C(M)},U=(M,L)=>{let z=()=>{};if(M&&M.addEventListener){const N=Object.assign(Object.assign({},qe.touchEventOptions),L.touchEventOptions),q=[["touchstart",O,N],["touchmove",I,Object.assign(Object.assign({},N),L.preventScrollOnSwipe?{passive:!1}:{})],["touchend",C,N]];q.forEach(([J,ie,ge])=>M.addEventListener(J,ie,ge)),z=()=>q.forEach(([J,ie])=>M.removeEventListener(J,ie))}return z},H={ref:M=>{M!==null&&l((L,z)=>{if(L.el===M)return L;const N={};return L.el&&L.el!==M&&L.cleanUpTouch&&(L.cleanUpTouch(),N.cleanUpTouch=void 0),z.trackTouch&&M&&(N.cleanUpTouch=U(M,z)),Object.assign(Object.assign(Object.assign({},L),{el:M}),N)})}};return y.trackMouse&&(H.onMouseDown=O),[H,U]}(l=>f.current=l(f.current,b.current),{trackMouse:a}),[a]);return f.current=function(l,y,O,I){return y.trackTouch&&l.el?l.cleanUpTouch?y.preventScrollOnSwipe!==O.preventScrollOnSwipe||y.touchEventOptions.passive!==O.touchEventOptions.passive?(l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:I(l.el,y)})):l:Object.assign(Object.assign({},l),{cleanUpTouch:I(l.el,y)}):(l.cleanUpTouch&&l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:void 0}))}(f.current,b.current,E.current,c),X}var S=s(697);function Ze(u){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ze(u)}function Yn(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function Jn(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Yn(Object(f),!0).forEach(function(b){Gi(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):Yn(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function Gi(u,a,f){return(a=function(b){var E=function(W,X){if(Ze(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(Ze(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return Ze(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var Xi={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Bt=m().memo(function(u){var a=Jn(Jn({},Xi),u),f=a.description,b=a.fullscreen,E=a.handleImageLoaded,W=a.isFullscreen,X=a.onImageError,c=a.original,l=a.originalAlt,y=a.originalHeight,O=a.originalWidth,I=a.originalTitle,C=a.sizes,K=a.srcSet,U=a.loading,H=W&&b||c;return m().createElement(m().Fragment,null,m().createElement("img",{className:"image-gallery-image",src:H,alt:l,srcSet:K,height:y,width:O,sizes:C,title:I,onLoad:function(M){return E(M,c)},onError:X,loading:U}),f&&m().createElement("span",{className:"image-gallery-description"},f))});Bt.displayName="Item",Bt.propTypes={description:S.string,fullscreen:S.string,handleImageLoaded:S.func.isRequired,isFullscreen:S.bool,onImageError:S.func.isRequired,original:S.string.isRequired,originalAlt:S.string,originalHeight:S.string,originalWidth:S.string,originalTitle:S.string,sizes:S.string,srcSet:S.string,loading:S.string};const Qi=Bt;function et(u){return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},et(u)}function Zn(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function er(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Zn(Object(f),!0).forEach(function(b){Yi(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):Zn(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function Yi(u,a,f){return(a=function(b){var E=function(W,X){if(et(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(et(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return et(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var Ji={left:m().createElement("polyline",{points:"15 18 9 12 15 6"}),right:m().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:m().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:m().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:m().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:m().createElement(m().Fragment,null,m().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),m().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},Zi={strokeWidth:1,viewBox:"0 0 24 24"},tr=function(u){var a=er(er({},Zi),u),f=a.strokeWidth,b=a.viewBox,E=a.icon;return m().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:b,fill:"none",stroke:"currentColor",strokeWidth:f,strokeLinecap:"round",strokeLinejoin:"round"},Ji[E])};tr.propTypes={strokeWidth:S.number,viewBox:S.string,icon:(0,S.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired};const bt=tr;var $t=m().memo(function(u){var a=u.isFullscreen,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:f,"aria-label":"Open Fullscreen"},m().createElement(bt,{strokeWidth:2,icon:a?"minimize":"maximize"}))});$t.displayName="Fullscreen",$t.propTypes={isFullscreen:S.bool.isRequired,onClick:S.func.isRequired};const eo=$t;var Ut=m().memo(function(u){var a=u.disabled,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:a,onClick:f,"aria-label":"Previous Slide"},m().createElement(bt,{icon:"left",viewBox:"6 0 12 24"}))});Ut.displayName="LeftNav",Ut.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const to=Ut;var Kt=m().memo(function(u){var a=u.disabled,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:a,onClick:f,"aria-label":"Next Slide"},m().createElement(bt,{icon:"right",viewBox:"6 0 12 24"}))});Kt.displayName="RightNav",Kt.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const no=Kt;var Vt=m().memo(function(u){var a=u.isPlaying,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:f,"aria-label":"Play or Pause Slideshow"},m().createElement(bt,{strokeWidth:2,icon:a?"pause":"play"}))});Vt.displayName="PlayPause",Vt.propTypes={isPlaying:S.bool.isRequired,onClick:S.func.isRequired};const ro=Vt;function tt(u){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},tt(u)}function Ht(){return Ht=Object.assign?Object.assign.bind():function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(u[b]=f[b])}return u},Ht.apply(this,arguments)}function nr(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function rr(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?nr(Object(f),!0).forEach(function(b){io(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):nr(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function io(u,a,f){return(a=function(b){var E=function(W,X){if(tt(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(tt(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return tt(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var oo={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},ir=function(u){var a=rr(rr({},oo),u),f=a.children,b=a.className,E=qi({delta:a.delta,onSwiping:a.onSwiping,onSwiped:a.onSwiped});return m().createElement("div",Ht({},E,{className:b}),f)};ir.propTypes={children:S.node.isRequired,className:S.string,delta:S.number,onSwiped:S.func,onSwiping:S.func};const or=ir;function Ge(u){return Ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ge(u)}function sr(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function ar(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?sr(Object(f),!0).forEach(function(b){lr(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):sr(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function so(u,a){for(var f=0;f<a.length;f++){var b=a[f];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,cr(b.key),b)}}function qt(u,a){return qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,b){return f.__proto__=b,f},qt(u,a)}function ao(u,a){if(a&&(Ge(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(u)}function oe(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function yt(u){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},yt(u)}function lr(u,a,f){return(a=cr(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}function cr(u){var a=function(f,b){if(Ge(f)!=="object"||f===null)return f;var E=f[Symbol.toPrimitive];if(E!==void 0){var W=E.call(f,b);if(Ge(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(f)}(u,"string");return Ge(a)==="symbol"?a:String(a)}var ur=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],lo=(0,S.arrayOf)((0,S.shape)({srcSet:S.string,media:S.string}));function dr(u){var a=parseInt(u.keyCode||u.which||0,10);return a===66||a===62}var Gt=function(u){(function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),l&&qt(c,l)})(X,u);var a,f,b,E,W=(b=X,E=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,l=yt(b);if(E){var y=yt(this).constructor;c=Reflect.construct(l,arguments,y)}else c=l.apply(this,arguments);return ao(this,c)});function X(c){var l;return function(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}(this,X),lr(oe(l=W.call(this,c)),"onBulletClick",function(y,O){var I=l.props,C=I.onBulletClick,K=I.items,U=l.state.currentIndex;y.target.blur(),U!==O&&(K.length===2?l.slideToIndexWithStyleReset(O,y):l.slideToIndex(O,y)),C&&C(y,O)}),l.state={currentIndex:c.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(c.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},l.loadedImages={},l.imageGallery=m().createRef(),l.thumbnailsWrapper=m().createRef(),l.thumbnails=m().createRef(),l.imageGallerySlideWrapper=m().createRef(),l.handleImageLoaded=l.handleImageLoaded.bind(oe(l)),l.handleKeyDown=l.handleKeyDown.bind(oe(l)),l.handleMouseDown=l.handleMouseDown.bind(oe(l)),l.handleResize=l.handleResize.bind(oe(l)),l.handleTouchMove=l.handleTouchMove.bind(oe(l)),l.handleOnSwiped=l.handleOnSwiped.bind(oe(l)),l.handleScreenChange=l.handleScreenChange.bind(oe(l)),l.handleSwiping=l.handleSwiping.bind(oe(l)),l.handleThumbnailSwiping=l.handleThumbnailSwiping.bind(oe(l)),l.handleOnThumbnailSwiped=l.handleOnThumbnailSwiped.bind(oe(l)),l.onThumbnailMouseLeave=l.onThumbnailMouseLeave.bind(oe(l)),l.handleImageError=l.handleImageError.bind(oe(l)),l.pauseOrPlay=l.pauseOrPlay.bind(oe(l)),l.renderThumbInner=l.renderThumbInner.bind(oe(l)),l.renderItem=l.renderItem.bind(oe(l)),l.slideLeft=l.slideLeft.bind(oe(l)),l.slideRight=l.slideRight.bind(oe(l)),l.toggleFullScreen=l.toggleFullScreen.bind(oe(l)),l.togglePlay=l.togglePlay.bind(oe(l)),l.unthrottledSlideToIndex=l.slideToIndex,l.slideToIndex=ce(l.unthrottledSlideToIndex,c.slideDuration,{trailing:!1}),c.lazyLoad&&(l.lazyLoaded=[]),l}return a=X,f=[{key:"componentDidMount",value:function(){var c=this.props,l=c.autoPlay,y=c.useWindowKeyDown;l&&this.play(),y?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(c,l){var y=this.props,O=y.items,I=y.lazyLoad,C=y.slideDuration,K=y.slideInterval,U=y.startIndex,H=y.thumbnailPosition,M=y.showThumbnails,L=y.useWindowKeyDown,z=this.state,N=z.currentIndex,q=z.isPlaying,J=c.items.length!==O.length,ie=!Ie()(c.items,O),ge=c.startIndex!==U,he=c.thumbnailPosition!==H,ue=c.showThumbnails!==M;K===c.slideInterval&&C===c.slideDuration||q&&(this.pause(),this.play()),he&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),ue&&M&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),ue&&!M&&this.removeThumbnailsResizeObserver(),(J||ue)&&this.handleResize(),l.currentIndex!==N&&this.slideThumbnailBar(),c.slideDuration!==C&&(this.slideToIndex=ce(this.unthrottledSlideToIndex,C,{trailing:!1})),!I||c.lazyLoad&&!ie||(this.lazyLoaded=[]),L!==c.useWindowKeyDown&&(L?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(ge||ie)&&this.setState({currentIndex:U,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var c=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),c?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var c=this,l=this.state,y=l.currentIndex,O=l.isTransitioning,I=this.props,C=I.onSlide,K=I.slideDuration;this.transitionTimer=window.setTimeout(function(){O&&(c.setState({isTransitioning:!O,isSwipingThumbnail:!1}),C&&C(y))},K+50)}},{key:"onThumbnailClick",value:function(c,l){var y=this.props,O=y.onThumbnailClick,I=y.items,C=this.state.currentIndex;c.target.parentNode.parentNode.blur(),C!==l&&(I.length===2?this.slideToIndexWithStyleReset(l,c):this.slideToIndex(l,c)),O&&O(c,l)}},{key:"onThumbnailMouseOver",value:function(c,l){var y=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){y.slideToIndex(l),y.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var c=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,c&&this.play()}}},{key:"setThumbsTranslate",value:function(c){this.setState({thumbsTranslate:c})}},{key:"setModalFullscreen",value:function(c){var l=this.props.onScreenChange;this.setState({modalFullscreen:c}),l&&l(c)}},{key:"getThumbsTranslate",value:function(c){var l,y=this.props,O=y.disableThumbnailScroll,I=y.items,C=this.state,K=C.thumbnailsWrapperWidth,U=C.thumbnailsWrapperHeight,H=this.thumbnails&&this.thumbnails.current;if(O)return 0;if(H){if(this.isThumbnailVertical()){if(H.scrollHeight<=U)return 0;l=H.scrollHeight-U}else{if(H.scrollWidth<=K||K<=0)return 0;l=H.scrollWidth-K}return c*(l/(I.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(c){switch(c){case"left":c=" ".concat("image-gallery-thumbnails-left");break;case"right":c=" ".concat("image-gallery-thumbnails-right");break;case"bottom":c=" ".concat("image-gallery-thumbnails-bottom");break;case"top":c=" ".concat("image-gallery-thumbnails-top")}return c}},{key:"getAlignmentClassName",value:function(c){var l=this.state.currentIndex,y=this.props,O=y.infinite,I=y.items,C="",K="image-gallery-left",U="image-gallery-right";switch(c){case l-1:C=" ".concat(K);break;case l:C=" ".concat("image-gallery-center");break;case l+1:C=" ".concat(U)}return I.length>=3&&O&&(c===0&&l===I.length-1?C=" ".concat(U):c===I.length-1&&l===0&&(C=" ".concat(K))),C}},{key:"getTranslateXForTwoSlide",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,I=l.previousIndex,C=y!==I,K=c===0&&I===0,U=c===1&&I===1,H=c===0&&y===1,M=c===1&&y===0,L=O===0,z=-100*y+100*c+O;return O>0?this.direction="left":O<0&&(this.direction="right"),M&&O>0&&(z=-100+O),H&&O<0&&(z=100+O),C?K&&L&&this.direction==="left"?z=100:U&&L&&this.direction==="right"&&(z=-100):(M&&L&&this.direction==="left"&&(z=-100),H&&L&&this.direction==="right"&&(z=100)),z}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,I=l.slideStyle,C=this.props,K=C.infinite,U=C.items,H=C.useTranslate3D,M=C.isRTL,L=-100*y,z=U.length-1,N=(L+100*c)*(M?-1:1)+O;K&&U.length>2&&(y===0&&c===z?N=-100*(M?-1:1)+O:y===z&&c===0&&(N=100*(M?-1:1)+O)),K&&U.length===2&&(N=this.getTranslateXForTwoSlide(c));var q="translate(".concat(N,"%, 0)");return H&&(q="translate3d(".concat(N,"%, 0, 0)")),ar({display:this.isSlideVisible(c)?"inherit":"none",WebkitTransform:q,MozTransform:q,msTransform:q,OTransform:q,transform:q},I)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var c,l=this.props,y=l.useTranslate3D,O=l.isRTL,I=this.state,C=I.thumbsTranslate,K=I.thumbsStyle,U=O?-1*C:C;return this.isThumbnailVertical()?(c="translate(0, ".concat(C,"px)"),y&&(c="translate3d(0, ".concat(C,"px, 0)"))):(c="translate(".concat(U,"px, 0)"),y&&(c="translate3d(".concat(U,"px, 0, 0)"))),ar({WebkitTransform:c,MozTransform:c,msTransform:c,OTransform:c,transform:c},K)}},{key:"getSlideItems",value:function(){var c=this,l=this.state.currentIndex,y=this.props,O=y.items,I=y.slideOnThumbnailOver,C=y.onClick,K=y.lazyLoad,U=y.onTouchMove,H=y.onTouchEnd,M=y.onTouchStart,L=y.onMouseOver,z=y.onMouseLeave,N=y.renderItem,q=y.renderThumbInner,J=y.showThumbnails,ie=y.showBullets,ge=[],he=[],ue=[];return O.forEach(function(re,Z){var _e=c.getAlignmentClassName(Z),nt=re.originalClass?" ".concat(re.originalClass):"",rt=re.thumbnailClass?" ".concat(re.thumbnailClass):"",Pe=re.renderItem||N||c.renderItem,Ae=re.renderThumbInner||q||c.renderThumbInner,Oe=!K||_e||c.lazyLoaded[Z];Oe&&K&&!c.lazyLoaded[Z]&&(c.lazyLoaded[Z]=!0);var Xe=c.getSlideStyle(Z),it=m().createElement("div",{"aria-label":"Go to Slide ".concat(Z+1),key:"slide-".concat(Z),tabIndex:"-1",className:"image-gallery-slide ".concat(_e," ").concat(nt),style:Xe,onClick:C,onKeyUp:c.handleSlideKeyUp,onTouchMove:U,onTouchEnd:H,onTouchStart:M,onMouseOver:L,onFocus:L,onMouseLeave:z,role:"button"},Oe?Pe(re):m().createElement("div",{style:{height:"100%"}}));if(ge.push(it),J&&re.thumbnail){var Qe=p("image-gallery-thumbnail",rt,{active:l===Z});he.push(m().createElement("button",{key:"thumbnail-".concat(Z),type:"button",tabIndex:"0","aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1),className:Qe,onMouseLeave:I?c.onThumbnailMouseLeave:null,onMouseOver:function(be){return c.handleThumbnailMouseOver(be,Z)},onFocus:function(be){return c.handleThumbnailMouseOver(be,Z)},onKeyUp:function(be){return c.handleThumbnailKeyUp(be,Z)},onClick:function(be){return c.onThumbnailClick(be,Z)}},Ae(re)))}if(ie){var ot=p("image-gallery-bullet",re.bulletClass,{active:l===Z});ue.push(m().createElement("button",{type:"button",key:"bullet-".concat(Z),className:ot,onClick:function(be){return c.onBulletClick(be,Z)},"aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1)}))}}),{slides:ge,thumbnails:he,bullets:ue}}},{key:"ignoreIsTransitioning",value:function(){var c=this.props.items,l=this.state,y=l.previousIndex,O=l.currentIndex,I=c.length-1;return Math.abs(y-O)>1&&!(y===0&&O===I)&&!(y===I&&O===0)}},{key:"isFirstOrLastSlide",value:function(c){return c===this.props.items.length-1||c===0}},{key:"slideIsTransitioning",value:function(c){var l=this.state,y=l.isTransitioning,O=l.previousIndex,I=l.currentIndex;return y&&!(c===O||c===I)}},{key:"isSlideVisible",value:function(c){return!this.slideIsTransitioning(c)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(c)}},{key:"slideThumbnailBar",value:function(){var c=this.state,l=c.currentIndex,y=c.isSwipingThumbnail,O=-this.getThumbsTranslate(l);y||(l===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:O,thumbsSwipedTranslate:O}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){return this.props.infinite||this.canSlidePrevious()}},{key:"canSlideRight",value:function(){return this.props.infinite||this.canSlideNext()}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(c){var l=c.event,y=c.absX,O=c.dir,I=this.props,C=I.disableSwipe,K=I.stopPropagation,U=this.state,H=U.galleryWidth,M=U.isTransitioning,L=U.swipingUpDown,z=U.swipingLeftRight;if(O!==He&&O!==We&&!L||z){if(O!==Ve&&O!==Fe||z||this.setState({swipingLeftRight:!0}),!C){var N=this.props.swipingTransitionDuration;if(K&&l.preventDefault(),M)this.setState({currentSlideOffset:0});else{var q=O===Fe?1:-1,J=y/H*100;Math.abs(J)>=100&&(J=100);var ie={transition:"transform ".concat(N,"ms ease-out")};this.setState({currentSlideOffset:q*J,slideStyle:ie})}}}else L||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(c){var l=c.event,y=c.absX,O=c.absY,I=c.dir,C=this.props,K=C.stopPropagation,U=C.swipingThumbnailTransitionDuration,H=this.state,M=H.thumbsSwipedTranslate,L=H.thumbnailsWrapperHeight,z=H.thumbnailsWrapperWidth,N=H.swipingUpDown,q=H.swipingLeftRight;if(this.isThumbnailVertical()){if((I===Ve||I===Fe||q)&&!N)return void(q||this.setState({swipingLeftRight:!0}));I!==He&&I!==We||N||this.setState({swipingUpDown:!0})}else{if((I===He||I===We||N)&&!q)return void(N||this.setState({swipingUpDown:!0}));I!==Ve&&I!==Fe||q||this.setState({swipingLeftRight:!0})}var J,ie,ge,he,ue,re=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(J=M+(I===We?O:-O),ie=re.scrollHeight-L+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollHeight<=L):(J=M+(I===Fe?y:-y),ie=re.scrollWidth-z+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollWidth<=z),!ue&&(I!==Ve&&I!==He||!ge)&&(I!==Fe&&I!==We||!he)){K&&l.stopPropagation();var Z={transition:"transform ".concat(U,"ms ease-out")};this.setState({thumbsTranslate:J,thumbsStyle:Z})}}},{key:"handleOnThumbnailSwiped",value:function(){var c=this.state.thumbsTranslate,l=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:c,thumbsStyle:{transition:"all ".concat(l,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var c=this.state.currentSlideOffset,l=this.props.swipeThreshold;return Math.abs(c)>l}},{key:"resetSwipingDirection",value:function(){var c=this.state,l=c.swipingUpDown,y=c.swipingLeftRight;l&&this.setState({swipingUpDown:!1}),y&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(c){var l=c.event,y=c.dir,O=c.velocity,I=this.props,C=I.disableSwipe,K=I.stopPropagation,U=I.flickThreshold;if(!C){var H=this.props.isRTL;K&&l.stopPropagation(),this.resetSwipingDirection();var M=(y===Ve?1:-1)*(H?-1:1),L=O>U&&!(y===He||y===We);this.handleOnSwipedTo(M,L)}}},{key:"handleOnSwipedTo",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=O;!this.sufficientSwipe()&&!l||I||(C+=c),(c===-1&&!this.canSlideLeft()||c===1&&!this.canSlideRight())&&(C=O),this.unthrottledSlideToIndex(C)}},{key:"handleTouchMove",value:function(c){this.state.swipingLeftRight&&c.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(c){var l=this.props,y=l.disableKeyDown,O=l.useBrowserFullscreen,I=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!y)switch(parseInt(c.keyCode||c.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(c);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(c);break;case 27:I&&!O&&this.exitFullScreen()}}},{key:"handleImageError",value:function(c){var l=this.props.onErrorImageURL;l&&c.target.src.indexOf(l)===-1&&(c.target.src=l)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var c=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(c)))}},{key:"initSlideWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeSlideWrapperObserver=new qn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperWidth:O.contentRect.width},l.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(c.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeThumbnailWrapperObserver=new qn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperHeight:O.contentRect.height},l.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(c.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var c=this.props,l=c.onScreenChange,y=c.useBrowserFullscreen,O=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,I=this.imageGallery.current===O;l&&l(I),y&&this.setState({isFullscreen:I})}},{key:"slideToIndex",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=this.props,K=C.items,U=C.slideDuration,H=C.onBeforeSlide;if(!I){l&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var M=K.length-1,L=c;c<0?L=M:c>M&&(L=0),H&&L!==O&&H(L),this.setState({previousIndex:O,currentIndex:L,isTransitioning:L!==O,currentSlideOffset:0,slideStyle:{transition:"all ".concat(U,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"right":"left")}},{key:"slideRight",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"left":"right")}},{key:"slideTo",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=this.props.items,K=O+(l==="left"?-1:1);I||(C.length===2?this.slideToIndexWithStyleReset(K,c):this.slideToIndex(K,c))}},{key:"slideToIndexWithStyleReset",value:function(c,l){var y=this,O=this.state,I=O.currentIndex,C=O.currentSlideOffset;this.setState({currentSlideOffset:C+(I>c?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return y.slideToIndex(c,l)},25)})}},{key:"handleThumbnailMouseOver",value:function(c,l){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(c,l)}},{key:"handleThumbnailKeyUp",value:function(c,l){dr(c)&&this.onThumbnailClick(c,l)}},{key:"handleSlideKeyUp",value:function(c){dr(c)&&(0,this.props.onClick)(c)}},{key:"isThumbnailVertical",value:function(){var c=this.props.thumbnailPosition;return c==="left"||c==="right"}},{key:"addScreenChangeEvent",value:function(){var c=this;ur.forEach(function(l){document.addEventListener(l,c.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var c=this;ur.forEach(function(l){document.removeEventListener(l,c.handleScreenChange)})}},{key:"fullScreen",value:function(){var c=this.props.useBrowserFullscreen,l=this.imageGallery.current;c?l.requestFullscreen?l.requestFullscreen():l.msRequestFullscreen?l.msRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var c=this.state.isFullscreen,l=this.props.useBrowserFullscreen;c&&(l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var c=this.props.infinite,l=this.state.currentIndex;c||this.canSlideRight()?this.slideToIndex(l+1):this.pause()}},{key:"play",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props,y=l.onPlay,O=l.slideInterval,I=l.slideDuration,C=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(O,I)),y&&c&&y(C))}},{key:"pause",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props.onPause,y=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),l&&c&&l(y))}},{key:"isImageLoaded",value:function(c){return!!this.loadedImages[c.original]||(this.loadedImages[c.original]=!0,!1)}},{key:"handleImageLoaded",value:function(c,l){var y=this.props.onImageLoad;!this.loadedImages[l]&&y&&(this.loadedImages[l]=!0,y(c))}},{key:"renderItem",value:function(c){var l=this.state.isFullscreen,y=this.props.onImageError||this.handleImageError;return m().createElement(Qi,{description:c.description,fullscreen:c.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:l,onImageError:y,original:c.original,originalAlt:c.originalAlt,originalHeight:c.originalHeight,originalWidth:c.originalWidth,originalTitle:c.originalTitle,sizes:c.sizes,loading:c.loading,srcSet:c.srcSet})}},{key:"renderThumbInner",value:function(c){var l=this.props.onThumbnailError||this.handleImageError;return m().createElement("span",{className:"image-gallery-thumbnail-inner"},m().createElement("img",{className:"image-gallery-thumbnail-image",src:c.thumbnail,height:c.thumbnailHeight,width:c.thumbnailWidth,alt:c.thumbnailAlt,title:c.thumbnailTitle,loading:c.thumbnailLoading,onError:l}),c.thumbnailLabel&&m().createElement("div",{className:"image-gallery-thumbnail-label"},c.thumbnailLabel))}},{key:"render",value:function(){var c=this.state,l=c.currentIndex,y=c.isFullscreen,O=c.modalFullscreen,I=c.isPlaying,C=this.props,K=C.additionalClass,U=C.disableThumbnailSwipe,H=C.indexSeparator,M=C.isRTL,L=C.items,z=C.thumbnailPosition,N=C.renderFullscreenButton,q=C.renderCustomControls,J=C.renderLeftNav,ie=C.renderRightNav,ge=C.showBullets,he=C.showFullscreenButton,ue=C.showIndex,re=C.showThumbnails,Z=C.showNav,_e=C.showPlayButton,nt=C.renderPlayPauseButton,rt=this.getThumbnailStyle(),Pe=this.getSlideItems(),Ae=Pe.slides,Oe=Pe.thumbnails,Xe=Pe.bullets,it=p("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(z),{"image-gallery-rtl":M}),Qe=m().createElement("div",{ref:this.imageGallerySlideWrapper,className:it},q&&q(),this.canSlide()?m().createElement(m().Fragment,null,Z&&m().createElement(m().Fragment,null,J(this.slideLeft,!this.canSlideLeft()),ie(this.slideRight,!this.canSlideRight())),m().createElement(or,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},m().createElement("div",{className:"image-gallery-slides"},Ae))):m().createElement("div",{className:"image-gallery-slides"},Ae),_e&&nt(this.togglePlay,I),ge&&m().createElement("div",{className:"image-gallery-bullets"},m().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Xe)),he&&N(this.toggleFullScreen,y),ue&&m().createElement("div",{className:"image-gallery-index"},m().createElement("span",{className:"image-gallery-index-current"},l+1),m().createElement("span",{className:"image-gallery-index-separator"},H),m().createElement("span",{className:"image-gallery-index-total"},L.length))),ot=p("image-gallery",K,{"fullscreen-modal":O}),be=p("image-gallery-content",this.getThumbnailPositionClassName(z),{fullscreen:y}),uo=p("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(z),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&M},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!U},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!U});return m().createElement("div",{ref:this.imageGallery,className:ot,"aria-live":"polite"},m().createElement("div",{className:be},(z==="bottom"||z==="right")&&Qe,re&&Oe.length>0?m().createElement(or,{className:uo,delta:0,onSwiping:!U&&this.handleThumbnailSwiping,onSwiped:!U&&this.handleOnThumbnailSwiped},m().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},m().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:rt,"aria-label":"Thumbnail Navigation"},Oe))):null,(z==="top"||z==="left")&&Qe))}}],f&&so(a.prototype,f),Object.defineProperty(a,"prototype",{writable:!1}),X}(m().Component);Gt.propTypes={flickThreshold:S.number,items:(0,S.arrayOf)((0,S.shape)({bulletClass:S.string,bulletOnClick:S.func,description:S.string,original:S.string,originalHeight:S.number,originalWidth:S.number,loading:S.string,thumbnailHeight:S.number,thumbnailWidth:S.number,thumbnailLoading:S.string,fullscreen:S.string,originalAlt:S.string,originalTitle:S.string,thumbnail:S.string,thumbnailAlt:S.string,thumbnailLabel:S.string,thumbnailTitle:S.string,originalClass:S.string,thumbnailClass:S.string,renderItem:S.func,renderThumbInner:S.func,imageSet:lo,srcSet:S.string,sizes:S.string})).isRequired,showNav:S.bool,autoPlay:S.bool,lazyLoad:S.bool,infinite:S.bool,showIndex:S.bool,showBullets:S.bool,showThumbnails:S.bool,showPlayButton:S.bool,showFullscreenButton:S.bool,disableThumbnailScroll:S.bool,disableKeyDown:S.bool,disableSwipe:S.bool,disableThumbnailSwipe:S.bool,useBrowserFullscreen:S.bool,onErrorImageURL:S.string,indexSeparator:S.string,thumbnailPosition:(0,S.oneOf)(["top","bottom","left","right"]),startIndex:S.number,slideDuration:S.number,slideInterval:S.number,slideOnThumbnailOver:S.bool,swipeThreshold:S.number,swipingTransitionDuration:S.number,swipingThumbnailTransitionDuration:S.number,onSlide:S.func,onBeforeSlide:S.func,onScreenChange:S.func,onPause:S.func,onPlay:S.func,onClick:S.func,onImageLoad:S.func,onImageError:S.func,onTouchMove:S.func,onTouchEnd:S.func,onTouchStart:S.func,onMouseOver:S.func,onMouseLeave:S.func,onBulletClick:S.func,onThumbnailError:S.func,onThumbnailClick:S.func,renderCustomControls:S.func,renderLeftNav:S.func,renderRightNav:S.func,renderPlayPauseButton:S.func,renderFullscreenButton:S.func,renderItem:S.func,renderThumbInner:S.func,stopPropagation:S.bool,additionalClass:S.string,useTranslate3D:S.bool,isRTL:S.bool,useWindowKeyDown:S.bool},Gt.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(u,a){return m().createElement(to,{onClick:u,disabled:a})},renderRightNav:function(u,a){return m().createElement(no,{onClick:u,disabled:a})},renderPlayPauseButton:function(u,a){return m().createElement(ro,{onClick:u,isPlaying:a})},renderFullscreenButton:function(u,a){return m().createElement(eo,{onClick:u,isFullscreen:a})},useWindowKeyDown:!0};const co=Gt})(),h})())}(Et)),Et.exports}var ja=ka();const Ta=fo(ja);function Oa(){var e=new Map;function t(n){var r=n.root,i=n.rootMargin,s=n.threshold,h=e.get(r);h||(h=new Map,e.set(r,h));var d=JSON.stringify({rootMargin:i,threshold:s}),p=h.get(d);if(!p){var g=new Map,m=new IntersectionObserver(function(v){v.forEach(function(j){var w=g.get(j.target);w?.(j)})},{root:r,rootMargin:i,threshold:s});p={observer:m,entryCallbacks:g},h.set(d,p)}return{observe:function(j,w){var k,x;(k=p)==null||k.entryCallbacks.set(j,w),(x=p)==null||x.observer.observe(j)},unobserve:function(j){var w,k;(w=p)==null||w.entryCallbacks.delete(j),(k=p)==null||k.observer.unobserve(j)}}}return{getObserver:t}}var Ca="0px",Ea=[0],Ia=Oa();function Pa(e){var t,n,r=(t=e?.rootMargin)!=null?t:Ca,i=(n=e?.threshold)!=null?n:Ea,s=F.useRef(null),h=F.useRef(null),d=F.useRef(null),p=F.useState(),g=p[0],m=p[1],v=F.useCallback(function(){var x=s.current;if(!x){m(void 0);return}var P=Ia.getObserver({root:h.current,rootMargin:r,threshold:i});P.observe(x,function(_){m(_)}),d.current=P},[r,i]),j=F.useCallback(function(){var x=d.current,P=s.current;P&&x?.unobserve(P),d.current=null},[]),w=F.useCallback(function(x){j(),s.current=x,v()},[v,j]),k=F.useCallback(function(x){j(),h.current=x,v()},[v,j]);return[w,{entry:g,rootRef:k}]}function vn(){return vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(this,arguments)}function Ra(e){var t,n=Pa(e),r=n[0],i=n[1],s=!!((t=i.entry)!=null&&t.isIntersecting),h=F.useState(s),d=h[0],p=h[1];return s&&!d&&p(!0),[r,vn({},i,{isVisible:s,wasEverVisible:d})]}var _a=100;function Ma(e){var t=e.loading,n=e.hasNextPage,r=e.onLoadMore,i=e.rootMargin,s=e.disabled,h=e.delayInMs,d=h===void 0?_a:h,p=Ra({rootMargin:i}),g=p[0],m=p[1],v=m.rootRef,j=m.isVisible,w=!s&&!t&&j&&n;return F.useEffect(function(){if(w){var k=setTimeout(function(){r()},d);return function(){clearTimeout(k)}}},[r,w,d]),[g,{rootRef:v}]}const La={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>'},Da={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005.195v12.666c0 1.96-1.537 3.56-3.472 3.662l-.195.005H5.667a3.667 3.667 0 0 1-3.662-3.472L2 18.333V5.667c0-1.96 1.537-3.56 3.472-3.662L5.667 2h12.666zm-2.626 7.293a1 1 0 0 0-1.414 0L11 12.585l-1.293-1.292l-.094-.083a1 1 0 0 0-1.32 1.497l2 2l.094.083a1 1 0 0 0 1.32-.083l4-4l.083-.094a1 1 0 0 0-.083-1.32z"/></g>'},za={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 6L6 18M6 6l12 12"/>'};var Zt=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function en(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function xi(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function wi(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");for(var t=e.split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function Fa(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(i=!1);return i}var zn={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Zt?173:189,"=":Zt?61:187,";":Zt?59:186,"'":222,"[":219,"]":221,"\\":220},De={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},xn={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},de={16:!1,18:!1,17:!1,91:!1},le={};for(var St=1;St<20;St++)zn["f".concat(St)]=111+St;var ne=[],_r=!1,Si="all",ki=[],Wt=function(t){return zn[t.toLowerCase()]||De[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function ji(e){Si=e||"all"}function ft(){return Si||"all"}function Wa(){return ne.slice(0)}function Aa(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}function Na(e){return typeof e=="string"&&(e=Wt(e)),ne.indexOf(e)!==-1}function Ba(e,t){var n,r;e||(e=ft());for(var i in le)if(Object.prototype.hasOwnProperty.call(le,i))for(n=le[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ft()===e&&ji(t||"all")}function $a(e){var t=e.keyCode||e.which||e.charCode,n=ne.indexOf(t);if(n>=0&&ne.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&ne.splice(0,ne.length),(t===93||t===224)&&(t=91),t in de){de[t]=!1;for(var r in De)De[r]===t&&(ye[r]=!1)}}function Ua(e){if(typeof e>"u")Object.keys(le).forEach(function(h){return delete le[h]});else if(Array.isArray(e))e.forEach(function(h){h.key&&tn(h)});else if(typeof e=="object")e.key&&tn(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0],s=n[1];typeof i=="function"&&(s=i,i=""),tn({key:e,scope:i,method:s,splitKey:"+"})}}var tn=function(t){var n=t.key,r=t.scope,i=t.method,s=t.splitKey,h=s===void 0?"+":s,d=wi(n);d.forEach(function(p){var g=p.split(h),m=g.length,v=g[m-1],j=v==="*"?"*":Wt(v);if(le[j]){r||(r=ft());var w=m>1?xi(De,g):[];le[j]=le[j].filter(function(k){var x=i?k.method===i:!0;return!(x&&k.scope===r&&Fa(k.mods,w))})}})};function Mr(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(!de[s]&&t.mods.indexOf(+s)>-1||de[s]&&t.mods.indexOf(+s)===-1)&&(i=!1);(t.mods.length===0&&!de[16]&&!de[18]&&!de[17]&&!de[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Lr(e,t){var n=le["*"],r=e.keyCode||e.which||e.charCode;if(ye.filter.call(this,e)){if((r===93||r===224)&&(r=91),ne.indexOf(r)===-1&&r!==229&&ne.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(k){var x=xn[k];e[k]&&ne.indexOf(x)===-1?ne.push(x):!e[k]&&ne.indexOf(x)>-1?ne.splice(ne.indexOf(x),1):k==="metaKey"&&e[k]&&ne.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(ne=ne.slice(ne.indexOf(x))))}),r in de){de[r]=!0;for(var i in De)De[i]===r&&(ye[i]=!0);if(!n)return}for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(de[s]=e[xn[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(ne.indexOf(17)===-1&&ne.push(17),ne.indexOf(18)===-1&&ne.push(18),de[17]=!0,de[18]=!0);var h=ft();if(n)for(var d=0;d<n.length;d++)n[d].scope===h&&(e.type==="keydown"&&n[d].keydown||e.type==="keyup"&&n[d].keyup)&&Mr(e,n[d],h,t);if(r in le){for(var p=0;p<le[r].length;p++)if((e.type==="keydown"&&le[r][p].keydown||e.type==="keyup"&&le[r][p].keyup)&&le[r][p].key){for(var g=le[r][p],m=g.splitKey,v=g.key.split(m),j=[],w=0;w<v.length;w++)j.push(Wt(v[w]));j.sort().join("")===ne.sort().join("")&&Mr(e,g,h,t)}}}}function Ka(e){return ki.indexOf(e)>-1}function ye(e,t,n){ne=[];var r=wi(e),i=[],s="all",h=document,d=0,p=!1,g=!0,m="+",v=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(s=t.scope),t.element&&(h=t.element),t.keyup&&(p=t.keyup),t.keydown!==void 0&&(g=t.keydown),t.capture!==void 0&&(v=t.capture),typeof t.splitKey=="string"&&(m=t.splitKey)),typeof t=="string"&&(s=t);d<r.length;d++)e=r[d].split(m),i=[],e.length>1&&(i=xi(De,e)),e=e[e.length-1],e=e==="*"?"*":Wt(e),e in le||(le[e]=[]),le[e].push({keyup:p,keydown:g,scope:s,mods:i,shortcut:r[d],method:n,key:r[d],splitKey:m,element:h});typeof h<"u"&&!Ka(h)&&window&&(ki.push(h),en(h,"keydown",function(j){Lr(j,h)},v),_r||(_r=!0,en(window,"focus",function(){ne=[]},v)),en(h,"keyup",function(j){Lr(j,h),$a(j)},v))}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(le).forEach(function(n){var r=le[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var nn={setScope:ji,getScope:ft,deleteScope:Ba,getPressedKeyCodes:Wa,isPressed:Na,filter:Aa,trigger:Va,unbind:Ua,keyMap:zn,modifier:De,modifierMap:xn};for(var rn in nn)Object.prototype.hasOwnProperty.call(nn,rn)&&(ye[rn]=nn[rn]);if(typeof window<"u"){var Ha=window.hotkeys;ye.noConflict=function(e){return e&&window.hotkeys===ye&&(window.hotkeys=Ha),ye},window.hotkeys=ye}ye.filter=function(){return!0};var Ti=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},qa=function(t){return Ti(t,["INPUT","TEXTAREA","SELECT"])};function Ga(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},s=i.enableOnTags,h=i.filter,d=i.keyup,p=i.keydown,g=i.filterPreventDefault,m=g===void 0?!0:g,v=i.enabled,j=v===void 0?!0:v,w=i.enableOnContentEditable,k=w===void 0?!1:w,x=F.useRef(null),P=F.useCallback(function(_,T){var A,Y;return h&&!h(_)?!m:qa(_)&&!Ti(_,s)||(A=_.target)!=null&&A.isContentEditable&&!k?!0:x.current===null||document.activeElement===x.current||(Y=x.current)!=null&&Y.contains(document.activeElement)?(t(_,T),!0):!1},r?[x,s,h].concat(r):[x,s,h]);return F.useEffect(function(){if(!j){ye.unbind(e,P);return}return d&&p!==!0&&(n.keydown=!1),ye(e,n||{},P),function(){return ye.unbind(e,P)}},[P,e,j]),x}ye.isPressed;const Oi=F.createContext({open:!1,toggleOpen:e=>{}});function Xa({children:e}){const[t,n]=F.useState(!1),r=s=>{n(s??!s)},i=F.useMemo(()=>({open:t,toggleOpen:r}),[t]);return o.jsx(Oi.Provider,{value:i,children:e})}function Fn(){return F.useContext(Oi)}const xe={nameAsc:"title",nameDesc:"title",popularity:"stats.downloads",publishAt:"lastPublishedAt",mobilePageSize:10,pageSize:18,currentPage:1,defaultCurrentPage:1,blockletsPath:"/api/v2/blocklets.json",categoriesPath:"/api/blocklets/categories",explorePath:"/api/blocklets/explore",exploreDidsPath:"/api/blocklets/dids",cacheSize:100},Qa=e=>Dt(async()=>{const{data:t}=await e.get(xe.categoriesPath);return Array.isArray(t)?t:[]},{manual:!0});function Ya(e,t){const n=e.menu?{sortBy:"popularity",sortDirection:"desc",showResources:"true",...yo(e,["sortBy","sortDirection","showResources"])}:{sortBy:"popularity",sortDirection:"desc",showResources:"true",...e,menu:void 0},{onFilterChange:r,onSearchSelect:i=d=>{t.onFilterChange({...n,keyword:d.title})},emptyCategory:s}=t;!n.category&&!s&&(n.category="All");const h=d=>{const p={...n,...d};r(Xt(p,g=>g===""||g===void 0))};return{filters:e,cleanFilter:d=>{const p=d?Xt(n,(g,m)=>d.includes(m)):{};r(Xt(p,g=>g===""||g===void 0))},handleActiveMenu:d=>{d!==e.menu&&r({menu:d})},handleSort:(d,p)=>{h({sortBy:d,sortDirection:p||d==="nameAsc"?"asc":"desc"})},handleKeyword:d=>{h({category:void 0,keyword:d||void 0})},handlePrice:d=>{h({price:d===e.price?void 0:d})},handleCategory:d=>{h({category:d===e.category?"":d})},handleDeveloper:d=>{h({owner:d||void 0})},handlePage:d=>{h({currentPage:d})},handleSwitchShowResources:d=>{h({showResources:d})},handleSearchSelect:d=>{i(d)}}}const Ja=(e,t,n)=>e&&t||!n,Ci=e=>[{name:e("sort.popularity"),value:"popularity"},{name:e("sort.lastPublished"),value:"publishAt"}],Ei=(e,t,n)=>{const r=jo(e),i=To(r.search);if(Oo(e)?.endsWith(".gif"))return i.imageFilter?Co({...r,search:""}):e;if(i.imageFilter)return e;const s=n||window.blocklet?.version,{w:h,h:d}=typeof t=="object"?{w:t.w,h:t.h}:{w:t,h:t};return On(e,{...h||d?{imageFilter:"resize",w:h,h:d}:{},v:s})},Za=e=>[{name:e("blocklet.free"),value:"free"},{name:e("blocklet.payment"),value:"payment"}],el=(e=[],t="en")=>e.map(n=>({name:n.locales[t]||n.locales.en,value:n._id})),tl=e=>Array.isArray(e)?e.map(t=>t.message).join(`
|
|
1
|
+
import{aG as Lt,j as o,be as Le,dg as ho,dv as vt,bd as fo,r as F,f as $e,f6 as po,a2 as mo,f1 as go,f7 as Ur,cq as Dt,aB as bo,aC as Tn,N as V,aV as fe,f8 as yo,f9 as Xt,c_ as hr,cv as vo,T as Q,fa as xo,f4 as Kr,C as Ce,dH as ve,fb as Vr,fc as wo,fd as Hr,dJ as qr,fe as Qt,t as Gr,U as It,y as Je,at as Pt,ff as So,F as Ye,aU as Xr,V as Qr,z as On,dn as Me,G as fr,aP as ko,eN as pr,cF as jo,fg as To,fh as Oo,fi as Co,cD as Eo,O as Io,dK as Po,fj as Ro,dI as _o,bu as Mo,_ as Lo,fk as Do,fl as mr,dd as ze,m as Ue,az as Cn,aO as gr,o as R,bk as zo,fm as Yr,b2 as Fo,aE as xt,v as Rt,a7 as Wo,a8 as Jr,aF as Ao,fn as br,a9 as No,bn as En,$ as Bo,D as $o,X as Uo,cL as Ko,Y as at,eC as Vo,H as Ne,b as Ho,n as qo,a$ as Go,ad as Xo,cr as Qo,E as Zr,cw as Yo,b8 as Jo,W as Zo}from"./index-D7lzrhp6.js";import{u as es,V as ts}from"./Verified-Sbsjq85f.js";import{P as ns}from"./ChevronLeft-zMXGyPG9.js";import{N as rs}from"./ChevronRight-BrTU-Laa.js";import{S as is}from"./Search-BRG28-bq.js";import{y as os}from"./index-DZdX_ov1.js";import{o as ss,u as as}from"./blocklet-CE5XgbbR.js";import{A as ls}from"./Autocomplete-CWNFguFL.js";import{S as cs,V as us}from"./VerifiedUser-BYFzI6ca.js";import{A as ds}from"./Add-BuxBWbKv.js";import{L as ei}from"./Launch-Dj1HRwwB.js";import{D as hs}from"./Done-BMzUfIev.js";import{D as ti}from"./DeleteOutline-CdS_T1n7.js";import{D as fs}from"./delete-confirm-CEQXI_Kb.js";import{I as ps}from"./MoreVert-DLy2w-Ib.js";import{g as ut}from"./get-safe-url-BKVSUfZ3.js";import{B as yr}from"./ButtonGroup-Ca-yV-4C.js";const ms=Lt(o.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"})),gs=Lt(o.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})),bs=Lt(o.jsx("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"})),ys=Lt(o.jsx("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"})),oc="blocklet-add-component-registry",sc="server-add-registry",vs={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 16l2-6l6-2l-2 6l-6 2"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m9-9v2m0 14v2m-9-9h2m14 0h2"/></g>'},lt=/^[a-z0-9]+(-[a-z0-9]+)*$/,zt=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const d=i.pop(),p=i.pop(),g={provider:i.length>0?i[0]:r,prefix:p,name:d};return t&&!Ot(g)?null:g}const s=i[0],h=s.split("-");if(h.length>1){const d={provider:r,prefix:h.shift(),name:h.join("-")};return t&&!Ot(d)?null:d}if(n&&r===""){const d={provider:r,prefix:"",name:s};return t&&!Ot(d,n)?null:d}return null},Ot=(e,t)=>e?!!((e.provider===""||e.provider.match(lt))&&(t&&e.prefix===""||e.prefix.match(lt))&&e.name.match(lt)):!1,ni=Object.freeze({left:0,top:0,width:16,height:16}),_t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),In=Object.freeze({...ni,..._t}),hn=Object.freeze({...In,body:"",hidden:!1});function xs(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function vr(e,t){const n=xs(e,t);for(const r in hn)r in _t?r in e&&!(r in n)&&(n[r]=_t[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ws(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function s(h){if(n[h])return i[h]=[];if(!(h in i)){i[h]=null;const d=r[h]&&r[h].parent,p=d&&s(d);p&&(i[h]=[d].concat(p))}return i[h]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Ss(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let s={};function h(d){s=vr(r[d]||i[d],s)}return h(t),n.forEach(h),vr(e,s)}function ri(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=ws(e);for(const i in r){const s=r[i];s&&(t(i,Ss(e,i,s)),n.push(i))}return n}const ks={provider:"",aliases:{},not_found:{},...ni};function Yt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ii(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Yt(e,ks))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(lt)||typeof s.body!="string"||!Yt(s,hn))return null}const r=t.aliases||Object.create(null);for(const i in r){const s=r[i],h=s.parent;if(!i.match(lt)||typeof h!="string"||!n[h]&&!r[h]||!Yt(s,hn))return null}return t}const xr=Object.create(null);function js(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Be(e,t){const n=xr[e]||(xr[e]=Object.create(null));return n[t]||(n[t]=js(e,t))}function Pn(e,t){return ii(t)?ri(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ts(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let dt=!1;function oi(e){return typeof e=="boolean"&&(dt=e),dt}function Os(e){const t=typeof e=="string"?zt(e,!0,dt):e;if(t){const n=Be(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Cs(e,t){const n=zt(e,!0,dt);if(!n)return!1;const r=Be(n.provider,n.prefix);return Ts(r,n.name,t)}function Es(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),dt&&!t&&!e.prefix){let i=!1;return ii(e)&&(e.prefix="",ri(e,(s,h)=>{h&&Cs(s,h)&&(i=!0)})),i}const n=e.prefix;if(!Ot({provider:t,prefix:n,name:"a"}))return!1;const r=Be(t,n);return!!Pn(r,e)}const si=Object.freeze({width:null,height:null}),ai=Object.freeze({...si,..._t}),Is=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ps=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Is);if(r===null||!r.length)return e;const i=[];let s=r.shift(),h=Ps.test(s);for(;;){if(h){const d=parseFloat(s);isNaN(d)?i.push(s):i.push(Math.ceil(d*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");h=!h}}const Rs=e=>e==="unset"||e==="undefined"||e==="none";function _s(e,t){const n={...In,...e},r={...ai,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(k=>{const x=[],P=k.hFlip,_=k.vFlip;let T=k.rotate;P?_?T+=2:(x.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),x.push("scale(-1 1)"),i.top=i.left=0):_&&(x.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),x.push("scale(1 -1)"),i.top=i.left=0);let A;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:A=i.height/2+i.top,x.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:x.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:A=i.width/2+i.left,x.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}T%2===1&&(i.left!==i.top&&(A=i.left,i.left=i.top,i.top=A),i.width!==i.height&&(A=i.width,i.width=i.height,i.height=A)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const h=r.width,d=r.height,p=i.width,g=i.height;let m,v;h===null?(v=d===null?"1em":d==="auto"?g:d,m=wr(v,p/g)):(m=h==="auto"?p:h,v=d===null?wr(m,g/p):d==="auto"?g:d);const j={},w=(k,x)=>{Rs(x)||(j[k]=x.toString())};return w("width",m),w("height",v),j.viewBox=i.left.toString()+" "+i.top.toString()+" "+p.toString()+" "+g.toString(),{attributes:j,body:s}}const Ms=/\sid="(\S+)"/g,Ls="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ds=0;function zs(e,t=Ls){const n=[];let r;for(;r=Ms.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const h=typeof t=="function"?t(s):t+(Ds++).toString(),d=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+d+')([")]|\\.[a-z])',"g"),"$1"+h+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const fn=Object.create(null);function Fs(e,t){fn[e]=t}function pn(e){return fn[e]||fn[""]}function Rn(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const _n=Object.create(null),st=["https://api.simplesvg.com","https://api.unisvg.com"],Ct=[];for(;st.length>0;)st.length===1||Math.random()>.5?Ct.push(st.shift()):Ct.push(st.pop());_n[""]=Rn({resources:["https://api.iconify.design"].concat(Ct)});function Ws(e,t){const n=Rn(t);return n===null?!1:(_n[e]=n,!0)}function Mn(e){return _n[e]}const As=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Sr=As();function Ns(e,t){const n=Mn(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(h=>{i=Math.max(i,h.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function Bs(e){return e===404}const $s=(e,t,n)=>{const r=[],i=Ns(e,t),s="icons";let h={type:s,provider:e,prefix:t,icons:[]},d=0;return n.forEach((p,g)=>{d+=p.length+1,d>=i&&g>0&&(r.push(h),h={type:s,provider:e,prefix:t,icons:[]},d=p.length),h.icons.push(p)}),r.push(h),r};function Us(e){if(typeof e=="string"){const t=Mn(e);if(t)return t.path}return"/"}const Ks=(e,t,n)=>{if(!Sr){n("abort",424);return}let r=Us(t.provider);switch(t.type){case"icons":{const s=t.prefix,d=t.icons.join(","),p=new URLSearchParams({icons:d});r+=s+".json?"+p.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;Sr(e+r).then(s=>{const h=s.status;if(h!==200){setTimeout(()=>{n(Bs(h)?"abort":"next",h)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},Vs={prepare:$s,send:Ks};function Hs(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,h=i.prefix,d=i.name,p=n[s]||(n[s]=Object.create(null)),g=p[h]||(p[h]=Be(s,h));let m;d in g.icons?m=t.loaded:h===""||g.missing.has(d)?m=t.missing:m=t.pending;const v={provider:s,prefix:h,name:d};m.push(v)}),t}function li(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function qs(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const h=s.icons,d=h.pending.length;h.pending=h.pending.filter(p=>{if(p.prefix!==i)return!0;const g=p.name;if(e.icons[g])h.loaded.push({provider:r,prefix:i,name:g});else if(e.missing.has(g))h.missing.push({provider:r,prefix:i,name:g});else return n=!0,!0;return!1}),h.pending.length!==d&&(n||li([e],s.id),s.callback(h.loaded.slice(0),h.missing.slice(0),h.pending.slice(0),s.abort))})}))}let Gs=0;function Xs(e,t,n){const r=Gs++,i=li.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(h=>{(h.loaderCallbacks||(h.loaderCallbacks=[])).push(s)}),i}function Qs(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?zt(i,t,n):i;s&&r.push(s)}),r}var Ys={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let h;if(e.random){let B=e.resources.slice(0);for(h=[];B.length>1;){const G=Math.floor(Math.random()*B.length);h.push(B[G]),B=B.slice(0,G).concat(B.slice(G+1))}h=h.concat(B)}else h=e.resources.slice(s).concat(e.resources.slice(0,s));const d=Date.now();let p="pending",g=0,m,v=null,j=[],w=[];typeof r=="function"&&w.push(r);function k(){v&&(clearTimeout(v),v=null)}function x(){p==="pending"&&(p="aborted"),k(),j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function P(B,G){G&&(w=[]),typeof B=="function"&&w.push(B)}function _(){return{startTime:d,payload:t,status:p,queriesSent:g,queriesPending:j.length,subscribe:P,abort:x}}function T(){p="failed",w.forEach(B=>{B(void 0,m)})}function A(){j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function Y(B,G,te){const se=G!=="success";switch(j=j.filter($=>$!==B),p){case"pending":break;case"failed":if(se||!e.dataAfterTimeout)return;break;default:return}if(G==="abort"){m=te,T();return}if(se){m=te,j.length||(h.length?ee():T());return}if(k(),A(),!e.random){const $=e.resources.indexOf(B.resource);$!==-1&&$!==e.index&&(e.index=$)}p="completed",w.forEach($=>{$(te)})}function ee(){if(p!=="pending")return;k();const B=h.shift();if(B===void 0){if(j.length){v=setTimeout(()=>{k(),p==="pending"&&(A(),T())},e.timeout);return}T();return}const G={status:"pending",resource:B,callback:(te,se)=>{Y(G,te,se)}};j.push(G),g++,v=setTimeout(ee,e.rotate),n(B,t,G.callback)}return setTimeout(ee),_}function ci(e){const t={...Ys,...e};let n=[];function r(){n=n.filter(d=>d().status==="pending")}function i(d,p,g){const m=Js(t,d,p,(v,j)=>{r(),g&&g(v,j)});return n.push(m),m}function s(d){return n.find(p=>d(p))||null}return{query:i,find:s,setIndex:d=>{t.index=d},getIndex:()=>t.index,cleanup:r}}function kr(){}const Jt=Object.create(null);function Zs(e){if(!Jt[e]){const t=Mn(e);if(!t)return;const n=ci(t),r={config:t,redundancy:n};Jt[e]=r}return Jt[e]}function ea(e,t,n){let r,i;if(typeof e=="string"){const s=pn(e);if(!s)return n(void 0,424),kr;i=s.send;const h=Zs(e);h&&(r=h.redundancy)}else{const s=Rn(e);if(s){r=ci(s);const h=e.resources?e.resources[0]:"",d=pn(h);d&&(i=d.send)}}return!r||!i?(n(void 0,424),kr):r.query(t,i,n)().abort}const jr="iconify2",ht="iconify",ui=ht+"-count",Tr=ht+"-version",di=36e5,ta=168;function mn(e,t){try{return e.getItem(t)}catch{}}function Ln(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Or(e,t){try{e.removeItem(t)}catch{}}function gn(e,t){return Ln(e,ui,t.toString())}function bn(e){return parseInt(mn(e,ui))||0}const Ft={local:!0,session:!0},hi={local:new Set,session:new Set};let Dn=!1;function na(e){Dn=e}let wt=typeof window>"u"?{}:window;function fi(e){const t=e+"Storage";try{if(wt&&wt[t]&&typeof wt[t].length=="number")return wt[t]}catch{}Ft[e]=!1}function pi(e,t){const n=fi(e);if(!n)return;const r=mn(n,Tr);if(r!==jr){if(r){const d=bn(n);for(let p=0;p<d;p++)Or(n,ht+p.toString())}Ln(n,Tr,jr),gn(n,0);return}const i=Math.floor(Date.now()/di)-ta,s=d=>{const p=ht+d.toString(),g=mn(n,p);if(typeof g=="string"){try{const m=JSON.parse(g);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,d))return!0}catch{}Or(n,p)}};let h=bn(n);for(let d=h-1;d>=0;d--)s(d)||(d===h-1?(h--,gn(n,h)):hi[e].add(d))}function mi(){if(!Dn){na(!0);for(const e in Ft)pi(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Be(r,i);if(!Pn(s,n).length)return!1;const h=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,h):h,!0})}}function ra(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Ft)pi(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function ia(e,t){Dn||mi();function n(r){let i;if(!Ft[r]||!(i=fi(r)))return;const s=hi[r];let h;if(s.size)s.delete(h=Array.from(s).shift());else if(h=bn(i),!gn(i,h+1))return;const d={cached:Math.floor(Date.now()/di),provider:e.provider,data:t};return Ln(i,ht+h.toString(),JSON.stringify(d))}t.lastModified&&!ra(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Cr(){}function oa(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qs(e)}))}function sa(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=pn(n)))return;s.prepare(n,r,i).forEach(d=>{ea(n,d,p=>{if(typeof p!="object")d.icons.forEach(g=>{e.missing.add(g)});else try{const g=Pn(e,p);if(!g.length)return;const m=e.pendingIcons;m&&g.forEach(v=>{m.delete(v)}),ia(e,p)}catch(g){console.error(g)}oa(e)})})}))}const aa=(e,t)=>{const n=Qs(e,!0,oi()),r=Hs(n);if(!r.pending.length){let p=!0;return t&&setTimeout(()=>{p&&t(r.loaded,r.missing,r.pending,Cr)}),()=>{p=!1}}const i=Object.create(null),s=[];let h,d;return r.pending.forEach(p=>{const{provider:g,prefix:m}=p;if(m===d&&g===h)return;h=g,d=m,s.push(Be(g,m));const v=i[g]||(i[g]=Object.create(null));v[m]||(v[m]=[])}),r.pending.forEach(p=>{const{provider:g,prefix:m,name:v}=p,j=Be(g,m),w=j.pendingIcons||(j.pendingIcons=new Set);w.has(v)||(w.add(v),i[g][m].push(v))}),s.forEach(p=>{const{provider:g,prefix:m}=p;i[g][m].length&&sa(p,i[g][m])}),t?Xs(t,r,s):Cr};function la(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in si?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ca=/[\s,]+/;function ua(e,t){t.split(ca).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function da(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ha(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function fa(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function pa(e){return"data:image/svg+xml,"+fa(e)}function ma(e){return'url("'+pa(e)+'")'}let ct;function ga(){try{ct=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{ct=null}}function ba(e){return ct===void 0&&ga(),ct?ct.createHTML(e):e}const gi={...ai,inline:!1},ya={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},va={display:"inline-block"},yn={backgroundColor:"currentColor"},bi={backgroundColor:"transparent"},Er={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ir={WebkitMask:yn,mask:yn,background:bi};for(const e in Ir){const t=Ir[e];for(const n in Er)t[e+n]=Er[n]}const xa={...gi,inline:!0};function Pr(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const wa=(e,t,n,r)=>{const i=n?xa:gi,s=la(i,t),h=t.mode||"svg",d={},p=t.style||{},g={...h==="svg"?ya:{},ref:r};for(let _ in t){const T=t[_];if(T!==void 0)switch(_){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":s[_]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&ua(s,T);break;case"color":d.color=T;break;case"rotate":typeof T=="string"?s[_]=da(T):typeof T=="number"&&(s[_]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete g["aria-hidden"];break;default:i[_]===void 0&&(g[_]=T)}}const m=_s(e,s),v=m.attributes;if(s.inline&&(d.verticalAlign="-0.125em"),h==="svg"){g.style={...d,...p},Object.assign(g,v);let _=0,T=t.id;return typeof T=="string"&&(T=T.replace(/-/g,"_")),g.dangerouslySetInnerHTML={__html:ba(zs(m.body,T?()=>T+"ID"+_++:"iconifyReact"))},Le.createElement("svg",g)}const{body:j,width:w,height:k}=e,x=h==="mask"||(h==="bg"?!1:j.indexOf("currentColor")!==-1),P=ha(j,{...v,width:w+"",height:k+""});return g.style={...d,"--svg":ma(P),width:Pr(v.width),height:Pr(v.height),...va,...x?yn:bi,...p},Le.createElement("span",g)};oi(!0);Fs("",Vs);if(typeof document<"u"&&typeof window<"u"){mi();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Es(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;Ws(n,i)||console.error(r)}catch{console.error(r)}}}}class yi extends Le.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const n=this.state,r=this.props.icon;if(typeof r=="object"&&r!==null&&typeof r.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:r});return}let i;if(typeof r!="string"||(i=zt(r,!1,!0))===null){this._abortLoading(),this._setData(null);return}const s=Os(i);if(!s){(!this._loading||this._loading.name!==r)&&(this._abortLoading(),this._icon="",this._setData(null),s!==null&&(this._loading={name:r,abort:aa([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==r||n.icon===null){this._abortLoading(),this._icon=r;const h=["iconify"];i.prefix!==""&&h.push("iconify--"+i.prefix),i.provider!==""&&h.push("iconify--"+i.provider),this._setData({data:s,classes:h}),this.props.onLoad&&this.props.onLoad(r)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:Le.createElement("span",{});let r=t;return n.classes&&(r={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),wa({...In,...n.data},r,t._inline,t._ref)}}const Re=Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!1};return Le.createElement(yi,r)});Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!0};return Le.createElement(yi,r)});const vi={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 18a3.5 3.5 0 0 0 0-7h-1A5 4.5 0 0 0 7 9a4.6 4.4 0 0 0-2.1 8.4M12 13v9m-3-3l3 3l3-3"/>'};var Et={exports:{}},Sa=Et.exports,Rr;function ka(){return Rr||(Rr=1,function(e,t){(function(n,r){e.exports=r(ho())})(Sa,n=>(()=>{var r={703:(d,p,g)=>{var m=g(414);function v(){}function j(){}j.resetWarningCache=v,d.exports=function(){function w(P,_,T,A,Y,ee){if(ee!==m){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}}function k(){return w}w.isRequired=w;var x={array:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:k,element:w,elementType:w,instanceOf:k,node:w,objectOf:k,oneOf:k,oneOfType:k,shape:k,exact:k,checkPropTypes:j,resetWarningCache:v};return x.PropTypes=x,x}},697:(d,p,g)=>{d.exports=g(703)()},414:d=>{d.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:d=>{var p=typeof Element<"u",g=typeof Map=="function",m=typeof Set=="function",v=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function j(w,k){if(w===k)return!0;if(w&&k&&typeof w=="object"&&typeof k=="object"){if(w.constructor!==k.constructor)return!1;var x,P,_,T;if(Array.isArray(w)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(!j(w[P],k[P]))return!1;return!0}if(g&&w instanceof Map&&k instanceof Map){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;for(T=w.entries();!(P=T.next()).done;)if(!j(P.value[1],k.get(P.value[0])))return!1;return!0}if(m&&w instanceof Set&&k instanceof Set){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;return!0}if(v&&ArrayBuffer.isView(w)&&ArrayBuffer.isView(k)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(w[P]!==k[P])return!1;return!0}if(w.constructor===RegExp)return w.source===k.source&&w.flags===k.flags;if(w.valueOf!==Object.prototype.valueOf)return w.valueOf()===k.valueOf();if(w.toString!==Object.prototype.toString)return w.toString()===k.toString();if((x=(_=Object.keys(w)).length)!==Object.keys(k).length)return!1;for(P=x;P--!=0;)if(!Object.prototype.hasOwnProperty.call(k,_[P]))return!1;if(p&&w instanceof Element)return!1;for(P=x;P--!=0;)if((_[P]!=="_owner"&&_[P]!=="__v"&&_[P]!=="__o"||!w.$$typeof)&&!j(w[_[P]],k[_[P]]))return!1;return!0}return w!=w&&k!=k}d.exports=function(w,k){try{return j(w,k)}catch(x){if((x.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw x}}},359:d=>{d.exports=n}},i={};function s(d){var p=i[d];if(p!==void 0)return p.exports;var g=i[d]={exports:{}};return r[d](g,g.exports,s),g.exports}s.n=d=>{var p=d&&d.__esModule?()=>d.default:()=>d;return s.d(p,{a:p}),p},s.d=(d,p)=>{for(var g in p)s.o(p,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:p[g]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(d,p)=>Object.prototype.hasOwnProperty.call(d,p),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var h={};return(()=>{function d(u){var a,f,b="";if(typeof u=="string"||typeof u=="number")b+=u;else if(typeof u=="object")if(Array.isArray(u))for(a=0;a<u.length;a++)u[a]&&(f=d(u[a]))&&(b&&(b+=" "),b+=f);else for(a in u)u[a]&&(b&&(b+=" "),b+=a);return b}function p(){for(var u,a,f=0,b="";f<arguments.length;)(u=arguments[f++])&&(a=d(u))&&(b&&(b+=" "),b+=a);return b}s.r(h),s.d(h,{default:()=>co});var g=s(359),m=s.n(g);const v=function(u){var a=typeof u;return u!=null&&(a=="object"||a=="function")},j=typeof vt=="object"&&vt&&vt.Object===Object&&vt;var w=typeof self=="object"&&self&&self.Object===Object&&self;const k=j||w||Function("return this")(),x=function(){return k.Date.now()};var P=/\s/,_=/^\s+/;const T=function(u){return u&&u.slice(0,function(a){for(var f=a.length;f--&&P.test(a.charAt(f)););return f}(u)+1).replace(_,"")},A=k.Symbol;var Y=Object.prototype,ee=Y.hasOwnProperty,B=Y.toString,G=A?A.toStringTag:void 0,te=Object.prototype.toString,se=A?A.toStringTag:void 0;const $=function(u){return u==null?u===void 0?"[object Undefined]":"[object Null]":se&&se in Object(u)?function(a){var f=ee.call(a,G),b=a[G];try{a[G]=void 0;var E=!0}catch{}var W=B.call(a);return E&&(f?a[G]=b:delete a[G]),W}(u):function(a){return te.call(a)}(u)};var Ee=/^[-+]0x[0-9a-f]+$/i,we=/^0b[01]+$/i,ke=/^0o[0-7]+$/i,me=parseInt;const Se=function(u){if(typeof u=="number")return u;if(function(b){return typeof b=="symbol"||function(E){return E!=null&&typeof E=="object"}(b)&&$(b)=="[object Symbol]"}(u))return NaN;if(v(u)){var a=typeof u.valueOf=="function"?u.valueOf():u;u=v(a)?a+"":a}if(typeof u!="string")return u===0?u:+u;u=T(u);var f=we.test(u);return f||ke.test(u)?me(u.slice(2),f?2:8):Ee.test(u)?NaN:+u};var D=Math.max,ae=Math.min;const je=function(u,a,f){var b,E,W,X,c,l,y=0,O=!1,I=!1,C=!0;if(typeof u!="function")throw new TypeError("Expected a function");function K(N){var q=b,J=E;return b=E=void 0,y=N,X=u.apply(J,q)}function U(N){return y=N,c=setTimeout(M,a),O?K(N):X}function H(N){var q=N-l;return l===void 0||q>=a||q<0||I&&N-y>=W}function M(){var N=x();if(H(N))return L(N);c=setTimeout(M,function(q){var J=a-(q-l);return I?ae(J,W-(q-y)):J}(N))}function L(N){return c=void 0,C&&b?K(N):(b=E=void 0,X)}function z(){var N=x(),q=H(N);if(b=arguments,E=this,l=N,q){if(c===void 0)return U(l);if(I)return clearTimeout(c),c=setTimeout(M,a),K(l)}return c===void 0&&(c=setTimeout(M,a)),X}return a=Se(a)||0,v(f)&&(O=!!f.leading,W=(I="maxWait"in f)?D(Se(f.maxWait)||0,a):W,C="trailing"in f?!!f.trailing:C),z.cancel=function(){c!==void 0&&clearTimeout(c),y=0,b=l=E=c=void 0},z.flush=function(){return c===void 0?X:L(x())},z},ce=function(u,a,f){var b=!0,E=!0;if(typeof u!="function")throw new TypeError("Expected a function");return v(f)&&(b="leading"in f?!!f.leading:b,E="trailing"in f?!!f.trailing:E),je(u,a,{leading:b,maxWait:a,trailing:E})};var Te=s(590),Ie=s.n(Te),Bn=function(){if(typeof Map<"u")return Map;function u(a,f){var b=-1;return a.some(function(E,W){return E[0]===f&&(b=W,!0)}),b}return function(){function a(){this.__entries__=[]}return Object.defineProperty(a.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),a.prototype.get=function(f){var b=u(this.__entries__,f),E=this.__entries__[b];return E&&E[1]},a.prototype.set=function(f,b){var E=u(this.__entries__,f);~E?this.__entries__[E][1]=b:this.__entries__.push([f,b])},a.prototype.delete=function(f){var b=this.__entries__,E=u(b,f);~E&&b.splice(E,1)},a.prototype.has=function(f){return!!~u(this.__entries__,f)},a.prototype.clear=function(){this.__entries__.splice(0)},a.prototype.forEach=function(f,b){b===void 0&&(b=null);for(var E=0,W=this.__entries__;E<W.length;E++){var X=W[E];f.call(b,X[1],X[0])}},a}()}(),At=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=s.g!==void 0&&s.g.Math===Math?s.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Wi=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(u){return setTimeout(function(){return u(Date.now())},1e3/60)},Ai=["top","right","bottom","left","width","height","size","weight"],Ni=typeof MutationObserver<"u",Bi=function(){function u(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(a,f){var b=!1,E=!1,W=0;function X(){b&&(b=!1,a()),E&&l()}function c(){Wi(X)}function l(){var y=Date.now();if(b){if(y-W<2)return;E=!0}else b=!0,E=!1,setTimeout(c,20);W=y}return l}(this.refresh.bind(this))}return u.prototype.addObserver=function(a){~this.observers_.indexOf(a)||this.observers_.push(a),this.connected_||this.connect_()},u.prototype.removeObserver=function(a){var f=this.observers_,b=f.indexOf(a);~b&&f.splice(b,1),!f.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},u.prototype.updateObservers_=function(){var a=this.observers_.filter(function(f){return f.gatherActive(),f.hasActive()});return a.forEach(function(f){return f.broadcastActive()}),a.length>0},u.prototype.connect_=function(){At&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ni?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},u.prototype.disconnect_=function(){At&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},u.prototype.onTransitionEnd_=function(a){var f=a.propertyName,b=f===void 0?"":f;Ai.some(function(E){return!!~b.indexOf(E)})&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.instance_=null,u}(),$n=function(u,a){for(var f=0,b=Object.keys(a);f<b.length;f++){var E=b[f];Object.defineProperty(u,E,{value:a[E],enumerable:!1,writable:!1,configurable:!0})}return u},Ke=function(u){return u&&u.ownerDocument&&u.ownerDocument.defaultView||pt},Un=gt(0,0,0,0);function mt(u){return parseFloat(u)||0}function Kn(u){for(var a=[],f=1;f<arguments.length;f++)a[f-1]=arguments[f];return a.reduce(function(b,E){return b+mt(u["border-"+E+"-width"])},0)}var $i=typeof SVGGraphicsElement<"u"?function(u){return u instanceof Ke(u).SVGGraphicsElement}:function(u){return u instanceof Ke(u).SVGElement&&typeof u.getBBox=="function"};function Ui(u){return At?$i(u)?function(a){var f=a.getBBox();return gt(0,0,f.width,f.height)}(u):function(a){var f=a.clientWidth,b=a.clientHeight;if(!f&&!b)return Un;var E=Ke(a).getComputedStyle(a),W=function(C){for(var K={},U=0,H=["top","right","bottom","left"];U<H.length;U++){var M=H[U],L=C["padding-"+M];K[M]=mt(L)}return K}(E),X=W.left+W.right,c=W.top+W.bottom,l=mt(E.width),y=mt(E.height);if(E.boxSizing==="border-box"&&(Math.round(l+X)!==f&&(l-=Kn(E,"left","right")+X),Math.round(y+c)!==b&&(y-=Kn(E,"top","bottom")+c)),!function(C){return C===Ke(C).document.documentElement}(a)){var O=Math.round(l+X)-f,I=Math.round(y+c)-b;Math.abs(O)!==1&&(l-=O),Math.abs(I)!==1&&(y-=I)}return gt(W.left,W.top,l,y)}(u):Un}function gt(u,a,f,b){return{x:u,y:a,width:f,height:b}}var Ki=function(){function u(a){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=gt(0,0,0,0),this.target=a}return u.prototype.isActive=function(){var a=Ui(this.target);return this.contentRect_=a,a.width!==this.broadcastWidth||a.height!==this.broadcastHeight},u.prototype.broadcastRect=function(){var a=this.contentRect_;return this.broadcastWidth=a.width,this.broadcastHeight=a.height,a},u}(),Vi=function(u,a){var f,b,E,W,X,c,l,y=(b=(f=a).x,E=f.y,W=f.width,X=f.height,c=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(c.prototype),$n(l,{x:b,y:E,width:W,height:X,top:E,right:b+W,bottom:X+E,left:b}),l);$n(this,{target:u,contentRect:y})},Hi=function(){function u(a,f,b){if(this.activeObservations_=[],this.observations_=new Bn,typeof a!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=a,this.controller_=f,this.callbackCtx_=b}return u.prototype.observe=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)||(f.set(a,new Ki(a)),this.controller_.addObserver(this),this.controller_.refresh())}},u.prototype.unobserve=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)&&(f.delete(a),f.size||this.controller_.removeObserver(this))}},u.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},u.prototype.gatherActive=function(){var a=this;this.clearActive(),this.observations_.forEach(function(f){f.isActive()&&a.activeObservations_.push(f)})},u.prototype.broadcastActive=function(){if(this.hasActive()){var a=this.callbackCtx_,f=this.activeObservations_.map(function(b){return new Vi(b.target,b.broadcastRect())});this.callback_.call(a,f,a),this.clearActive()}},u.prototype.clearActive=function(){this.activeObservations_.splice(0)},u.prototype.hasActive=function(){return this.activeObservations_.length>0},u}(),Vn=typeof WeakMap<"u"?new WeakMap:new Bn,Hn=function u(a){if(!(this instanceof u))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var f=Bi.getInstance(),b=new Hi(a,f,this);Vn.set(this,b)};["observe","unobserve","disconnect"].forEach(function(u){Hn.prototype[u]=function(){var a;return(a=Vn.get(this))[u].apply(a,arguments)}});const qn=pt.ResizeObserver!==void 0?pt.ResizeObserver:Hn,Ve="Left",Fe="Right",He="Up",We="Down",qe={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Nt={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Gn="mousemove",Xn="mouseup";function Qn(u,a){if(a===0)return u;const f=Math.PI/180*a;return[u[0]*Math.cos(f)+u[1]*Math.sin(f),u[1]*Math.cos(f)-u[0]*Math.sin(f)]}function qi(u){const{trackMouse:a}=u,f=g.useRef(Object.assign({},Nt)),b=g.useRef(Object.assign({},qe)),E=g.useRef(Object.assign({},b.current));let W;for(W in E.current=Object.assign({},b.current),b.current=Object.assign(Object.assign({},qe),u),qe)b.current[W]===void 0&&(b.current[W]=qe[W]);const[X,c]=g.useMemo(()=>function(l,y){const O=M=>{const L="touches"in M;L&&M.touches.length>1||l((z,N)=>{N.trackMouse&&!L&&(document.addEventListener(Gn,I),document.addEventListener(Xn,K));const{clientX:q,clientY:J}=L?M.touches[0]:M,ie=Qn([q,J],N.rotationAngle);return N.onTouchStartOrOnMouseDown&&N.onTouchStartOrOnMouseDown({event:M}),Object.assign(Object.assign(Object.assign({},z),Nt),{initial:ie.slice(),xy:ie,start:M.timeStamp||0})})},I=M=>{l((L,z)=>{const N="touches"in M;if(N&&M.touches.length>1)return L;if(M.timeStamp-L.start>z.swipeDuration)return L.swiping?Object.assign(Object.assign({},L),{swiping:!1}):L;const{clientX:q,clientY:J}=N?M.touches[0]:M,[ie,ge]=Qn([q,J],z.rotationAngle),he=ie-L.xy[0],ue=ge-L.xy[1],re=Math.abs(he),Z=Math.abs(ue),_e=(M.timeStamp||0)-L.start,nt=Math.sqrt(re*re+Z*Z)/(_e||1),rt=[he/(_e||1),ue/(_e||1)],Pe=function(it,Qe,ot,be){return it>Qe?ot>0?Fe:Ve:be>0?We:He}(re,Z,he,ue),Ae=typeof z.delta=="number"?z.delta:z.delta[Pe.toLowerCase()]||qe.delta;if(re<Ae&&Z<Ae&&!L.swiping)return L;const Oe={absX:re,absY:Z,deltaX:he,deltaY:ue,dir:Pe,event:M,first:L.first,initial:L.initial,velocity:nt,vxvy:rt};Oe.first&&z.onSwipeStart&&z.onSwipeStart(Oe),z.onSwiping&&z.onSwiping(Oe);let Xe=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Pe}`])&&(Xe=!0),Xe&&z.preventScrollOnSwipe&&z.trackTouch&&M.cancelable&&M.preventDefault(),Object.assign(Object.assign({},L),{first:!1,eventData:Oe,swiping:!0})})},C=M=>{l((L,z)=>{let N;if(L.swiping&&L.eventData){if(M.timeStamp-L.start<z.swipeDuration){N=Object.assign(Object.assign({},L.eventData),{event:M}),z.onSwiped&&z.onSwiped(N);const q=z[`onSwiped${N.dir}`];q&&q(N)}}else z.onTap&&z.onTap({event:M});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:M}),Object.assign(Object.assign(Object.assign({},L),Nt),{eventData:N})})},K=M=>{document.removeEventListener(Gn,I),document.removeEventListener(Xn,K),C(M)},U=(M,L)=>{let z=()=>{};if(M&&M.addEventListener){const N=Object.assign(Object.assign({},qe.touchEventOptions),L.touchEventOptions),q=[["touchstart",O,N],["touchmove",I,Object.assign(Object.assign({},N),L.preventScrollOnSwipe?{passive:!1}:{})],["touchend",C,N]];q.forEach(([J,ie,ge])=>M.addEventListener(J,ie,ge)),z=()=>q.forEach(([J,ie])=>M.removeEventListener(J,ie))}return z},H={ref:M=>{M!==null&&l((L,z)=>{if(L.el===M)return L;const N={};return L.el&&L.el!==M&&L.cleanUpTouch&&(L.cleanUpTouch(),N.cleanUpTouch=void 0),z.trackTouch&&M&&(N.cleanUpTouch=U(M,z)),Object.assign(Object.assign(Object.assign({},L),{el:M}),N)})}};return y.trackMouse&&(H.onMouseDown=O),[H,U]}(l=>f.current=l(f.current,b.current),{trackMouse:a}),[a]);return f.current=function(l,y,O,I){return y.trackTouch&&l.el?l.cleanUpTouch?y.preventScrollOnSwipe!==O.preventScrollOnSwipe||y.touchEventOptions.passive!==O.touchEventOptions.passive?(l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:I(l.el,y)})):l:Object.assign(Object.assign({},l),{cleanUpTouch:I(l.el,y)}):(l.cleanUpTouch&&l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:void 0}))}(f.current,b.current,E.current,c),X}var S=s(697);function Ze(u){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ze(u)}function Yn(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function Jn(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Yn(Object(f),!0).forEach(function(b){Gi(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):Yn(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function Gi(u,a,f){return(a=function(b){var E=function(W,X){if(Ze(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(Ze(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return Ze(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var Xi={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Bt=m().memo(function(u){var a=Jn(Jn({},Xi),u),f=a.description,b=a.fullscreen,E=a.handleImageLoaded,W=a.isFullscreen,X=a.onImageError,c=a.original,l=a.originalAlt,y=a.originalHeight,O=a.originalWidth,I=a.originalTitle,C=a.sizes,K=a.srcSet,U=a.loading,H=W&&b||c;return m().createElement(m().Fragment,null,m().createElement("img",{className:"image-gallery-image",src:H,alt:l,srcSet:K,height:y,width:O,sizes:C,title:I,onLoad:function(M){return E(M,c)},onError:X,loading:U}),f&&m().createElement("span",{className:"image-gallery-description"},f))});Bt.displayName="Item",Bt.propTypes={description:S.string,fullscreen:S.string,handleImageLoaded:S.func.isRequired,isFullscreen:S.bool,onImageError:S.func.isRequired,original:S.string.isRequired,originalAlt:S.string,originalHeight:S.string,originalWidth:S.string,originalTitle:S.string,sizes:S.string,srcSet:S.string,loading:S.string};const Qi=Bt;function et(u){return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},et(u)}function Zn(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function er(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Zn(Object(f),!0).forEach(function(b){Yi(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):Zn(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function Yi(u,a,f){return(a=function(b){var E=function(W,X){if(et(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(et(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return et(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var Ji={left:m().createElement("polyline",{points:"15 18 9 12 15 6"}),right:m().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:m().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:m().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:m().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:m().createElement(m().Fragment,null,m().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),m().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},Zi={strokeWidth:1,viewBox:"0 0 24 24"},tr=function(u){var a=er(er({},Zi),u),f=a.strokeWidth,b=a.viewBox,E=a.icon;return m().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:b,fill:"none",stroke:"currentColor",strokeWidth:f,strokeLinecap:"round",strokeLinejoin:"round"},Ji[E])};tr.propTypes={strokeWidth:S.number,viewBox:S.string,icon:(0,S.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired};const bt=tr;var $t=m().memo(function(u){var a=u.isFullscreen,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:f,"aria-label":"Open Fullscreen"},m().createElement(bt,{strokeWidth:2,icon:a?"minimize":"maximize"}))});$t.displayName="Fullscreen",$t.propTypes={isFullscreen:S.bool.isRequired,onClick:S.func.isRequired};const eo=$t;var Ut=m().memo(function(u){var a=u.disabled,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:a,onClick:f,"aria-label":"Previous Slide"},m().createElement(bt,{icon:"left",viewBox:"6 0 12 24"}))});Ut.displayName="LeftNav",Ut.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const to=Ut;var Kt=m().memo(function(u){var a=u.disabled,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:a,onClick:f,"aria-label":"Next Slide"},m().createElement(bt,{icon:"right",viewBox:"6 0 12 24"}))});Kt.displayName="RightNav",Kt.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const no=Kt;var Vt=m().memo(function(u){var a=u.isPlaying,f=u.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:f,"aria-label":"Play or Pause Slideshow"},m().createElement(bt,{strokeWidth:2,icon:a?"pause":"play"}))});Vt.displayName="PlayPause",Vt.propTypes={isPlaying:S.bool.isRequired,onClick:S.func.isRequired};const ro=Vt;function tt(u){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},tt(u)}function Ht(){return Ht=Object.assign?Object.assign.bind():function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(u[b]=f[b])}return u},Ht.apply(this,arguments)}function nr(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function rr(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?nr(Object(f),!0).forEach(function(b){io(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):nr(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function io(u,a,f){return(a=function(b){var E=function(W,X){if(tt(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,X);if(tt(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return tt(E)==="symbol"?E:String(E)}(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}var oo={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},ir=function(u){var a=rr(rr({},oo),u),f=a.children,b=a.className,E=qi({delta:a.delta,onSwiping:a.onSwiping,onSwiped:a.onSwiped});return m().createElement("div",Ht({},E,{className:b}),f)};ir.propTypes={children:S.node.isRequired,className:S.string,delta:S.number,onSwiped:S.func,onSwiping:S.func};const or=ir;function Ge(u){return Ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ge(u)}function sr(u,a){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(u);a&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(u,E).enumerable})),f.push.apply(f,b)}return f}function ar(u){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?sr(Object(f),!0).forEach(function(b){lr(u,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):sr(Object(f)).forEach(function(b){Object.defineProperty(u,b,Object.getOwnPropertyDescriptor(f,b))})}return u}function so(u,a){for(var f=0;f<a.length;f++){var b=a[f];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,cr(b.key),b)}}function qt(u,a){return qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,b){return f.__proto__=b,f},qt(u,a)}function ao(u,a){if(a&&(Ge(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(u)}function oe(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function yt(u){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},yt(u)}function lr(u,a,f){return(a=cr(a))in u?Object.defineProperty(u,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[a]=f,u}function cr(u){var a=function(f,b){if(Ge(f)!=="object"||f===null)return f;var E=f[Symbol.toPrimitive];if(E!==void 0){var W=E.call(f,b);if(Ge(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(f)}(u,"string");return Ge(a)==="symbol"?a:String(a)}var ur=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],lo=(0,S.arrayOf)((0,S.shape)({srcSet:S.string,media:S.string}));function dr(u){var a=parseInt(u.keyCode||u.which||0,10);return a===66||a===62}var Gt=function(u){(function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),l&&qt(c,l)})(X,u);var a,f,b,E,W=(b=X,E=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,l=yt(b);if(E){var y=yt(this).constructor;c=Reflect.construct(l,arguments,y)}else c=l.apply(this,arguments);return ao(this,c)});function X(c){var l;return function(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}(this,X),lr(oe(l=W.call(this,c)),"onBulletClick",function(y,O){var I=l.props,C=I.onBulletClick,K=I.items,U=l.state.currentIndex;y.target.blur(),U!==O&&(K.length===2?l.slideToIndexWithStyleReset(O,y):l.slideToIndex(O,y)),C&&C(y,O)}),l.state={currentIndex:c.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(c.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},l.loadedImages={},l.imageGallery=m().createRef(),l.thumbnailsWrapper=m().createRef(),l.thumbnails=m().createRef(),l.imageGallerySlideWrapper=m().createRef(),l.handleImageLoaded=l.handleImageLoaded.bind(oe(l)),l.handleKeyDown=l.handleKeyDown.bind(oe(l)),l.handleMouseDown=l.handleMouseDown.bind(oe(l)),l.handleResize=l.handleResize.bind(oe(l)),l.handleTouchMove=l.handleTouchMove.bind(oe(l)),l.handleOnSwiped=l.handleOnSwiped.bind(oe(l)),l.handleScreenChange=l.handleScreenChange.bind(oe(l)),l.handleSwiping=l.handleSwiping.bind(oe(l)),l.handleThumbnailSwiping=l.handleThumbnailSwiping.bind(oe(l)),l.handleOnThumbnailSwiped=l.handleOnThumbnailSwiped.bind(oe(l)),l.onThumbnailMouseLeave=l.onThumbnailMouseLeave.bind(oe(l)),l.handleImageError=l.handleImageError.bind(oe(l)),l.pauseOrPlay=l.pauseOrPlay.bind(oe(l)),l.renderThumbInner=l.renderThumbInner.bind(oe(l)),l.renderItem=l.renderItem.bind(oe(l)),l.slideLeft=l.slideLeft.bind(oe(l)),l.slideRight=l.slideRight.bind(oe(l)),l.toggleFullScreen=l.toggleFullScreen.bind(oe(l)),l.togglePlay=l.togglePlay.bind(oe(l)),l.unthrottledSlideToIndex=l.slideToIndex,l.slideToIndex=ce(l.unthrottledSlideToIndex,c.slideDuration,{trailing:!1}),c.lazyLoad&&(l.lazyLoaded=[]),l}return a=X,f=[{key:"componentDidMount",value:function(){var c=this.props,l=c.autoPlay,y=c.useWindowKeyDown;l&&this.play(),y?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(c,l){var y=this.props,O=y.items,I=y.lazyLoad,C=y.slideDuration,K=y.slideInterval,U=y.startIndex,H=y.thumbnailPosition,M=y.showThumbnails,L=y.useWindowKeyDown,z=this.state,N=z.currentIndex,q=z.isPlaying,J=c.items.length!==O.length,ie=!Ie()(c.items,O),ge=c.startIndex!==U,he=c.thumbnailPosition!==H,ue=c.showThumbnails!==M;K===c.slideInterval&&C===c.slideDuration||q&&(this.pause(),this.play()),he&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),ue&&M&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),ue&&!M&&this.removeThumbnailsResizeObserver(),(J||ue)&&this.handleResize(),l.currentIndex!==N&&this.slideThumbnailBar(),c.slideDuration!==C&&(this.slideToIndex=ce(this.unthrottledSlideToIndex,C,{trailing:!1})),!I||c.lazyLoad&&!ie||(this.lazyLoaded=[]),L!==c.useWindowKeyDown&&(L?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(ge||ie)&&this.setState({currentIndex:U,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var c=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),c?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var c=this,l=this.state,y=l.currentIndex,O=l.isTransitioning,I=this.props,C=I.onSlide,K=I.slideDuration;this.transitionTimer=window.setTimeout(function(){O&&(c.setState({isTransitioning:!O,isSwipingThumbnail:!1}),C&&C(y))},K+50)}},{key:"onThumbnailClick",value:function(c,l){var y=this.props,O=y.onThumbnailClick,I=y.items,C=this.state.currentIndex;c.target.parentNode.parentNode.blur(),C!==l&&(I.length===2?this.slideToIndexWithStyleReset(l,c):this.slideToIndex(l,c)),O&&O(c,l)}},{key:"onThumbnailMouseOver",value:function(c,l){var y=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){y.slideToIndex(l),y.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var c=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,c&&this.play()}}},{key:"setThumbsTranslate",value:function(c){this.setState({thumbsTranslate:c})}},{key:"setModalFullscreen",value:function(c){var l=this.props.onScreenChange;this.setState({modalFullscreen:c}),l&&l(c)}},{key:"getThumbsTranslate",value:function(c){var l,y=this.props,O=y.disableThumbnailScroll,I=y.items,C=this.state,K=C.thumbnailsWrapperWidth,U=C.thumbnailsWrapperHeight,H=this.thumbnails&&this.thumbnails.current;if(O)return 0;if(H){if(this.isThumbnailVertical()){if(H.scrollHeight<=U)return 0;l=H.scrollHeight-U}else{if(H.scrollWidth<=K||K<=0)return 0;l=H.scrollWidth-K}return c*(l/(I.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(c){switch(c){case"left":c=" ".concat("image-gallery-thumbnails-left");break;case"right":c=" ".concat("image-gallery-thumbnails-right");break;case"bottom":c=" ".concat("image-gallery-thumbnails-bottom");break;case"top":c=" ".concat("image-gallery-thumbnails-top")}return c}},{key:"getAlignmentClassName",value:function(c){var l=this.state.currentIndex,y=this.props,O=y.infinite,I=y.items,C="",K="image-gallery-left",U="image-gallery-right";switch(c){case l-1:C=" ".concat(K);break;case l:C=" ".concat("image-gallery-center");break;case l+1:C=" ".concat(U)}return I.length>=3&&O&&(c===0&&l===I.length-1?C=" ".concat(U):c===I.length-1&&l===0&&(C=" ".concat(K))),C}},{key:"getTranslateXForTwoSlide",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,I=l.previousIndex,C=y!==I,K=c===0&&I===0,U=c===1&&I===1,H=c===0&&y===1,M=c===1&&y===0,L=O===0,z=-100*y+100*c+O;return O>0?this.direction="left":O<0&&(this.direction="right"),M&&O>0&&(z=-100+O),H&&O<0&&(z=100+O),C?K&&L&&this.direction==="left"?z=100:U&&L&&this.direction==="right"&&(z=-100):(M&&L&&this.direction==="left"&&(z=-100),H&&L&&this.direction==="right"&&(z=100)),z}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,I=l.slideStyle,C=this.props,K=C.infinite,U=C.items,H=C.useTranslate3D,M=C.isRTL,L=-100*y,z=U.length-1,N=(L+100*c)*(M?-1:1)+O;K&&U.length>2&&(y===0&&c===z?N=-100*(M?-1:1)+O:y===z&&c===0&&(N=100*(M?-1:1)+O)),K&&U.length===2&&(N=this.getTranslateXForTwoSlide(c));var q="translate(".concat(N,"%, 0)");return H&&(q="translate3d(".concat(N,"%, 0, 0)")),ar({display:this.isSlideVisible(c)?"inherit":"none",WebkitTransform:q,MozTransform:q,msTransform:q,OTransform:q,transform:q},I)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var c,l=this.props,y=l.useTranslate3D,O=l.isRTL,I=this.state,C=I.thumbsTranslate,K=I.thumbsStyle,U=O?-1*C:C;return this.isThumbnailVertical()?(c="translate(0, ".concat(C,"px)"),y&&(c="translate3d(0, ".concat(C,"px, 0)"))):(c="translate(".concat(U,"px, 0)"),y&&(c="translate3d(".concat(U,"px, 0, 0)"))),ar({WebkitTransform:c,MozTransform:c,msTransform:c,OTransform:c,transform:c},K)}},{key:"getSlideItems",value:function(){var c=this,l=this.state.currentIndex,y=this.props,O=y.items,I=y.slideOnThumbnailOver,C=y.onClick,K=y.lazyLoad,U=y.onTouchMove,H=y.onTouchEnd,M=y.onTouchStart,L=y.onMouseOver,z=y.onMouseLeave,N=y.renderItem,q=y.renderThumbInner,J=y.showThumbnails,ie=y.showBullets,ge=[],he=[],ue=[];return O.forEach(function(re,Z){var _e=c.getAlignmentClassName(Z),nt=re.originalClass?" ".concat(re.originalClass):"",rt=re.thumbnailClass?" ".concat(re.thumbnailClass):"",Pe=re.renderItem||N||c.renderItem,Ae=re.renderThumbInner||q||c.renderThumbInner,Oe=!K||_e||c.lazyLoaded[Z];Oe&&K&&!c.lazyLoaded[Z]&&(c.lazyLoaded[Z]=!0);var Xe=c.getSlideStyle(Z),it=m().createElement("div",{"aria-label":"Go to Slide ".concat(Z+1),key:"slide-".concat(Z),tabIndex:"-1",className:"image-gallery-slide ".concat(_e," ").concat(nt),style:Xe,onClick:C,onKeyUp:c.handleSlideKeyUp,onTouchMove:U,onTouchEnd:H,onTouchStart:M,onMouseOver:L,onFocus:L,onMouseLeave:z,role:"button"},Oe?Pe(re):m().createElement("div",{style:{height:"100%"}}));if(ge.push(it),J&&re.thumbnail){var Qe=p("image-gallery-thumbnail",rt,{active:l===Z});he.push(m().createElement("button",{key:"thumbnail-".concat(Z),type:"button",tabIndex:"0","aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1),className:Qe,onMouseLeave:I?c.onThumbnailMouseLeave:null,onMouseOver:function(be){return c.handleThumbnailMouseOver(be,Z)},onFocus:function(be){return c.handleThumbnailMouseOver(be,Z)},onKeyUp:function(be){return c.handleThumbnailKeyUp(be,Z)},onClick:function(be){return c.onThumbnailClick(be,Z)}},Ae(re)))}if(ie){var ot=p("image-gallery-bullet",re.bulletClass,{active:l===Z});ue.push(m().createElement("button",{type:"button",key:"bullet-".concat(Z),className:ot,onClick:function(be){return c.onBulletClick(be,Z)},"aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1)}))}}),{slides:ge,thumbnails:he,bullets:ue}}},{key:"ignoreIsTransitioning",value:function(){var c=this.props.items,l=this.state,y=l.previousIndex,O=l.currentIndex,I=c.length-1;return Math.abs(y-O)>1&&!(y===0&&O===I)&&!(y===I&&O===0)}},{key:"isFirstOrLastSlide",value:function(c){return c===this.props.items.length-1||c===0}},{key:"slideIsTransitioning",value:function(c){var l=this.state,y=l.isTransitioning,O=l.previousIndex,I=l.currentIndex;return y&&!(c===O||c===I)}},{key:"isSlideVisible",value:function(c){return!this.slideIsTransitioning(c)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(c)}},{key:"slideThumbnailBar",value:function(){var c=this.state,l=c.currentIndex,y=c.isSwipingThumbnail,O=-this.getThumbsTranslate(l);y||(l===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:O,thumbsSwipedTranslate:O}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){return this.props.infinite||this.canSlidePrevious()}},{key:"canSlideRight",value:function(){return this.props.infinite||this.canSlideNext()}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(c){var l=c.event,y=c.absX,O=c.dir,I=this.props,C=I.disableSwipe,K=I.stopPropagation,U=this.state,H=U.galleryWidth,M=U.isTransitioning,L=U.swipingUpDown,z=U.swipingLeftRight;if(O!==He&&O!==We&&!L||z){if(O!==Ve&&O!==Fe||z||this.setState({swipingLeftRight:!0}),!C){var N=this.props.swipingTransitionDuration;if(K&&l.preventDefault(),M)this.setState({currentSlideOffset:0});else{var q=O===Fe?1:-1,J=y/H*100;Math.abs(J)>=100&&(J=100);var ie={transition:"transform ".concat(N,"ms ease-out")};this.setState({currentSlideOffset:q*J,slideStyle:ie})}}}else L||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(c){var l=c.event,y=c.absX,O=c.absY,I=c.dir,C=this.props,K=C.stopPropagation,U=C.swipingThumbnailTransitionDuration,H=this.state,M=H.thumbsSwipedTranslate,L=H.thumbnailsWrapperHeight,z=H.thumbnailsWrapperWidth,N=H.swipingUpDown,q=H.swipingLeftRight;if(this.isThumbnailVertical()){if((I===Ve||I===Fe||q)&&!N)return void(q||this.setState({swipingLeftRight:!0}));I!==He&&I!==We||N||this.setState({swipingUpDown:!0})}else{if((I===He||I===We||N)&&!q)return void(N||this.setState({swipingUpDown:!0}));I!==Ve&&I!==Fe||q||this.setState({swipingLeftRight:!0})}var J,ie,ge,he,ue,re=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(J=M+(I===We?O:-O),ie=re.scrollHeight-L+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollHeight<=L):(J=M+(I===Fe?y:-y),ie=re.scrollWidth-z+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollWidth<=z),!ue&&(I!==Ve&&I!==He||!ge)&&(I!==Fe&&I!==We||!he)){K&&l.stopPropagation();var Z={transition:"transform ".concat(U,"ms ease-out")};this.setState({thumbsTranslate:J,thumbsStyle:Z})}}},{key:"handleOnThumbnailSwiped",value:function(){var c=this.state.thumbsTranslate,l=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:c,thumbsStyle:{transition:"all ".concat(l,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var c=this.state.currentSlideOffset,l=this.props.swipeThreshold;return Math.abs(c)>l}},{key:"resetSwipingDirection",value:function(){var c=this.state,l=c.swipingUpDown,y=c.swipingLeftRight;l&&this.setState({swipingUpDown:!1}),y&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(c){var l=c.event,y=c.dir,O=c.velocity,I=this.props,C=I.disableSwipe,K=I.stopPropagation,U=I.flickThreshold;if(!C){var H=this.props.isRTL;K&&l.stopPropagation(),this.resetSwipingDirection();var M=(y===Ve?1:-1)*(H?-1:1),L=O>U&&!(y===He||y===We);this.handleOnSwipedTo(M,L)}}},{key:"handleOnSwipedTo",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=O;!this.sufficientSwipe()&&!l||I||(C+=c),(c===-1&&!this.canSlideLeft()||c===1&&!this.canSlideRight())&&(C=O),this.unthrottledSlideToIndex(C)}},{key:"handleTouchMove",value:function(c){this.state.swipingLeftRight&&c.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(c){var l=this.props,y=l.disableKeyDown,O=l.useBrowserFullscreen,I=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!y)switch(parseInt(c.keyCode||c.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(c);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(c);break;case 27:I&&!O&&this.exitFullScreen()}}},{key:"handleImageError",value:function(c){var l=this.props.onErrorImageURL;l&&c.target.src.indexOf(l)===-1&&(c.target.src=l)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var c=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(c)))}},{key:"initSlideWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeSlideWrapperObserver=new qn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperWidth:O.contentRect.width},l.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(c.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeThumbnailWrapperObserver=new qn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperHeight:O.contentRect.height},l.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(c.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var c=this.props,l=c.onScreenChange,y=c.useBrowserFullscreen,O=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,I=this.imageGallery.current===O;l&&l(I),y&&this.setState({isFullscreen:I})}},{key:"slideToIndex",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=this.props,K=C.items,U=C.slideDuration,H=C.onBeforeSlide;if(!I){l&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var M=K.length-1,L=c;c<0?L=M:c>M&&(L=0),H&&L!==O&&H(L),this.setState({previousIndex:O,currentIndex:L,isTransitioning:L!==O,currentSlideOffset:0,slideStyle:{transition:"all ".concat(U,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"right":"left")}},{key:"slideRight",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"left":"right")}},{key:"slideTo",value:function(c,l){var y=this.state,O=y.currentIndex,I=y.isTransitioning,C=this.props.items,K=O+(l==="left"?-1:1);I||(C.length===2?this.slideToIndexWithStyleReset(K,c):this.slideToIndex(K,c))}},{key:"slideToIndexWithStyleReset",value:function(c,l){var y=this,O=this.state,I=O.currentIndex,C=O.currentSlideOffset;this.setState({currentSlideOffset:C+(I>c?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return y.slideToIndex(c,l)},25)})}},{key:"handleThumbnailMouseOver",value:function(c,l){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(c,l)}},{key:"handleThumbnailKeyUp",value:function(c,l){dr(c)&&this.onThumbnailClick(c,l)}},{key:"handleSlideKeyUp",value:function(c){dr(c)&&(0,this.props.onClick)(c)}},{key:"isThumbnailVertical",value:function(){var c=this.props.thumbnailPosition;return c==="left"||c==="right"}},{key:"addScreenChangeEvent",value:function(){var c=this;ur.forEach(function(l){document.addEventListener(l,c.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var c=this;ur.forEach(function(l){document.removeEventListener(l,c.handleScreenChange)})}},{key:"fullScreen",value:function(){var c=this.props.useBrowserFullscreen,l=this.imageGallery.current;c?l.requestFullscreen?l.requestFullscreen():l.msRequestFullscreen?l.msRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var c=this.state.isFullscreen,l=this.props.useBrowserFullscreen;c&&(l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var c=this.props.infinite,l=this.state.currentIndex;c||this.canSlideRight()?this.slideToIndex(l+1):this.pause()}},{key:"play",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props,y=l.onPlay,O=l.slideInterval,I=l.slideDuration,C=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(O,I)),y&&c&&y(C))}},{key:"pause",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props.onPause,y=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),l&&c&&l(y))}},{key:"isImageLoaded",value:function(c){return!!this.loadedImages[c.original]||(this.loadedImages[c.original]=!0,!1)}},{key:"handleImageLoaded",value:function(c,l){var y=this.props.onImageLoad;!this.loadedImages[l]&&y&&(this.loadedImages[l]=!0,y(c))}},{key:"renderItem",value:function(c){var l=this.state.isFullscreen,y=this.props.onImageError||this.handleImageError;return m().createElement(Qi,{description:c.description,fullscreen:c.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:l,onImageError:y,original:c.original,originalAlt:c.originalAlt,originalHeight:c.originalHeight,originalWidth:c.originalWidth,originalTitle:c.originalTitle,sizes:c.sizes,loading:c.loading,srcSet:c.srcSet})}},{key:"renderThumbInner",value:function(c){var l=this.props.onThumbnailError||this.handleImageError;return m().createElement("span",{className:"image-gallery-thumbnail-inner"},m().createElement("img",{className:"image-gallery-thumbnail-image",src:c.thumbnail,height:c.thumbnailHeight,width:c.thumbnailWidth,alt:c.thumbnailAlt,title:c.thumbnailTitle,loading:c.thumbnailLoading,onError:l}),c.thumbnailLabel&&m().createElement("div",{className:"image-gallery-thumbnail-label"},c.thumbnailLabel))}},{key:"render",value:function(){var c=this.state,l=c.currentIndex,y=c.isFullscreen,O=c.modalFullscreen,I=c.isPlaying,C=this.props,K=C.additionalClass,U=C.disableThumbnailSwipe,H=C.indexSeparator,M=C.isRTL,L=C.items,z=C.thumbnailPosition,N=C.renderFullscreenButton,q=C.renderCustomControls,J=C.renderLeftNav,ie=C.renderRightNav,ge=C.showBullets,he=C.showFullscreenButton,ue=C.showIndex,re=C.showThumbnails,Z=C.showNav,_e=C.showPlayButton,nt=C.renderPlayPauseButton,rt=this.getThumbnailStyle(),Pe=this.getSlideItems(),Ae=Pe.slides,Oe=Pe.thumbnails,Xe=Pe.bullets,it=p("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(z),{"image-gallery-rtl":M}),Qe=m().createElement("div",{ref:this.imageGallerySlideWrapper,className:it},q&&q(),this.canSlide()?m().createElement(m().Fragment,null,Z&&m().createElement(m().Fragment,null,J(this.slideLeft,!this.canSlideLeft()),ie(this.slideRight,!this.canSlideRight())),m().createElement(or,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},m().createElement("div",{className:"image-gallery-slides"},Ae))):m().createElement("div",{className:"image-gallery-slides"},Ae),_e&&nt(this.togglePlay,I),ge&&m().createElement("div",{className:"image-gallery-bullets"},m().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Xe)),he&&N(this.toggleFullScreen,y),ue&&m().createElement("div",{className:"image-gallery-index"},m().createElement("span",{className:"image-gallery-index-current"},l+1),m().createElement("span",{className:"image-gallery-index-separator"},H),m().createElement("span",{className:"image-gallery-index-total"},L.length))),ot=p("image-gallery",K,{"fullscreen-modal":O}),be=p("image-gallery-content",this.getThumbnailPositionClassName(z),{fullscreen:y}),uo=p("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(z),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&M},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!U},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!U});return m().createElement("div",{ref:this.imageGallery,className:ot,"aria-live":"polite"},m().createElement("div",{className:be},(z==="bottom"||z==="right")&&Qe,re&&Oe.length>0?m().createElement(or,{className:uo,delta:0,onSwiping:!U&&this.handleThumbnailSwiping,onSwiped:!U&&this.handleOnThumbnailSwiped},m().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},m().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:rt,"aria-label":"Thumbnail Navigation"},Oe))):null,(z==="top"||z==="left")&&Qe))}}],f&&so(a.prototype,f),Object.defineProperty(a,"prototype",{writable:!1}),X}(m().Component);Gt.propTypes={flickThreshold:S.number,items:(0,S.arrayOf)((0,S.shape)({bulletClass:S.string,bulletOnClick:S.func,description:S.string,original:S.string,originalHeight:S.number,originalWidth:S.number,loading:S.string,thumbnailHeight:S.number,thumbnailWidth:S.number,thumbnailLoading:S.string,fullscreen:S.string,originalAlt:S.string,originalTitle:S.string,thumbnail:S.string,thumbnailAlt:S.string,thumbnailLabel:S.string,thumbnailTitle:S.string,originalClass:S.string,thumbnailClass:S.string,renderItem:S.func,renderThumbInner:S.func,imageSet:lo,srcSet:S.string,sizes:S.string})).isRequired,showNav:S.bool,autoPlay:S.bool,lazyLoad:S.bool,infinite:S.bool,showIndex:S.bool,showBullets:S.bool,showThumbnails:S.bool,showPlayButton:S.bool,showFullscreenButton:S.bool,disableThumbnailScroll:S.bool,disableKeyDown:S.bool,disableSwipe:S.bool,disableThumbnailSwipe:S.bool,useBrowserFullscreen:S.bool,onErrorImageURL:S.string,indexSeparator:S.string,thumbnailPosition:(0,S.oneOf)(["top","bottom","left","right"]),startIndex:S.number,slideDuration:S.number,slideInterval:S.number,slideOnThumbnailOver:S.bool,swipeThreshold:S.number,swipingTransitionDuration:S.number,swipingThumbnailTransitionDuration:S.number,onSlide:S.func,onBeforeSlide:S.func,onScreenChange:S.func,onPause:S.func,onPlay:S.func,onClick:S.func,onImageLoad:S.func,onImageError:S.func,onTouchMove:S.func,onTouchEnd:S.func,onTouchStart:S.func,onMouseOver:S.func,onMouseLeave:S.func,onBulletClick:S.func,onThumbnailError:S.func,onThumbnailClick:S.func,renderCustomControls:S.func,renderLeftNav:S.func,renderRightNav:S.func,renderPlayPauseButton:S.func,renderFullscreenButton:S.func,renderItem:S.func,renderThumbInner:S.func,stopPropagation:S.bool,additionalClass:S.string,useTranslate3D:S.bool,isRTL:S.bool,useWindowKeyDown:S.bool},Gt.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(u,a){return m().createElement(to,{onClick:u,disabled:a})},renderRightNav:function(u,a){return m().createElement(no,{onClick:u,disabled:a})},renderPlayPauseButton:function(u,a){return m().createElement(ro,{onClick:u,isPlaying:a})},renderFullscreenButton:function(u,a){return m().createElement(eo,{onClick:u,isFullscreen:a})},useWindowKeyDown:!0};const co=Gt})(),h})())}(Et)),Et.exports}var ja=ka();const Ta=fo(ja);function Oa(){var e=new Map;function t(n){var r=n.root,i=n.rootMargin,s=n.threshold,h=e.get(r);h||(h=new Map,e.set(r,h));var d=JSON.stringify({rootMargin:i,threshold:s}),p=h.get(d);if(!p){var g=new Map,m=new IntersectionObserver(function(v){v.forEach(function(j){var w=g.get(j.target);w?.(j)})},{root:r,rootMargin:i,threshold:s});p={observer:m,entryCallbacks:g},h.set(d,p)}return{observe:function(j,w){var k,x;(k=p)==null||k.entryCallbacks.set(j,w),(x=p)==null||x.observer.observe(j)},unobserve:function(j){var w,k;(w=p)==null||w.entryCallbacks.delete(j),(k=p)==null||k.observer.unobserve(j)}}}return{getObserver:t}}var Ca="0px",Ea=[0],Ia=Oa();function Pa(e){var t,n,r=(t=e?.rootMargin)!=null?t:Ca,i=(n=e?.threshold)!=null?n:Ea,s=F.useRef(null),h=F.useRef(null),d=F.useRef(null),p=F.useState(),g=p[0],m=p[1],v=F.useCallback(function(){var x=s.current;if(!x){m(void 0);return}var P=Ia.getObserver({root:h.current,rootMargin:r,threshold:i});P.observe(x,function(_){m(_)}),d.current=P},[r,i]),j=F.useCallback(function(){var x=d.current,P=s.current;P&&x?.unobserve(P),d.current=null},[]),w=F.useCallback(function(x){j(),s.current=x,v()},[v,j]),k=F.useCallback(function(x){j(),h.current=x,v()},[v,j]);return[w,{entry:g,rootRef:k}]}function vn(){return vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(this,arguments)}function Ra(e){var t,n=Pa(e),r=n[0],i=n[1],s=!!((t=i.entry)!=null&&t.isIntersecting),h=F.useState(s),d=h[0],p=h[1];return s&&!d&&p(!0),[r,vn({},i,{isVisible:s,wasEverVisible:d})]}var _a=100;function Ma(e){var t=e.loading,n=e.hasNextPage,r=e.onLoadMore,i=e.rootMargin,s=e.disabled,h=e.delayInMs,d=h===void 0?_a:h,p=Ra({rootMargin:i}),g=p[0],m=p[1],v=m.rootRef,j=m.isVisible,w=!s&&!t&&j&&n;return F.useEffect(function(){if(w){var k=setTimeout(function(){r()},d);return function(){clearTimeout(k)}}},[r,w,d]),[g,{rootRef:v}]}const La={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>'},Da={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005.195v12.666c0 1.96-1.537 3.56-3.472 3.662l-.195.005H5.667a3.667 3.667 0 0 1-3.662-3.472L2 18.333V5.667c0-1.96 1.537-3.56 3.472-3.662L5.667 2h12.666zm-2.626 7.293a1 1 0 0 0-1.414 0L11 12.585l-1.293-1.292l-.094-.083a1 1 0 0 0-1.32 1.497l2 2l.094.083a1 1 0 0 0 1.32-.083l4-4l.083-.094a1 1 0 0 0-.083-1.32z"/></g>'},za={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 6L6 18M6 6l12 12"/>'};var Zt=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function en(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function xi(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function wi(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");for(var t=e.split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function Fa(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(i=!1);return i}var zn={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Zt?173:189,"=":Zt?61:187,";":Zt?59:186,"'":222,"[":219,"]":221,"\\":220},De={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},xn={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},de={16:!1,18:!1,17:!1,91:!1},le={};for(var St=1;St<20;St++)zn["f".concat(St)]=111+St;var ne=[],_r=!1,Si="all",ki=[],Wt=function(t){return zn[t.toLowerCase()]||De[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function ji(e){Si=e||"all"}function ft(){return Si||"all"}function Wa(){return ne.slice(0)}function Aa(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}function Na(e){return typeof e=="string"&&(e=Wt(e)),ne.indexOf(e)!==-1}function Ba(e,t){var n,r;e||(e=ft());for(var i in le)if(Object.prototype.hasOwnProperty.call(le,i))for(n=le[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ft()===e&&ji(t||"all")}function $a(e){var t=e.keyCode||e.which||e.charCode,n=ne.indexOf(t);if(n>=0&&ne.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&ne.splice(0,ne.length),(t===93||t===224)&&(t=91),t in de){de[t]=!1;for(var r in De)De[r]===t&&(ye[r]=!1)}}function Ua(e){if(typeof e>"u")Object.keys(le).forEach(function(h){return delete le[h]});else if(Array.isArray(e))e.forEach(function(h){h.key&&tn(h)});else if(typeof e=="object")e.key&&tn(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0],s=n[1];typeof i=="function"&&(s=i,i=""),tn({key:e,scope:i,method:s,splitKey:"+"})}}var tn=function(t){var n=t.key,r=t.scope,i=t.method,s=t.splitKey,h=s===void 0?"+":s,d=wi(n);d.forEach(function(p){var g=p.split(h),m=g.length,v=g[m-1],j=v==="*"?"*":Wt(v);if(le[j]){r||(r=ft());var w=m>1?xi(De,g):[];le[j]=le[j].filter(function(k){var x=i?k.method===i:!0;return!(x&&k.scope===r&&Fa(k.mods,w))})}})};function Mr(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(!de[s]&&t.mods.indexOf(+s)>-1||de[s]&&t.mods.indexOf(+s)===-1)&&(i=!1);(t.mods.length===0&&!de[16]&&!de[18]&&!de[17]&&!de[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Lr(e,t){var n=le["*"],r=e.keyCode||e.which||e.charCode;if(ye.filter.call(this,e)){if((r===93||r===224)&&(r=91),ne.indexOf(r)===-1&&r!==229&&ne.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(k){var x=xn[k];e[k]&&ne.indexOf(x)===-1?ne.push(x):!e[k]&&ne.indexOf(x)>-1?ne.splice(ne.indexOf(x),1):k==="metaKey"&&e[k]&&ne.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(ne=ne.slice(ne.indexOf(x))))}),r in de){de[r]=!0;for(var i in De)De[i]===r&&(ye[i]=!0);if(!n)return}for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(de[s]=e[xn[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(ne.indexOf(17)===-1&&ne.push(17),ne.indexOf(18)===-1&&ne.push(18),de[17]=!0,de[18]=!0);var h=ft();if(n)for(var d=0;d<n.length;d++)n[d].scope===h&&(e.type==="keydown"&&n[d].keydown||e.type==="keyup"&&n[d].keyup)&&Mr(e,n[d],h,t);if(r in le){for(var p=0;p<le[r].length;p++)if((e.type==="keydown"&&le[r][p].keydown||e.type==="keyup"&&le[r][p].keyup)&&le[r][p].key){for(var g=le[r][p],m=g.splitKey,v=g.key.split(m),j=[],w=0;w<v.length;w++)j.push(Wt(v[w]));j.sort().join("")===ne.sort().join("")&&Mr(e,g,h,t)}}}}function Ka(e){return ki.indexOf(e)>-1}function ye(e,t,n){ne=[];var r=wi(e),i=[],s="all",h=document,d=0,p=!1,g=!0,m="+",v=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(s=t.scope),t.element&&(h=t.element),t.keyup&&(p=t.keyup),t.keydown!==void 0&&(g=t.keydown),t.capture!==void 0&&(v=t.capture),typeof t.splitKey=="string"&&(m=t.splitKey)),typeof t=="string"&&(s=t);d<r.length;d++)e=r[d].split(m),i=[],e.length>1&&(i=xi(De,e)),e=e[e.length-1],e=e==="*"?"*":Wt(e),e in le||(le[e]=[]),le[e].push({keyup:p,keydown:g,scope:s,mods:i,shortcut:r[d],method:n,key:r[d],splitKey:m,element:h});typeof h<"u"&&!Ka(h)&&window&&(ki.push(h),en(h,"keydown",function(j){Lr(j,h)},v),_r||(_r=!0,en(window,"focus",function(){ne=[]},v)),en(h,"keyup",function(j){Lr(j,h),$a(j)},v))}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(le).forEach(function(n){var r=le[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var nn={setScope:ji,getScope:ft,deleteScope:Ba,getPressedKeyCodes:Wa,isPressed:Na,filter:Aa,trigger:Va,unbind:Ua,keyMap:zn,modifier:De,modifierMap:xn};for(var rn in nn)Object.prototype.hasOwnProperty.call(nn,rn)&&(ye[rn]=nn[rn]);if(typeof window<"u"){var Ha=window.hotkeys;ye.noConflict=function(e){return e&&window.hotkeys===ye&&(window.hotkeys=Ha),ye},window.hotkeys=ye}ye.filter=function(){return!0};var Ti=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},qa=function(t){return Ti(t,["INPUT","TEXTAREA","SELECT"])};function Ga(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},s=i.enableOnTags,h=i.filter,d=i.keyup,p=i.keydown,g=i.filterPreventDefault,m=g===void 0?!0:g,v=i.enabled,j=v===void 0?!0:v,w=i.enableOnContentEditable,k=w===void 0?!1:w,x=F.useRef(null),P=F.useCallback(function(_,T){var A,Y;return h&&!h(_)?!m:qa(_)&&!Ti(_,s)||(A=_.target)!=null&&A.isContentEditable&&!k?!0:x.current===null||document.activeElement===x.current||(Y=x.current)!=null&&Y.contains(document.activeElement)?(t(_,T),!0):!1},r?[x,s,h].concat(r):[x,s,h]);return F.useEffect(function(){if(!j){ye.unbind(e,P);return}return d&&p!==!0&&(n.keydown=!1),ye(e,n||{},P),function(){return ye.unbind(e,P)}},[P,e,j]),x}ye.isPressed;const Oi=F.createContext({open:!1,toggleOpen:e=>{}});function Xa({children:e}){const[t,n]=F.useState(!1),r=s=>{n(s??!s)},i=F.useMemo(()=>({open:t,toggleOpen:r}),[t]);return o.jsx(Oi.Provider,{value:i,children:e})}function Fn(){return F.useContext(Oi)}const xe={nameAsc:"title",nameDesc:"title",popularity:"stats.downloads",publishAt:"lastPublishedAt",mobilePageSize:10,pageSize:18,currentPage:1,defaultCurrentPage:1,blockletsPath:"/api/v2/blocklets.json",categoriesPath:"/api/blocklets/categories",explorePath:"/api/blocklets/explore",exploreDidsPath:"/api/blocklets/dids",cacheSize:100},Qa=e=>Dt(async()=>{const{data:t}=await e.get(xe.categoriesPath);return Array.isArray(t)?t:[]},{manual:!0});function Ya(e,t){const n=e.menu?{sortBy:"popularity",sortDirection:"desc",showResources:"true",...yo(e,["sortBy","sortDirection","showResources"])}:{sortBy:"popularity",sortDirection:"desc",showResources:"true",...e,menu:void 0},{onFilterChange:r,onSearchSelect:i=d=>{t.onFilterChange({...n,keyword:d.title})},emptyCategory:s}=t;!n.category&&!s&&(n.category="All");const h=d=>{const p={...n,...d};r(Xt(p,g=>g===""||g===void 0))};return{filters:e,cleanFilter:d=>{const p=d?Xt(n,(g,m)=>d.includes(m)):{};r(Xt(p,g=>g===""||g===void 0))},handleActiveMenu:d=>{d!==e.menu&&r({menu:d})},handleSort:(d,p)=>{h({sortBy:d,sortDirection:p||d==="nameAsc"?"asc":"desc"})},handleKeyword:d=>{h({category:void 0,keyword:d||void 0})},handlePrice:d=>{h({price:d===e.price?void 0:d})},handleCategory:d=>{h({category:d===e.category?"":d})},handleDeveloper:d=>{h({owner:d||void 0})},handlePage:d=>{h({currentPage:d})},handleSwitchShowResources:d=>{h({showResources:d})},handleSearchSelect:d=>{i(d)}}}const Ja=(e,t,n)=>e&&t||!n,Ci=e=>[{name:e("sort.popularity"),value:"popularity"},{name:e("sort.lastPublished"),value:"publishAt"}],Ei=(e,t,n)=>{const r=jo(e),i=To(r.search);if(Oo(e)?.endsWith(".gif"))return i.imageFilter?Co({...r,search:""}):e;if(i.imageFilter)return e;const s=n||window.blocklet?.version,{w:h,h:d}=typeof t=="object"?{w:t.w,h:t.h}:{w:t,h:t};return On(e,{...h||d?{imageFilter:"resize",w:h,h:d}:{},v:s})},Za=e=>[{name:e("blocklet.free"),value:"free"},{name:e("blocklet.payment"),value:"payment"}],el=(e=[],t="en")=>e.map(n=>({name:n.locales[t]||n.locales.en,value:n._id})),tl=e=>Array.isArray(e)?e.map(t=>t.message).join(`
|
|
2
2
|
`):e.response?.data?.error?e.response.data.error.message||e.response.data.error:e.message||e,nl=(e,t)=>e?.replace(/{(\w*)}/g,(n,r)=>t.hasOwnProperty(r)?t[r]:""),rl=()=>window.innerWidth<=600,il={common:{title:"Blocklet Store",searchStore:"Search Blocklet",showResources:"Show extensions",price:"Price",category:"Category",categories:"Categories",resourceType:"Resource Type",clear:"Clear",cancel:"Cancel",search:"Search",fetchError:"Failed to fetch data, please try again later",searchPlaceholder:"Search blocklet"},explore:{title:"Explore",trending:"Trending",topRated:"Top Rated",recentlyUpdated:"Recently Updated",viewDetail:"View Details"},sort:{sort:"Sort",rating:"Rating",popularity:"Most Popular",lastPublished:"Latest Published"},category:{all:"All",placeholder:"Category name",helperText:"Please select a category"},blocklet:{noResults:"No blocklet found.",free:"Free",search:'Results for "{keyword}"',authorTag:"Blocklet by {name}",resourceTag:"Extensions for {name}",resultCount:"{count} Blocklets",emptyTip:"Tips:",filterTip:"Appropriately reduce the filter conditions",keywordTip:"Try other keywords",owner:"Blocklets from {name}",noBlockletPart1:'No Blocklets associated with"',noBlockletPart2:'"were found',noCategoryResults1:'No "',noCategoryResults2:'" Blocklets'},autocomplete:{expandResult:'View all search results for "{name}"'}},ol={common:{title:"Blocklet 商店",searchStore:"搜索 Blocklet",showResources:"显示扩展",price:"价格",category:"类别",categories:"类别",resourceType:"资源类型",clear:"清除",cancel:"取消",search:"搜索",fetchError:"获取数据失败, 请稍后再试",searchPlaceholder:"搜索 Blocklet"},explore:{title:"探索",trending:"趋势",topRated:"评分最高",recentlyUpdated:"最近更新",viewDetail:"查看详情"},sort:{sort:"排序",rating:"评分",popularity:"最热门",lastPublished:"最新发布"},category:{all:"全部",placeholder:"分类名称",helperText:"请选择分类"},blocklet:{noResults:"未搜索到 Blocklet",free:"免费",search:'搜索 "{keyword}" 的结果',authorTag:"{name} 的 Blocklet",resourceTag:"{name} 的拓展",resultCount:"{count} 个 Blocklet",emptyTip:"建议:",filterTip:"适当减少筛选条件",keywordTip:"尝试其他关键字",owner:"来自 {name} 的 Blocklets",noBlockletPart1:'没有找到与"',noBlockletPart2:'"相关的 Blocklets',noCategoryResults1:'无 "',noCategoryResults2:'" 类别的 Blocklets'},autocomplete:{expandResult:"查看 “{name}” 的所有搜索结果"}},on={en:hr(il),zh:hr(ol)},Ii=(e,t)=>{const n={};return e&&(n["x-blocklet-server-version"]=e),t&&(n["x-blocklet-store-version"]=t),n},sl=e=>(t,n)=>{const r=on[e]?on[e][t]:on.en[t];return nl(r,n)||t},Pi={errors:{fetchCategoriesError:null},loadings:{fetchCategoriesLoading:!1},compact:!1,endpoint:"",wrapChildren:()=>null,t:e=>e,storeVersion:"",minItemWidth:350,serverVersion:"",layout:{},selectedCategory:void 0,categoryList:[],blockletRender:()=>null,locale:"en",categoryOptions:[],priceOptions:[],storeApi:null,baseSearch:!1,showResourcesSwitch:!1,showCategory:!1,tagFilters:[],developerName:"",onFilterChange:()=>{},updateDeveloperName:()=>{},getCategoryLocale:()=>null,search:{filters:{},cleanFilter:()=>{},handleActiveMenu:()=>{},handleSort:()=>{},handleKeyword:()=>{},handlePrice:()=>{},handleCategory:()=>{},handleDeveloper:()=>{},handleSwitchShowResources:()=>{},handleSearchSelect:()=>{},handlePage:()=>{}}},Ri=F.createContext(Pi),{Provider:al,Consumer:ac}=Ri;function ll(e){const{locale:t="zh",filters:n={},serverVersion:r="",onFilterChange:i=()=>{},minItemWidth:s=350,queryFilter:h=!0,layout:d={},wrapChildren:p=ce=>ce,extraFilter:g=ce=>ce,baseSearch:m=!1,fetchCategoryDelay:v=0,showResourcesSwitch:j=!1,showCategory:w=!0,tagFilters:k=[],children:x,storeVersion:P,onSearchSelect:_=()=>{},endpoint:T,blockletRender:A,compact:Y=!1}=e,ee=Ii(r,P),B=F.useMemo(()=>Ur({baseURL:T,headers:ee}),[T]),G=Ya(n,{onFilterChange:i,emptyCategory:!d.showExplore,onSearchSelect:_}),[te,se]=F.useState(""),{data:$=[],error:Ee,loading:we,run:ke}=Qa(B),me=F.useMemo(()=>{const ce=ss($,[Ie=>Ie.name],["asc"]),Te=ce.findIndex(Ie=>Ie.name==="All"||Ie.locales.en==="All");return Te>-1?[{...ce[Te],_id:"All"},...ce.slice(0,Te),...ce.slice(Te+1)]:ce},[$]),Se=F.useCallback(sl(t),[t]),D=F.useMemo(()=>el(me,t),[me,t]),ae=Za(Se),je={search:G,compact:Y,errors:{fetchCategoriesError:Ee},loadings:{fetchCategoriesLoading:we},extraFilter:g,endpoint:T,queryFilter:h,layout:{showExplore:d.showExplore??!1,showCategory:d.showCategory??!0,showTitle:d.showTitle??!0,showSearch:d.showSearch??!0},minItemWidth:s,wrapChildren:p,t:Se,storeVersion:P,serverVersion:r,selectedCategory:G.filters.category||(d.showExplore?"":"All"),categoryList:me,blockletRender:A,locale:t,categoryOptions:D,priceOptions:ae,storeApi:B,baseSearch:m,showResourcesSwitch:j,showCategory:w,tagFilters:k,onFilterChange:i,getCategoryLocale:ce=>{if(!ce)return null;const Te=$.find(Ie=>Ie._id===ce||Ie.locales.en==="All");return Te?Te.locales[t]||Te.locales.en:null},get developerName(){return te},updateDeveloperName:se};return F.useEffect(()=>{setTimeout(ke,v||0)},[T,ke,v]),o.jsx(al,{value:je,children:x})}function pe(){return F.useContext(Ri)||Pi}function _i({children:e,onClick:t,size:n=32,...r}){return o.jsx(ve,{...r,onClick:t,variant:"outlined",sx:[{minWidth:n,height:n,p:0,borderColor:"divider","&:hover":{borderColor:"divider"},borderRadius:2,color:"text.secondary"},...Array.isArray(r.sx)?r.sx:[r.sx]],children:e})}function kt(e,t){return e===void 0?t:e}function Wn({xs:e=void 0,sm:t=void 0,md:n=void 0,lg:r=void 0,xl:i=void 0,exact:s=!1}){const h=$e(),d=Ye(h.breakpoints.down("sm")),p=Ye(h.breakpoints.between("sm","md")),g=Ye(h.breakpoints.between("md","lg")),m=Ye(h.breakpoints.between("lg","xl"));if(s)return d?e||null:p?t||null:g?n||null:m?r||null:i||null;let v=e;return d||(v=kt(t,v),p)||(v=kt(n,v),g)||(v=kt(r,v),m)?v:kt(i,v)}function cl({children:e}){const{open:t,toggleOpen:n}=Fn();return o.jsx(Wn,{xs:o.jsx(So,{open:t,onClose:()=>n(!1),children:e}),md:o.jsx(V,{children:e})})}function ul({loading:e=!1,disabled:t,...n}){return o.jsx(ve,{disableElevation:!0,disabled:t||e===!0,...n,sx:[{borderRadius:"4px"},...Array.isArray(n.sx)?n.sx:[n.sx]],startIcon:e&&o.jsx(Ce,{size:"1em"})})}function wn({value:e,options:t,onChange:n,placeholder:r="",...i}){const s=F.useRef(null),h=$e(),[d,p]=F.useState(!1),[g,m]=F.useState(e!==null?e:""),v=Ye(h.breakpoints.down("sm"));F.useEffect(()=>{m(e!==null?e:"")},[e]);const j=F.useCallback(()=>{p(!1)},[]),w=F.useCallback(()=>{p(!0)},[]);function k(P){m(P.value),n(P.value),v&&j()}function x(P){return P===g}return o.jsxs(o.Fragment,{children:[o.jsxs(dl,{ref:s,onClick:w,variant:"outlined",size:"medium",className:["my-select__selector",Io(g)?"":"my-select__selector--active"].join(" "),sx:{minWidth:{xs:"100px",md:"auto"},color:"text.primary",borderRadius:"8px"},...i,children:[t.find(P=>P.value===g)?.name||r,o.jsx(Eo,{className:"my-select__arrowdown",component:gs,sx:{width:18,height:18}})]}),o.jsx(Po,{open:d,anchorEl:s.current,transition:!0,sx:{zIndex:"9999"},children:({TransitionProps:P,placement:_})=>o.jsx(Ro,{...P,style:{transformOrigin:_==="bottom"?"center top":"center bottom"},children:o.jsx(_o,{children:o.jsx(Mo,{onClickAway:j,children:o.jsx(hl,{autoFocusItem:d,onMouseEnter:w,onMouseLeave:j,children:t.map(T=>o.jsxs(It,{onClick:()=>k(T),sx:{fontSize:14},children:[o.jsx(Lo,{sx:{mr:1,fontSize:16,visibility:x(T.value)?"visible":"hidden"}}),T.name]},T.value))})})})})})]})}const dl=ze(ul)`
|
|
3
3
|
border: 1px solid ${e=>e.theme.palette.divider};
|
|
4
4
|
padding: 6px 8px 6px 12px;
|