@esri/solutions-components 1.1.0-next.20250807 → 1.1.0-next.20250811
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{YZ7U7BSV.js → 25BPRYOW.js} +2 -2
- package/dist/cdn/{FSAQZSUS.js → 27FMVAFE.js} +2 -2
- package/dist/cdn/{RTXWHKDN.js → 2D4J4M2J.js} +1 -1
- package/dist/cdn/{O226UAP3.js → 2DLI4Y75.js} +2 -2
- package/dist/cdn/{PEDNVUYP.js → 2ROXBM6C.js} +2 -2
- package/dist/cdn/{MH6BBU67.js → 2RZAN4J3.js} +2 -2
- package/dist/cdn/{ZDZU6GQQ.js → 2YZRRBF7.js} +2 -2
- package/dist/cdn/{WMKSKX7O.js → 32BEPLL5.js} +2 -2
- package/dist/cdn/{O43OSMTE.js → 3BO2FDBN.js} +2 -2
- package/dist/cdn/{GUFY3D6V.js → 3FBYTHDB.js} +1 -1
- package/dist/cdn/{C33FUG2J.js → 3FFRXMAG.js} +2 -2
- package/dist/cdn/{KMJTWHMU.js → 3FZJXHAQ.js} +1 -1
- package/dist/cdn/{YNOYNNA5.js → 3GPCAH34.js} +1 -1
- package/dist/cdn/{X5NWLLPN.js → 3JIZ4OVA.js} +2 -2
- package/dist/cdn/{DTBUHMHE.js → 3RYCYG6M.js} +2 -2
- package/dist/cdn/{SSJ2ZQKC.js → 3Y2HEM7T.js} +1 -1
- package/dist/cdn/{AAN6KYGA.js → 47GUYAPC.js} +2 -2
- package/dist/cdn/{4L6SA7O2.js → 4B5UZHGF.js} +1 -1
- package/dist/cdn/{GWBWVBO2.js → 4BSGFS3K.js} +2 -2
- package/dist/cdn/{WCCJB6HX.js → 4CSTDFLN.js} +2 -2
- package/dist/cdn/{B7Q2VTJW.js → 4FHN36IJ.js} +2 -2
- package/dist/cdn/4GFQFORZ.js +18 -0
- package/dist/cdn/{Q5XGXIBI.js → 4GN7SIYX.js} +2 -2
- package/dist/cdn/{P2MUOSGT.js → 4M6QLQL3.js} +2 -2
- package/dist/cdn/{HMNYGSMG.js → 4OPYQ2ZV.js} +2 -2
- package/dist/cdn/{IAOPQBHX.js → 4TMVLWUO.js} +2 -2
- package/dist/cdn/{J3EPHUSR.js → 4TZFTGP5.js} +2 -2
- package/dist/cdn/{KCVINMRG.js → 4WAKHUFX.js} +2 -2
- package/dist/cdn/{QRCRSTCC.js → 5HYO7JGY.js} +2 -2
- package/dist/cdn/{XC4WT7GZ.js → 5KHJ2Q7T.js} +2 -2
- package/dist/cdn/5KN2AFRH.js +25 -0
- package/dist/cdn/{AWQXV4OE.js → 5LBKY3ZB.js} +2 -2
- package/dist/cdn/{GDMC3AGH.js → 5LHOUR5X.js} +2 -2
- package/dist/cdn/{TL2RPK3H.js → 5LZ4OM3G.js} +1 -1
- package/dist/cdn/{762LBUVT.js → 5MVQM3XO.js} +2 -2
- package/dist/cdn/{IYZORPXE.js → 5NHYI3W6.js} +2 -2
- package/dist/cdn/{VOZSXVEM.js → 5NLTGNGB.js} +2 -2
- package/dist/cdn/{B6K7HRRU.js → 5UWVK7QB.js} +2 -2
- package/dist/cdn/{IJCTLJ3S.js → 5V5IWZML.js} +2 -2
- package/dist/cdn/{74NWIYS4.js → 5XNY2IPV.js} +2 -2
- package/dist/cdn/{XZ6QT5F4.js → 5ZDDGZJ2.js} +2 -2
- package/dist/cdn/{MB6KBR5S.js → 62NXY2XK.js} +2 -2
- package/dist/cdn/{ACZOFHOI.js → 67IWZ3KD.js} +3 -3
- package/dist/cdn/{6TGOLOCW.js → 6D2PTEFV.js} +2 -2
- package/dist/cdn/{RCHK4JI3.js → 6FFTVBS4.js} +2 -2
- package/dist/cdn/{EHVOBSZZ.js → 6GXM6APH.js} +2 -2
- package/dist/cdn/{P6J236L4.js → 6I3NSNO2.js} +2 -2
- package/dist/cdn/{RD33HMPU.js → 6THHSLTV.js} +2 -2
- package/dist/cdn/{EU5VZNDS.js → 7KVWVAR4.js} +2 -2
- package/dist/cdn/{I6O5A2P5.js → 7MFEM32P.js} +2 -2
- package/dist/cdn/{NMGHDXOL.js → 7PUAGOWX.js} +1 -1
- package/dist/cdn/{47YCRAOA.js → 7QRMYMOR.js} +2 -2
- package/dist/cdn/{APP23IPC.js → 7RA5VI2M.js} +2 -2
- package/dist/cdn/{CSQRLPK5.js → 7VJLUWJW.js} +2 -2
- package/dist/cdn/{AUN7K4CI.js → 7VKBF2FF.js} +2 -2
- package/dist/cdn/{GTAXWPQM.js → 7WGHDJ4F.js} +2 -2
- package/dist/cdn/{JL5HLTKL.js → A3XXT3VU.js} +2 -2
- package/dist/cdn/{YQOZK3AJ.js → AB3EXVBZ.js} +2 -2
- package/dist/cdn/AHCZJWA5.js +4 -0
- package/dist/cdn/{6VC2QNBM.js → ANFQG7LD.js} +1 -1
- package/dist/cdn/{WLPBJYVG.js → AVJALFKF.js} +2 -2
- package/dist/cdn/{QF2WSPS3.js → B4ACCQYI.js} +2 -2
- package/dist/cdn/{DOHV6DHD.js → B65VFI5R.js} +2 -2
- package/dist/cdn/{ZEKLNP2G.js → BBWZXQIW.js} +2 -2
- package/dist/cdn/{KO4Z3EBV.js → BE7WZVUC.js} +1 -1
- package/dist/cdn/{UEWCZT2W.js → BI64QLWY.js} +2 -2
- package/dist/cdn/{QXMCQ54C.js → BJ7XQIDM.js} +2 -2
- package/dist/cdn/{Z2BBV7RY.js → BSBEZTMF.js} +2 -2
- package/dist/cdn/{7DIO7H4Y.js → BVTZQPBH.js} +2 -2
- package/dist/cdn/{XPXB7KO5.js → BXW3TA6O.js} +2 -2
- package/dist/cdn/{HUEC3AVY.js → C4EGGW6P.js} +1 -1
- package/dist/cdn/{RO255T5X.js → C52XX5ZG.js} +2 -2
- package/dist/cdn/{55UXVEQV.js → CA2EPZXH.js} +2 -2
- package/dist/cdn/{5DEON4XN.js → CBIUUXGC.js} +2 -2
- package/dist/cdn/{34LFTZHC.js → CC7GNQZN.js} +2 -2
- package/dist/cdn/{P4SBL5HU.js → CD53XWYA.js} +2 -2
- package/dist/cdn/{KAEGPKNN.js → CGC5HVLI.js} +2 -2
- package/dist/cdn/{QEJJNDK2.js → CGVNTPMW.js} +2 -2
- package/dist/cdn/{U3V2FSLQ.js → CNFZJ3VN.js} +2 -2
- package/dist/cdn/{5WKTUG4M.js → CO6Y4JQA.js} +2 -2
- package/dist/cdn/{ODKKI2US.js → CVY6NXHC.js} +2 -2
- package/dist/cdn/{DJMHUAZO.js → CXF62MZS.js} +2 -2
- package/dist/cdn/{EHBSXGFN.js → D3HBPTA4.js} +1 -1
- package/dist/cdn/{E6RTSA2V.js → D4QGPQND.js} +2 -2
- package/dist/cdn/{47BWAZPL.js → D5LUMTLN.js} +1 -1
- package/dist/cdn/{CLBTJIJO.js → D7XRMPPD.js} +2 -2
- package/dist/cdn/{VNKDH3U3.js → DDV5UYE5.js} +1 -1
- package/dist/cdn/{K7XUZZSB.js → DIYKBW3U.js} +2 -2
- package/dist/cdn/{L76KRRVT.js → DNEPWMNI.js} +2 -2
- package/dist/cdn/{NGFQAGB5.js → DSGRTZC7.js} +2 -2
- package/dist/cdn/{QQTKMUG3.js → DSKVWLGY.js} +2 -2
- package/dist/cdn/{AAMRLHQE.js → DT5LM7Y4.js} +1 -1
- package/dist/cdn/{4WA5EUDQ.js → DUYAP33V.js} +2 -2
- package/dist/cdn/{ZWFKHJAE.js → DWZUCJFG.js} +2 -2
- package/dist/cdn/{LQ6ZCPMS.js → EBYHWRAD.js} +2 -2
- package/dist/cdn/{KSJYABTP.js → ELFWTILT.js} +2 -2
- package/dist/cdn/{N6DM2Q4G.js → ELWIFWTO.js} +1 -1
- package/dist/cdn/{AKEG4Q55.js → EO6UJOYB.js} +2 -2
- package/dist/cdn/{3ZXWN6PE.js → EPUOFHKO.js} +1 -1
- package/dist/cdn/{M6RURSMZ.js → ETN3A2QC.js} +2 -2
- package/dist/cdn/{PD47QCT4.js → ETSR4DTU.js} +2 -2
- package/dist/cdn/{2UFC6UA7.js → EX7VYQYO.js} +2 -2
- package/dist/cdn/{TBO2RREN.js → F3NKARWH.js} +2 -2
- package/dist/cdn/{TG2OYQ7P.js → F527WKRH.js} +2 -2
- package/dist/cdn/{ZFGFZKJQ.js → FFGPVCLB.js} +2 -2
- package/dist/cdn/FINOANYC.js +20 -0
- package/dist/cdn/{TW7OPMEY.js → FKJHLJPA.js} +2 -2
- package/dist/cdn/{R2EEX6LB.js → FOEUECEM.js} +2 -2
- package/dist/cdn/{BTXB4NY6.js → FQO2HG7M.js} +2 -2
- package/dist/cdn/{UTHFW7DD.js → FRUGMWTJ.js} +2 -2
- package/dist/cdn/FZCKTFLA.js +4 -0
- package/dist/cdn/{CQ3CEIZS.js → G5PJOI2S.js} +2 -2
- package/dist/cdn/{37VLMVEC.js → GBVJR7G4.js} +1 -1
- package/dist/cdn/{TZ2HVOE6.js → GDMJG5O6.js} +2 -2
- package/dist/cdn/{X4R4DZVD.js → GHAEWQ4U.js} +2 -2
- package/dist/cdn/{SUQXPEBH.js → GI4X7A5E.js} +2 -2
- package/dist/cdn/{HPIBFCQP.js → GLN7BTBK.js} +2 -2
- package/dist/cdn/{S7VTUIBP.js → GNS3QL7M.js} +1 -1
- package/dist/cdn/{A2K3NMH6.js → GNYR5T7P.js} +2 -2
- package/dist/cdn/{TDGTW5ZD.js → GPLQK6HM.js} +2 -2
- package/dist/cdn/GSM6TAUA.js +4 -0
- package/dist/cdn/{MP7ONC7J.js → GTLD5NIN.js} +2 -2
- package/dist/cdn/{J7I3BLLD.js → GU74TCNP.js} +2 -2
- package/dist/cdn/{5L62KXJN.js → GUAMN5PO.js} +2 -2
- package/dist/cdn/{PS5X27FN.js → H36K2KKY.js} +2 -2
- package/dist/cdn/{3U5DH5OT.js → HANAFVAT.js} +2 -2
- package/dist/cdn/{EZ6I42W4.js → HH7VHJVF.js} +2 -2
- package/dist/cdn/{P62SJE3A.js → HZGI4IYF.js} +2 -2
- package/dist/cdn/{XWB2NOXJ.js → I6YRZF2Z.js} +2 -2
- package/dist/cdn/{PJOKXK6Y.js → I7LH7SU3.js} +2 -2
- package/dist/cdn/{PBDTJK6W.js → IFJSYBIO.js} +2 -2
- package/dist/cdn/{6TU3GTPA.js → IGWBDOPR.js} +2 -2
- package/dist/cdn/{EYSAK274.js → IMFSUJYA.js} +2 -2
- package/dist/cdn/{PFDY5TYK.js → IODYGL3H.js} +2 -2
- package/dist/cdn/{PGA4E5PO.js → IX46G3WW.js} +1 -1
- package/dist/cdn/{O4C7KXCW.js → J7JR3RI7.js} +2 -2
- package/dist/cdn/{XNLHGXFM.js → JHG32IWY.js} +2 -2
- package/dist/cdn/{OKTJGBKN.js → JIKGR7Y6.js} +2 -2
- package/dist/cdn/{O32OXSI3.js → JNHPEUSM.js} +1 -1
- package/dist/cdn/{XPPHGVDC.js → JU5GXMWH.js} +1 -1
- package/dist/cdn/{UGTKYNAU.js → JV6ZKXC4.js} +3 -3
- package/dist/cdn/{CKL467ZT.js → JYBX6OYZ.js} +2 -2
- package/dist/cdn/{3TFBHSQL.js → KCVS4LMM.js} +2 -2
- package/dist/cdn/KGY74VYL.js +4 -0
- package/dist/cdn/{SIYAWD2U.js → KJEZ63MM.js} +2 -2
- package/dist/cdn/{RCSIM34B.js → KLT2SHIJ.js} +2 -2
- package/dist/cdn/{TSE2VEED.js → KO3ONQ7A.js} +2 -2
- package/dist/cdn/{HQPHASJI.js → KQH7RQH7.js} +2 -2
- package/dist/cdn/KV53YB72.js +4 -0
- package/dist/cdn/{6C2Z2DBF.js → KWP3A7C6.js} +2 -2
- package/dist/cdn/{EB45NXY2.js → KZSEXK4T.js} +2 -2
- package/dist/cdn/{5HJ5WMUT.js → L7XDT5RE.js} +4 -4
- package/dist/cdn/{ZYHDOOAO.js → LB5UU74B.js} +2 -2
- package/dist/cdn/{LMT5I55C.js → LEGB4PPF.js} +1 -1
- package/dist/cdn/{2FY5XAYK.js → LG5UWDJZ.js} +2 -2
- package/dist/cdn/{VP4BUQPH.js → LKQE3JX7.js} +2 -2
- package/dist/cdn/{VLOP6C2D.js → LLHTR24H.js} +1 -1
- package/dist/cdn/{KFUROQ7I.js → LQFPA4NV.js} +2 -2
- package/dist/cdn/{KQMO4G2Q.js → LU4ZYEEQ.js} +2 -2
- package/dist/cdn/{JRV3QRPV.js → LWFA6HIB.js} +2 -2
- package/dist/cdn/{GZZN35A5.js → LWLLBQ5N.js} +2 -2
- package/dist/cdn/{BIOAZX2F.js → M4O6K73H.js} +2 -2
- package/dist/cdn/{IUQL5J7N.js → M4PMDTEE.js} +2 -2
- package/dist/cdn/{OIUCTBCG.js → MDUE7TQA.js} +2 -2
- package/dist/cdn/{XGS4Y4L7.js → MILUGKNK.js} +2 -2
- package/dist/cdn/{R4IMTVZY.js → MM4EA25Z.js} +2 -2
- package/dist/cdn/{VHZLZ6IC.js → MN2EPGVQ.js} +2 -2
- package/dist/cdn/{BAGEJFMS.js → MQBQ5D5G.js} +2 -2
- package/dist/cdn/{G2SS4KGO.js → MUN27JUW.js} +2 -2
- package/dist/cdn/{5TCD4UCY.js → N4VN6R7P.js} +2 -2
- package/dist/cdn/{JPCKGXDG.js → N4YEVO4Y.js} +2 -2
- package/dist/cdn/{GIUTD53S.js → N5ILEPMJ.js} +2 -2
- package/dist/cdn/{LS4ZFQHL.js → N5T6H735.js} +2 -2
- package/dist/cdn/{7CR4A6OG.js → N7CCSN2V.js} +1 -1
- package/dist/cdn/{Z3ETPCAX.js → N7XVZJMY.js} +2 -2
- package/dist/cdn/{5GRWDTRM.js → NAM4J36C.js} +2 -2
- package/dist/cdn/{H4IM7M6P.js → NBQUUMZE.js} +2 -2
- package/dist/cdn/{6K65KN3A.js → NBSLCKRM.js} +1 -1
- package/dist/cdn/{QOZT6CJO.js → NLW3FUGS.js} +2 -2
- package/dist/cdn/{EEYXYWFV.js → NUWXRXBH.js} +2 -2
- package/dist/cdn/{MTNP2I5X.js → NV33KYL6.js} +2 -2
- package/dist/cdn/{BT2FLNSX.js → NWWSZQFW.js} +2 -2
- package/dist/cdn/{T66J6NTI.js → NXWK2VRW.js} +1 -1
- package/dist/cdn/{OZIVUD7N.js → OCARJJQL.js} +2 -2
- package/dist/cdn/{ALMWOQOE.js → ODAHMIEG.js} +2 -2
- package/dist/cdn/{RD5BPY34.js → OEUYYOHY.js} +2 -2
- package/dist/cdn/{4KWZDDKF.js → ONBSV4YT.js} +2 -2
- package/dist/cdn/{LC2BPPCI.js → OYY2X6G5.js} +2 -2
- package/dist/cdn/{P4PQLCYD.js → P5NIA3Y5.js} +2 -2
- package/dist/cdn/PDMQWXIW.js +4 -0
- package/dist/cdn/{SUV7MWFV.js → PDR2NMR5.js} +2 -2
- package/dist/cdn/{DTRUDIIQ.js → PE3SSYAD.js} +2 -2
- package/dist/cdn/{QDINIBIY.js → PE4QKLMA.js} +2 -2
- package/dist/cdn/{NDLIPMHN.js → PFFJNYXP.js} +2 -2
- package/dist/cdn/{S5FLRUY6.js → PHJF3WTM.js} +2 -2
- package/dist/cdn/{45PRHENB.js → PJ4OOX6H.js} +2 -2
- package/dist/cdn/{JWRRZMT3.js → PJC6SXTD.js} +2 -2
- package/dist/cdn/{A2R4QAHH.js → PKS62HB2.js} +2 -2
- package/dist/cdn/{EL3KDH3D.js → PMMQB3WH.js} +2 -2
- package/dist/cdn/{NGUS7MOI.js → PMUI6RJ4.js} +2 -2
- package/dist/cdn/{R6XB7URW.js → PQVYRUBP.js} +2 -2
- package/dist/cdn/{2IF7HZSV.js → PSUXO4NH.js} +2 -2
- package/dist/cdn/{WQYPXK6M.js → PVQZBQBD.js} +1 -1
- package/dist/cdn/PWFUVQTO.js +4 -0
- package/dist/cdn/{IN6PY4KQ.js → PYTEXGKE.js} +2 -2
- package/dist/cdn/{BSRIHA5H.js → PZLYNDNS.js} +2 -2
- package/dist/cdn/{NR4OF7Y4.js → Q2SKOFQP.js} +2 -2
- package/dist/cdn/{F7KNFTOL.js → Q3TRQVCN.js} +2 -2
- package/dist/cdn/{T327226O.js → Q6G6KGZ3.js} +2 -2
- package/dist/cdn/QABYI35N.js +18 -0
- package/dist/cdn/{EFEY5VBE.js → QFZD7GCJ.js} +2 -2
- package/dist/cdn/{A355VKVB.js → QLWQDLYJ.js} +2 -2
- package/dist/cdn/{RIDCSABY.js → QSEHUKUK.js} +2 -2
- package/dist/cdn/{SXV2A3WF.js → QSFRU6ZE.js} +2 -2
- package/dist/cdn/{KV3YUVLG.js → QU74S4RI.js} +2 -2
- package/dist/cdn/{DVXHQHDU.js → QU7JNZVG.js} +2 -2
- package/dist/cdn/{KTKZUQ4I.js → QUWBDRBE.js} +2 -2
- package/dist/cdn/{23UWFEAE.js → QZMNFU3O.js} +2 -2
- package/dist/cdn/{RZM43GVY.js → R2QN2NVA.js} +2 -2
- package/dist/cdn/{2ZOMDEH5.js → R6NWJH2T.js} +1 -1
- package/dist/cdn/{FCPM5MUJ.js → RECU3VB6.js} +2 -2
- package/dist/cdn/{SNTMUWIG.js → RLYWJIWS.js} +2 -2
- package/dist/cdn/{DUX2E7IA.js → RQHAO57B.js} +1 -1
- package/dist/cdn/{673MKMRU.js → RRQM3WWS.js} +2 -2
- package/dist/cdn/{7BUXQ75A.js → RSOVP27Q.js} +2 -2
- package/dist/cdn/{C3ZTMBEV.js → S3GATO3B.js} +2 -2
- package/dist/cdn/{CJSWCXUW.js → S5LJNAVJ.js} +2 -2
- package/dist/cdn/{U2TUMFII.js → S7LILHZ6.js} +2 -2
- package/dist/cdn/{RJ2MPHZN.js → SD2CLQWR.js} +1 -1
- package/dist/cdn/{C2PQ2QXB.js → SDEYHR34.js} +2 -2
- package/dist/cdn/{FWOZSJAV.js → SEE5QR2R.js} +2 -2
- package/dist/cdn/{L46627XS.js → SGXSUJVY.js} +2 -2
- package/dist/cdn/{JYDRTFPO.js → SL2Z2VTM.js} +2 -2
- package/dist/cdn/{OQW63WOV.js → TAHX7L7N.js} +1 -1
- package/dist/cdn/{25PCEEUI.js → TGLYOQNV.js} +2 -2
- package/dist/cdn/{VSATWLFJ.js → TGXRWCA5.js} +2 -2
- package/dist/cdn/{MNSBUMKL.js → TJI4XQVF.js} +2 -2
- package/dist/cdn/{MRZENK6I.js → TT3JSL5E.js} +2 -2
- package/dist/cdn/{NH6YVOBX.js → TZD5MGUT.js} +1 -1
- package/dist/cdn/{YMEEILOV.js → U37LWH4D.js} +2 -2
- package/dist/cdn/{KFTKMPJB.js → U7HGDUHD.js} +17 -17
- package/dist/cdn/UB6QDVHQ.js +4 -0
- package/dist/cdn/{TOESH4WN.js → UBBCUI4G.js} +2 -2
- package/dist/cdn/{JAZAORCH.js → UBITOVMY.js} +2 -2
- package/dist/cdn/{NQFOUERQ.js → UBSSSD4F.js} +2 -2
- package/dist/cdn/{WUHAMO7D.js → UFH2ESKV.js} +1 -1
- package/dist/cdn/{MFTYI4ZA.js → UG2VB4I7.js} +2 -2
- package/dist/cdn/{W3PNGM6F.js → UHVWYTHM.js} +2 -2
- package/dist/cdn/UITXXEST.js +4 -0
- package/dist/cdn/{CHYLF53H.js → ULGNQG43.js} +2 -2
- package/dist/cdn/{BAPML7LH.js → UM332TFA.js} +2 -2
- package/dist/cdn/{SQ2DYZTT.js → UQVY46LL.js} +2 -2
- package/dist/cdn/{ZHOLZY3J.js → UTMGYYPC.js} +2 -2
- package/dist/cdn/{5EYC6CWL.js → V67M3XNW.js} +2 -2
- package/dist/cdn/{BLIIGOV4.js → VAQT7ARN.js} +2 -2
- package/dist/cdn/{EL3QS227.js → VDKRDZJM.js} +2 -2
- package/dist/cdn/{JLQ2HNMG.js → VDRZPPZC.js} +2 -2
- package/dist/cdn/{O4XQIIMV.js → VEFFB5HW.js} +1 -1
- package/dist/cdn/{D6J3KRJW.js → VSTHZ6AJ.js} +2 -2
- package/dist/cdn/{5VVCKM7Z.js → VWFYEGZK.js} +2 -2
- package/dist/cdn/VXHKEQOL.js +18 -0
- package/dist/cdn/{4OWJPRUZ.js → VXNYWTA2.js} +2 -2
- package/dist/cdn/{2AUNKB7Q.js → VYQNTISJ.js} +2 -2
- package/dist/cdn/{Y2BJ446T.js → VZTVT7W4.js} +2 -2
- package/dist/cdn/W3IPZTUY.js +6 -0
- package/dist/cdn/{ZMBZ4OPR.js → WCAMEDNK.js} +2 -2
- package/dist/cdn/{ITAHRKZF.js → WL2QS77G.js} +2 -2
- package/dist/cdn/{IWIUNGO7.js → WN7I3CLH.js} +2 -2
- package/dist/cdn/{4Q7HUC6D.js → WOWM46JN.js} +2 -2
- package/dist/cdn/{FK2MENQV.js → WT27D7OF.js} +2 -2
- package/dist/cdn/{DNU5K63O.js → WUDMEAHZ.js} +2 -2
- package/dist/cdn/{5HZFMPIU.js → WVCE4HNT.js} +2 -2
- package/dist/cdn/{QBU6ELER.js → WYVS67DX.js} +2 -2
- package/dist/cdn/{6PLQ3TFJ.js → XETIOQJS.js} +2 -2
- package/dist/cdn/{Z7WA3WBC.js → XGCJQZRI.js} +2 -2
- package/dist/cdn/{TMEJHTFD.js → XKB4YYB6.js} +1 -1
- package/dist/cdn/{MZN35YDN.js → XKWWXYCP.js} +2 -2
- package/dist/cdn/{LE5OLAWE.js → YAGUTU2N.js} +2 -2
- package/dist/cdn/{IZRXDPAA.js → YGDH5YVZ.js} +2 -2
- package/dist/cdn/{X5VJW65F.js → YJY766UU.js} +2 -2
- package/dist/cdn/{4B2B7EHG.js → YKW4FGXP.js} +2 -2
- package/dist/cdn/{45M7AJCE.js → YNLF6CBA.js} +2 -2
- package/dist/cdn/{OXJNTCXG.js → YSF3U2S4.js} +2 -2
- package/dist/cdn/{HBFX5M4G.js → YZWFSEWM.js} +2 -2
- package/dist/cdn/{RV7LHK7S.js → Z2TQAG2W.js} +2 -2
- package/dist/cdn/{LEDP5BSQ.js → Z46YZXN7.js} +2 -2
- package/dist/cdn/{AVVZLUHB.js → Z76A5P6D.js} +2 -2
- package/dist/cdn/{KIYQZB6J.js → ZBIVULLU.js} +2 -2
- package/dist/cdn/{OQMPAADX.js → ZDR25IQ2.js} +2 -2
- package/dist/cdn/{CXNTZ26E.js → ZHO4ZAWI.js} +2 -2
- package/dist/cdn/{SB2PG74V.js → ZOSUIDTX.js} +2 -2
- package/dist/cdn/{MSDCALGZ.js → ZPQHWXVT.js} +2 -2
- package/dist/cdn/{P7QDYS5I.js → ZQ6TRYQI.js} +1 -1
- package/dist/cdn/{OC6XTUJ6.js → ZQCQVKSK.js} +2 -2
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1129 -1128
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -2
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +10 -10
- package/dist/components/solution-configure-dialog/customElement.js +29 -25
- package/dist/components/solution-configure-dialog/index.d.ts +1 -1
- package/dist/components/solution-configure-dialog/index.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +17 -17
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +14 -14
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/dist/cdn/2C56DLAD.js +0 -18
- package/dist/cdn/2IFPJJ5T.js +0 -18
- package/dist/cdn/2MCT2F24.js +0 -4
- package/dist/cdn/3KWL6RYZ.js +0 -4
- package/dist/cdn/BS6FETLT.js +0 -6
- package/dist/cdn/C3KR7HPF.js +0 -4
- package/dist/cdn/CV6OFTSP.js +0 -18
- package/dist/cdn/ETSPZGFB.js +0 -4
- package/dist/cdn/GWMXEYIF.js +0 -4
- package/dist/cdn/IP7WWE4J.js +0 -20
- package/dist/cdn/JA33342E.js +0 -25
- package/dist/cdn/T4ZKHZ72.js +0 -4
- package/dist/cdn/WCI57YT4.js +0 -4
- package/dist/cdn/WHSG5POK.js +0 -4
- package/dist/cdn/Z2ZINQA6.js +0 -4
@@ -1,24 +1,24 @@
|
|
1
|
-
import { c as
|
2
|
-
import { u as
|
3
|
-
import { LitElement as
|
4
|
-
import { css as
|
1
|
+
import { c as Ui } from "../../chunks/runtime.js";
|
2
|
+
import { u as Li } from "../../chunks/useT9n.js";
|
3
|
+
import { LitElement as zi, createEvent as Wi } from "@arcgis/lumina";
|
4
|
+
import { css as Vi } from "lit";
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
6
6
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
7
|
-
v1.1.0-next.
|
8
|
-
function
|
7
|
+
v1.1.0-next.20250811 */
|
8
|
+
function Gi(e = {}) {
|
9
9
|
const { disabled: t, portal: r } = e;
|
10
|
-
return t || r?.eueiEnabled === !1 ? !0 : !(!r ||
|
10
|
+
return t || r?.eueiEnabled === !1 ? !0 : !(!r || Hi(r) || Fi(r) || Ki(r));
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function Hi(e) {
|
13
13
|
return e.eueiEnabled && e.user && e.user.orgId === e.id;
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Fi(e) {
|
16
16
|
return e.user && !e.user.orgId && e.ipCntryCode === "US";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Ki(e) {
|
19
19
|
return !e.user && e.ipCntryCode === "US";
|
20
20
|
}
|
21
|
-
const
|
21
|
+
const Le = {
|
22
22
|
storage: {},
|
23
23
|
memory: !0,
|
24
24
|
get(e) {
|
@@ -52,25 +52,25 @@ const De = {
|
|
52
52
|
this.memory || (console.error("setting local storage failed, falling back to in-memory storage"), this.memory = !0), delete this.storage[e];
|
53
53
|
}
|
54
54
|
}
|
55
|
-
},
|
56
|
-
function
|
55
|
+
}, Mn = "esri-telemetry";
|
56
|
+
function qi(e) {
|
57
57
|
return new Promise((r, n) => {
|
58
|
-
e.onload = r, e.onerror = n, (!
|
58
|
+
e.onload = r, e.onerror = n, (!Yi(e) || e.body) && r();
|
59
59
|
});
|
60
60
|
}
|
61
|
-
function
|
61
|
+
function Bi(e) {
|
62
62
|
const { id: t, dataAttribute: r } = e;
|
63
|
-
return !!document.getElementById(t) || !!document.querySelector(`[data-${
|
63
|
+
return !!document.getElementById(t) || !!document.querySelector(`[data-${Mn}="${r}"]`);
|
64
64
|
}
|
65
|
-
function
|
65
|
+
function Yi(e) {
|
66
66
|
const { body: t, src: r, id: n, dataAttribute: i, section: a = "body", type: s = "text/javascript", async: o = !1, defer: u = !1, onload: l, onerror: c } = e;
|
67
67
|
if (typeof window > "u")
|
68
|
-
throw new
|
69
|
-
if (
|
68
|
+
throw new Dn("Window is undefined: Cannot add script element.");
|
69
|
+
if (Bi(e)) {
|
70
70
|
console.log(`script (${n || i}) is already present, skipping`);
|
71
71
|
return;
|
72
72
|
}
|
73
|
-
const m =
|
73
|
+
const m = Ji({
|
74
74
|
id: n,
|
75
75
|
dataAttribute: i,
|
76
76
|
type: s,
|
@@ -83,13 +83,13 @@ function Fi(e) {
|
|
83
83
|
});
|
84
84
|
return a === "body" ? document.body.appendChild(m) : document.head.appendChild(m);
|
85
85
|
}
|
86
|
-
class
|
86
|
+
class Dn extends Error {
|
87
87
|
}
|
88
|
-
function
|
88
|
+
function Ji({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: u }) {
|
89
89
|
const l = document.createElement("script");
|
90
|
-
return e && (l.id = e), t && l.setAttribute(`data-${
|
90
|
+
return e && (l.id = e), t && l.setAttribute(`data-${Mn}`, t), s && (l.src = s), a && (l.innerText = a), l.type = r, l.async = n, l.defer = i, o && (l.onload = o), u && (l.onerror = u), l;
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function Xi(e) {
|
93
93
|
return e.map((t) => {
|
94
94
|
const r = [];
|
95
95
|
return ["src", "id", "dataAttribute", "type"].forEach((n) => {
|
@@ -100,7 +100,7 @@ function Ki(e) {
|
|
100
100
|
}), `<script ${r.join(" ")}>${t.body ? t.body : ""}<\/script>`;
|
101
101
|
}).join("");
|
102
102
|
}
|
103
|
-
const
|
103
|
+
const Qi = [
|
104
104
|
"esri.com",
|
105
105
|
"esriuk.com",
|
106
106
|
"esri.de",
|
@@ -123,10 +123,10 @@ const qi = [
|
|
123
123
|
"esriitalia.it",
|
124
124
|
"esri.pl"
|
125
125
|
];
|
126
|
-
class
|
126
|
+
class Zi {
|
127
127
|
constructor(t) {
|
128
128
|
var r, n, i;
|
129
|
-
this.trackers = [], this.options = t, this.debug = t.debug, this.suppressDisabledWarnings = t.suppressDisabledWarnings, this.disabled =
|
129
|
+
this.trackers = [], this.options = t, this.debug = t.debug, this.suppressDisabledWarnings = t.suppressDisabledWarnings, this.disabled = Gi(t), this.logger = t.logger || console, this.disabled && !this.suppressDisabledWarnings && this.logger.info("Telemetry Disabled");
|
130
130
|
const a = ((r = t.portal) === null || r === void 0 ? void 0 : r.user) || t.user;
|
131
131
|
a && this.setUser(a, (i = (n = t.portal) === null || n === void 0 ? void 0 : n.subscriptionInfo) === null || i === void 0 ? void 0 : i.type), this.disabled || this.initializeTrackers();
|
132
132
|
}
|
@@ -145,7 +145,7 @@ class Bi {
|
|
145
145
|
let n;
|
146
146
|
if (t.email && t.email.split) {
|
147
147
|
const i = t.email.split("@")[1];
|
148
|
-
n =
|
148
|
+
n = Qi.filter((a) => i === a).length > 0;
|
149
149
|
}
|
150
150
|
(n || ["In House", "Demo and Marketing"].indexOf(r) > -1) && (this.user.internalUser = !0);
|
151
151
|
}
|
@@ -198,7 +198,7 @@ class Bi {
|
|
198
198
|
this.logWorkflow(n);
|
199
199
|
}
|
200
200
|
getWorkflow(t) {
|
201
|
-
const r =
|
201
|
+
const r = Le.get(`TELEMETRY-WORKFLOW:${t}`);
|
202
202
|
if (r) {
|
203
203
|
const n = Date.now() - r.start, i = 1800 * 1e3;
|
204
204
|
if (n < i)
|
@@ -207,10 +207,10 @@ class Bi {
|
|
207
207
|
}
|
208
208
|
}
|
209
209
|
saveWorkflow(t) {
|
210
|
-
|
210
|
+
Le.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
|
211
211
|
}
|
212
212
|
deleteWorkflow(t) {
|
213
|
-
|
213
|
+
Le.delete(`TELEMETRY-WORKFLOW:${t.name}`);
|
214
214
|
}
|
215
215
|
logWorkflow(t = {}) {
|
216
216
|
t = this.preProcess(t);
|
@@ -235,7 +235,7 @@ class Bi {
|
|
235
235
|
userSince: this.user.created,
|
236
236
|
internalUser: this.user.internalUser || !1,
|
237
237
|
accountType: this.user.accountType
|
238
|
-
}), Object.entries(Object.assign(Object.assign({}, t), n)).reduce(
|
238
|
+
}), Object.entries(Object.assign(Object.assign({}, t), n)).reduce(ea(r.omitComplexData, this.logger), {});
|
239
239
|
}
|
240
240
|
disableTracker(t) {
|
241
241
|
var r;
|
@@ -248,15 +248,15 @@ class Bi {
|
|
248
248
|
n && !n.hasError && (n.disabled = !1, (r = n.enable) === null || r === void 0 || r.call(n));
|
249
249
|
}
|
250
250
|
}
|
251
|
-
function
|
251
|
+
function ea(e, t) {
|
252
252
|
return function(r, [n, i]) {
|
253
|
-
return
|
253
|
+
return ta(i) ? r[n] = i : e || (t.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`), r[n] = i), r;
|
254
254
|
};
|
255
255
|
}
|
256
|
-
function
|
256
|
+
function ta(e) {
|
257
257
|
return ["string", "number", "boolean", "undefined"].includes(typeof e) || e && typeof e.valueOf() == "string";
|
258
258
|
}
|
259
|
-
function
|
259
|
+
function dr(e, t) {
|
260
260
|
var r = {};
|
261
261
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
262
262
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -264,7 +264,7 @@ function ur(e, t) {
|
|
264
264
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
265
265
|
return r;
|
266
266
|
}
|
267
|
-
class
|
267
|
+
class ra {
|
268
268
|
constructor(t) {
|
269
269
|
var r;
|
270
270
|
if (this.name = "googleAnalytics", this.dimensions = {}, this.metrics = {}, typeof window < "u" && !(!((r = t?.measurementIds) === null || r === void 0) && r.length))
|
@@ -281,12 +281,12 @@ class Xi {
|
|
281
281
|
];
|
282
282
|
}
|
283
283
|
getScriptTags() {
|
284
|
-
return
|
284
|
+
return Xi(this._getScripts());
|
285
285
|
}
|
286
286
|
async init() {
|
287
287
|
if (typeof window > "u")
|
288
|
-
throw new
|
289
|
-
await Promise.all(this._getScripts().map((t) =>
|
288
|
+
throw new Dn("Window is undefined: Cannot add script element.");
|
289
|
+
await Promise.all(this._getScripts().map((t) => qi(t))), this.injectConfig();
|
290
290
|
}
|
291
291
|
// we log page views manually, even though ga4 can do so automatically for pages now
|
292
292
|
logPageView(t, r = {}) {
|
@@ -294,7 +294,7 @@ class Xi {
|
|
294
294
|
return window.gtag("event", "page_view", i), !0;
|
295
295
|
}
|
296
296
|
logEvent(t) {
|
297
|
-
let { action: r } = t, n =
|
297
|
+
let { action: r } = t, n = dr(t, ["action"]);
|
298
298
|
const i = r || "other", a = this.buildCustomParams(n);
|
299
299
|
return window.gtag("event", i, a), !0;
|
300
300
|
}
|
@@ -356,10 +356,10 @@ class Xi {
|
|
356
356
|
}).filter((r) => r).reduce((r, { key: n, value: i }) => (r[n] = i, r), {});
|
357
357
|
}
|
358
358
|
}
|
359
|
-
const
|
360
|
-
function
|
359
|
+
const Tr = "TELEMETRY_COGNITO_CREDENTIALS";
|
360
|
+
function na(e, t = {}) {
|
361
361
|
const n = `https://cognito-identity${t.fips === !0 ? "-fips" : ""}.us-east-1.amazonaws.com/`;
|
362
|
-
let i =
|
362
|
+
let i = Le.get(Tr);
|
363
363
|
if (i && Date.now() / 1e3 < i.Expiration)
|
364
364
|
return Promise.resolve(i);
|
365
365
|
const a = {
|
@@ -388,39 +388,39 @@ function Qi(e, t = {}) {
|
|
388
388
|
if (!s.ok)
|
389
389
|
throw new Error(s.statusText);
|
390
390
|
return s.json();
|
391
|
-
}).then(({ Credentials: s }) => (
|
391
|
+
}).then(({ Credentials: s }) => (Le.set(Tr, s), s));
|
392
392
|
}
|
393
|
-
function
|
393
|
+
function $n({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
|
394
394
|
return Object.keys(e).filter((n) => !r.includes(n)).map((n) => t[n] ? {
|
395
|
-
key:
|
395
|
+
key: aa(t, n),
|
396
396
|
value: e[n]
|
397
397
|
} : {
|
398
398
|
key: n,
|
399
|
-
value:
|
399
|
+
value: ia(e, n)
|
400
400
|
}).reduce((n, { key: i, value: a }) => (n[i] = a, n), {});
|
401
401
|
}
|
402
|
-
function
|
402
|
+
function ia(e, t) {
|
403
403
|
return t === "json" ? e[t] ? JSON.stringify(e[t]) : "null" : e[t] === void 0 ? "null" : e[t].toString();
|
404
404
|
}
|
405
|
-
function
|
405
|
+
function aa(e, t) {
|
406
406
|
return `dimension${e[t]}`;
|
407
407
|
}
|
408
|
-
const
|
409
|
-
function
|
410
|
-
return Object.keys(e).filter((r) => t[r] ||
|
411
|
-
key:
|
408
|
+
const sa = ["size", "duration", "position", "number", "count"];
|
409
|
+
function _n(e, t = {}) {
|
410
|
+
return Object.keys(e).filter((r) => t[r] || sa.includes(r)).map((r) => t[r] ? {
|
411
|
+
key: oa(t, r),
|
412
412
|
value: e[r]
|
413
413
|
} : {
|
414
414
|
key: r,
|
415
415
|
value: e[r]
|
416
416
|
}).reduce((r, { key: n, value: i }) => (r[n] = i, r), {});
|
417
417
|
}
|
418
|
-
function
|
418
|
+
function oa(e, t) {
|
419
419
|
return `metric${e[t]}`;
|
420
420
|
}
|
421
|
-
function
|
421
|
+
function ua({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
|
422
422
|
var n, i;
|
423
|
-
const { pathname: a, eventType: s = "other" } = e, o =
|
423
|
+
const { pathname: a, eventType: s = "other" } = e, o = _n(e, r), u = $n({
|
424
424
|
telemetryData: Object.assign({ eventType: s }, e),
|
425
425
|
dimensionLookup: t,
|
426
426
|
excludeKeys: [
|
@@ -432,8 +432,8 @@ function na({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
|
|
432
432
|
}), l = Object.assign(Object.assign({ name: s }, u), o);
|
433
433
|
return typeof document < "u" && document.referrer && (l.referrer = document.referrer), typeof window < "u" && !l.hostname && (l.hostname = (n = window.location) === null || n === void 0 ? void 0 : n.hostname), l.path = typeof window < "u" && window.location.pathname ? (i = window.location) === null || i === void 0 ? void 0 : i.pathname : a, l;
|
434
434
|
}
|
435
|
-
function
|
436
|
-
const a =
|
435
|
+
function ca({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n = {}, metricLookup: i = {} }) {
|
436
|
+
const a = _n(r, i), s = $n({
|
437
437
|
telemetryData: r,
|
438
438
|
dimensionLookup: n,
|
439
439
|
excludeKeys: [
|
@@ -453,106 +453,106 @@ function ia({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n
|
|
453
453
|
previousPageName: t.pageName
|
454
454
|
}, s), a);
|
455
455
|
}
|
456
|
-
function
|
456
|
+
function jr(e, t, r, n, i) {
|
457
457
|
for (t = t.split ? t.split(".") : t, n = 0; n < t.length; n++) e = e ? e[t[n]] : i;
|
458
458
|
return e === i ? r : e;
|
459
459
|
}
|
460
|
-
var
|
461
|
-
},
|
462
|
-
|
463
|
-
var
|
464
|
-
|
465
|
-
typeof Deno
|
466
|
-
|
467
|
-
function
|
460
|
+
var la = "function", fa = "string", ae = "undefined", da = "boolean", Wt = "object", pa = "array", ga = "number", ha = "symbol", ma = "null", va = function() {
|
461
|
+
}, Nr = "__", ya = "form", ba = "input", wa = "button", Sa = "select", rt = typeof process !== ae ? process : {};
|
462
|
+
rt.env && rt.env.NODE_ENV;
|
463
|
+
var Ke = typeof document !== ae;
|
464
|
+
rt.versions != null && rt.versions.node != null;
|
465
|
+
typeof Deno !== ae && Deno.core;
|
466
|
+
Ke && window.name === "nodejs" || typeof navigator !== ae && typeof navigator.userAgent !== ae && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
|
467
|
+
function Un(e, t) {
|
468
468
|
return t.charAt(0)[e]() + t.slice(1);
|
469
469
|
}
|
470
|
-
var
|
471
|
-
function
|
472
|
-
return
|
470
|
+
var Ea = Un.bind(null, "toUpperCase"), Aa = Un.bind(null, "toLowerCase");
|
471
|
+
function Oa(e) {
|
472
|
+
return Ln(e) ? Ea(ma) : typeof e === Wt ? Ta(e) : Object.prototype.toString.call(e).slice(8, -1);
|
473
473
|
}
|
474
|
-
function
|
474
|
+
function nt(e, t) {
|
475
475
|
t === void 0 && (t = !0);
|
476
|
-
var r =
|
477
|
-
return t ?
|
476
|
+
var r = Oa(e);
|
477
|
+
return t ? Aa(r) : r;
|
478
478
|
}
|
479
|
-
function
|
479
|
+
function qe(e, t) {
|
480
480
|
return typeof t === e;
|
481
481
|
}
|
482
|
-
var
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
function
|
482
|
+
var Vt = qe.bind(null, la), Gt = qe.bind(null, fa);
|
483
|
+
qe.bind(null, ae);
|
484
|
+
qe.bind(null, da);
|
485
|
+
qe.bind(null, ha);
|
486
|
+
function Ln(e) {
|
487
487
|
return e === null;
|
488
488
|
}
|
489
|
-
function
|
490
|
-
return
|
489
|
+
function Ia(e) {
|
490
|
+
return nt(e) === ga && !isNaN(e);
|
491
491
|
}
|
492
|
-
function
|
493
|
-
return
|
492
|
+
function Pa(e) {
|
493
|
+
return nt(e) === pa;
|
494
494
|
}
|
495
|
-
function
|
496
|
-
return
|
495
|
+
function Ta(e) {
|
496
|
+
return Vt(e.constructor) ? e.constructor.name : null;
|
497
497
|
}
|
498
|
-
function
|
499
|
-
return e instanceof Error ||
|
498
|
+
function ja(e) {
|
499
|
+
return e instanceof Error || Gt(e.message) && e.constructor && Ia(e.constructor.stackTraceLimit);
|
500
500
|
}
|
501
|
-
function
|
502
|
-
if (typeof t != "object" ||
|
501
|
+
function zn(e, t) {
|
502
|
+
if (typeof t != "object" || Ln(t)) return !1;
|
503
503
|
if (t instanceof e) return !0;
|
504
|
-
var r =
|
505
|
-
if (
|
506
|
-
if (
|
504
|
+
var r = nt(new e(""));
|
505
|
+
if (ja(t)) for (; t; ) {
|
506
|
+
if (nt(t) === r) return !0;
|
507
507
|
t = Object.getPrototypeOf(t);
|
508
508
|
}
|
509
509
|
return !1;
|
510
510
|
}
|
511
|
-
|
512
|
-
|
513
|
-
function
|
511
|
+
zn.bind(null, TypeError);
|
512
|
+
zn.bind(null, SyntaxError);
|
513
|
+
function ot(e, t) {
|
514
514
|
var r = e instanceof Element || e instanceof HTMLDocument;
|
515
|
-
return r && t ?
|
515
|
+
return r && t ? Na(e, t) : r;
|
516
516
|
}
|
517
|
-
function
|
517
|
+
function Na(e, t) {
|
518
518
|
return t === void 0 && (t = ""), e && e.nodeName === t.toUpperCase();
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function ut(e) {
|
521
521
|
var t = [].slice.call(arguments, 1);
|
522
522
|
return function() {
|
523
523
|
return e.apply(void 0, [].slice.call(arguments).concat(t));
|
524
524
|
};
|
525
525
|
}
|
526
|
-
ot
|
527
|
-
ot
|
528
|
-
ot
|
529
|
-
ot
|
530
|
-
function
|
531
|
-
return e ?
|
526
|
+
ut(ot, ya);
|
527
|
+
ut(ot, wa);
|
528
|
+
ut(ot, ba);
|
529
|
+
ut(ot, Sa);
|
530
|
+
function Ra(e) {
|
531
|
+
return e ? Pa(e) ? e : [e] : [];
|
532
532
|
}
|
533
|
-
function
|
533
|
+
function Rr(e) {
|
534
534
|
try {
|
535
535
|
return decodeURIComponent(e.replace(/\+/g, " "));
|
536
536
|
} catch {
|
537
537
|
return null;
|
538
538
|
}
|
539
539
|
}
|
540
|
-
function
|
541
|
-
if (
|
540
|
+
function xa() {
|
541
|
+
if (Ke) {
|
542
542
|
var e = navigator, t = e.languages;
|
543
543
|
return e.userLanguage || (t && t.length ? t[0] : e.language);
|
544
544
|
}
|
545
545
|
}
|
546
|
-
function
|
546
|
+
function ka() {
|
547
547
|
try {
|
548
548
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
549
549
|
} catch {
|
550
550
|
}
|
551
551
|
}
|
552
|
-
function
|
552
|
+
function Ca(e) {
|
553
553
|
return function(t) {
|
554
554
|
for (var r, n = /* @__PURE__ */ Object.create(null), i = /([^&=]+)=?([^&]*)/g; r = i.exec(t); ) {
|
555
|
-
var a =
|
555
|
+
var a = Rr(r[1]), s = Rr(r[2]);
|
556
556
|
if (a) if (a.substring(a.length - 2) === "[]") {
|
557
557
|
var o = n[a = a.substring(0, a.length - 2)] || (n[a] = []);
|
558
558
|
n[a] = Array.isArray(o) ? o : [], n[a].push(s);
|
@@ -560,16 +560,16 @@ function va(e) {
|
|
560
560
|
}
|
561
561
|
for (var u in n) {
|
562
562
|
var l = u.split("[");
|
563
|
-
l.length > 1 && (
|
563
|
+
l.length > 1 && (Ma(n, l.map(function(c) {
|
564
564
|
return c.replace(/[?[\]\\ ]/g, "");
|
565
565
|
}), n[u]), delete n[u]);
|
566
566
|
}
|
567
567
|
return n;
|
568
568
|
}(function(t) {
|
569
|
-
return
|
569
|
+
return Ke && window.location.search.substring(1);
|
570
570
|
}());
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function Ma(e, t, r) {
|
573
573
|
for (var n = t.length - 1, i = 0; i < n; ++i) {
|
574
574
|
var a = t[i];
|
575
575
|
if (a === "__proto__" || a === "constructor") break;
|
@@ -577,27 +577,27 @@ function ya(e, t, r) {
|
|
577
577
|
}
|
578
578
|
e[t[n]] = r;
|
579
579
|
}
|
580
|
-
function
|
580
|
+
function Oe() {
|
581
581
|
for (var e = "", t = 0, r = 4294967295 * Math.random() | 0; t++ < 36; ) {
|
582
582
|
var n = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t - 1], i = 15 & r;
|
583
583
|
e += n == "-" || n == "4" ? n : (n == "x" ? i : 3 & i | 8).toString(16), r = t % 8 == 0 ? 4294967295 * Math.random() | 0 : r >> 4;
|
584
584
|
}
|
585
585
|
return e;
|
586
586
|
}
|
587
|
-
var
|
588
|
-
function
|
589
|
-
return
|
587
|
+
var we = "global", ke = Nr + we + Nr, Ce = typeof self === Wt && self.self === self && self || typeof global === Wt && global[we] === global && global || void 0;
|
588
|
+
function pe(e) {
|
589
|
+
return Ce[ke][e];
|
590
590
|
}
|
591
|
-
function
|
592
|
-
return
|
591
|
+
function fe(e, t) {
|
592
|
+
return Ce[ke][e] = t;
|
593
593
|
}
|
594
|
-
function
|
595
|
-
delete
|
594
|
+
function Ie(e) {
|
595
|
+
delete Ce[ke][e];
|
596
596
|
}
|
597
|
-
function
|
597
|
+
function ge(e, t, r) {
|
598
598
|
var n;
|
599
599
|
try {
|
600
|
-
if (
|
600
|
+
if (ct(e)) {
|
601
601
|
var i = window[e];
|
602
602
|
n = i[t].bind(i);
|
603
603
|
}
|
@@ -605,67 +605,67 @@ function de(e, t, r) {
|
|
605
605
|
}
|
606
606
|
return n || r;
|
607
607
|
}
|
608
|
-
|
608
|
+
Ce[ke] || (Ce[ke] = {});
|
609
609
|
var Ye = {};
|
610
|
-
function
|
611
|
-
if (typeof Ye[e] !==
|
610
|
+
function ct(e) {
|
611
|
+
if (typeof Ye[e] !== ae) return Ye[e];
|
612
612
|
try {
|
613
613
|
var t = window[e];
|
614
|
-
t.setItem(
|
614
|
+
t.setItem(ae, ae), t.removeItem(ae);
|
615
615
|
} catch {
|
616
616
|
return Ye[e] = !1;
|
617
617
|
}
|
618
618
|
return Ye[e] = !0;
|
619
619
|
}
|
620
|
-
var
|
621
|
-
(
|
622
|
-
var
|
623
|
-
|
620
|
+
var xr, Ge = "__", Ht = typeof process < "u" ? process : {};
|
621
|
+
(xr = Ht.env) != null && xr.NODE_ENV;
|
622
|
+
var de = typeof window < "u";
|
623
|
+
Ht.versions != null && Ht.versions.node != null;
|
624
624
|
typeof Deno < "u" && Deno.core;
|
625
|
-
|
626
|
-
function
|
625
|
+
de && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
|
626
|
+
function lt(e, t) {
|
627
627
|
return typeof t === e;
|
628
628
|
}
|
629
|
-
var
|
630
|
-
|
631
|
-
var
|
632
|
-
function
|
629
|
+
var oe = lt.bind(null, "function"), et = lt.bind(null, "string");
|
630
|
+
lt.bind(null, "undefined");
|
631
|
+
var Da = lt.bind(null, "boolean");
|
632
|
+
function $a(e) {
|
633
633
|
return Object.prototype.toString.call(e) === "[object Array]";
|
634
634
|
}
|
635
|
-
function
|
635
|
+
function _a(e) {
|
636
636
|
return e && (typeof e == "object" || e !== null);
|
637
637
|
}
|
638
638
|
function ne(e) {
|
639
|
-
if (!
|
639
|
+
if (!_a(e)) return !1;
|
640
640
|
for (var t = e; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t);
|
641
641
|
return Object.getPrototypeOf(e) === t;
|
642
642
|
}
|
643
|
-
function
|
643
|
+
function Ft(e, t) {
|
644
644
|
(t == null || t > e.length) && (t = e.length);
|
645
645
|
for (var r = 0, n = new Array(t); r < t; r++)
|
646
646
|
n[r] = e[r];
|
647
647
|
return n;
|
648
648
|
}
|
649
|
-
function
|
650
|
-
if (Array.isArray(e)) return
|
649
|
+
function Ua(e) {
|
650
|
+
if (Array.isArray(e)) return Ft(e);
|
651
651
|
}
|
652
|
-
function
|
652
|
+
function La(e) {
|
653
653
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
654
654
|
}
|
655
|
-
function
|
655
|
+
function Wn(e, t) {
|
656
656
|
if (e) {
|
657
|
-
if (typeof e == "string") return
|
657
|
+
if (typeof e == "string") return Ft(e, t);
|
658
658
|
var r = Object.prototype.toString.call(e).slice(8, -1);
|
659
659
|
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
660
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return
|
660
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ft(e, t);
|
661
661
|
}
|
662
662
|
}
|
663
|
-
function
|
663
|
+
function za() {
|
664
664
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
665
665
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
666
666
|
}
|
667
|
-
function
|
668
|
-
return
|
667
|
+
function ze(e) {
|
668
|
+
return Ua(e) || La(e) || Wn(e) || za();
|
669
669
|
}
|
670
670
|
function Q(e) {
|
671
671
|
"@babel/helpers - typeof";
|
@@ -675,7 +675,7 @@ function Q(e) {
|
|
675
675
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
676
676
|
}, Q(e);
|
677
677
|
}
|
678
|
-
function
|
678
|
+
function kr(e, t, r, n, i, a, s) {
|
679
679
|
try {
|
680
680
|
var o = e[a](s), u = o.value;
|
681
681
|
} catch (l) {
|
@@ -684,22 +684,22 @@ function jr(e, t, r, n, i, a, s) {
|
|
684
684
|
}
|
685
685
|
o.done ? t(u) : Promise.resolve(u).then(n, i);
|
686
686
|
}
|
687
|
-
function
|
687
|
+
function ue(e) {
|
688
688
|
return function() {
|
689
689
|
var t = this, r = arguments;
|
690
690
|
return new Promise(function(n, i) {
|
691
691
|
var a = e.apply(t, r);
|
692
692
|
function s(u) {
|
693
|
-
|
693
|
+
kr(a, n, i, s, o, "next", u);
|
694
694
|
}
|
695
695
|
function o(u) {
|
696
|
-
|
696
|
+
kr(a, n, i, s, o, "throw", u);
|
697
697
|
}
|
698
698
|
s(void 0);
|
699
699
|
});
|
700
700
|
};
|
701
701
|
}
|
702
|
-
function
|
702
|
+
function me(e, t, r) {
|
703
703
|
return t in e ? Object.defineProperty(e, t, {
|
704
704
|
value: r,
|
705
705
|
enumerable: !0,
|
@@ -707,7 +707,7 @@ function ge(e, t, r) {
|
|
707
707
|
writable: !0
|
708
708
|
}) : e[t] = r, e;
|
709
709
|
}
|
710
|
-
function
|
710
|
+
function Cr(e, t) {
|
711
711
|
var r = Object.keys(e);
|
712
712
|
if (Object.getOwnPropertySymbols) {
|
713
713
|
var n = Object.getOwnPropertySymbols(e);
|
@@ -720,15 +720,15 @@ function Nr(e, t) {
|
|
720
720
|
function I(e) {
|
721
721
|
for (var t = 1; t < arguments.length; t++) {
|
722
722
|
var r = arguments[t] != null ? arguments[t] : {};
|
723
|
-
t % 2 ?
|
724
|
-
|
725
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
723
|
+
t % 2 ? Cr(Object(r), !0).forEach(function(n) {
|
724
|
+
me(e, n, r[n]);
|
725
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Cr(Object(r)).forEach(function(n) {
|
726
726
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
727
727
|
});
|
728
728
|
}
|
729
729
|
return e;
|
730
730
|
}
|
731
|
-
var
|
731
|
+
var Vn = { exports: {} };
|
732
732
|
(function(e) {
|
733
733
|
var t = function(r) {
|
734
734
|
var n = Object.prototype, i = n.hasOwnProperty, a, s = typeof Symbol == "function" ? Symbol : {}, o = s.iterator || "@@iterator", u = s.asyncIterator || "@@asyncIterator", l = s.toStringTag || "@@toStringTag";
|
@@ -748,7 +748,7 @@ var Un = { exports: {} };
|
|
748
748
|
};
|
749
749
|
}
|
750
750
|
function m(E, p, h, g) {
|
751
|
-
var w = p && p.prototype instanceof d ? p : d, T = Object.create(w.prototype), M = new
|
751
|
+
var w = p && p.prototype instanceof d ? p : d, T = Object.create(w.prototype), M = new _(g || []);
|
752
752
|
return T._invoke = L(E, h, M), T;
|
753
753
|
}
|
754
754
|
r.wrap = m;
|
@@ -776,8 +776,8 @@ var Un = { exports: {} };
|
|
776
776
|
c(j, o, function() {
|
777
777
|
return this;
|
778
778
|
});
|
779
|
-
var
|
780
|
-
|
779
|
+
var x = Object.getPrototypeOf, R = x && x(x(F([])));
|
780
|
+
R && R !== n && i.call(R, o) && (j = R);
|
781
781
|
var N = A.prototype = d.prototype = Object.create(j);
|
782
782
|
P.prototype = A, c(N, "constructor", A), c(A, "constructor", P), P.displayName = c(A, l, "GeneratorFunction");
|
783
783
|
function U(E) {
|
@@ -920,7 +920,7 @@ var Un = { exports: {} };
|
|
920
920
|
}), c(N, "toString", function() {
|
921
921
|
return "[object Generator]";
|
922
922
|
});
|
923
|
-
function
|
923
|
+
function H(E) {
|
924
924
|
var p = {
|
925
925
|
tryLoc: E[0]
|
926
926
|
};
|
@@ -930,10 +930,10 @@ var Un = { exports: {} };
|
|
930
930
|
var p = E.completion || {};
|
931
931
|
p.type = "normal", delete p.arg, E.completion = p;
|
932
932
|
}
|
933
|
-
function
|
933
|
+
function _(E) {
|
934
934
|
this.tryEntries = [{
|
935
935
|
tryLoc: "root"
|
936
|
-
}], E.forEach(
|
936
|
+
}], E.forEach(H, this), this.reset(!0);
|
937
937
|
}
|
938
938
|
r.keys = function(E) {
|
939
939
|
var p = [];
|
@@ -948,7 +948,7 @@ var Un = { exports: {} };
|
|
948
948
|
return g.done = !0, g;
|
949
949
|
};
|
950
950
|
};
|
951
|
-
function
|
951
|
+
function F(E) {
|
952
952
|
if (E) {
|
953
953
|
var p = E[o];
|
954
954
|
if (p)
|
@@ -969,15 +969,15 @@ var Un = { exports: {} };
|
|
969
969
|
next: G
|
970
970
|
};
|
971
971
|
}
|
972
|
-
r.values =
|
972
|
+
r.values = F;
|
973
973
|
function G() {
|
974
974
|
return {
|
975
975
|
value: a,
|
976
976
|
done: !0
|
977
977
|
};
|
978
978
|
}
|
979
|
-
return
|
980
|
-
constructor:
|
979
|
+
return _.prototype = {
|
980
|
+
constructor: _,
|
981
981
|
reset: function(E) {
|
982
982
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = a, this.done = !1, this.delegate = null, this.method = "next", this.arg = a, this.tryEntries.forEach(C), !E)
|
983
983
|
for (var p in this)
|
@@ -1059,7 +1059,7 @@ var Un = { exports: {} };
|
|
1059
1059
|
},
|
1060
1060
|
delegateYield: function(E, p, h) {
|
1061
1061
|
return this.delegate = {
|
1062
|
-
iterator:
|
1062
|
+
iterator: F(E),
|
1063
1063
|
resultName: p,
|
1064
1064
|
nextLoc: h
|
1065
1065
|
}, this.method === "next" && (this.arg = a), y;
|
@@ -1077,18 +1077,18 @@ var Un = { exports: {} };
|
|
1077
1077
|
} catch {
|
1078
1078
|
typeof globalThis == "object" ? globalThis.regeneratorRuntime = t : Function("r", "regeneratorRuntime = r")(t);
|
1079
1079
|
}
|
1080
|
-
})(
|
1081
|
-
var X =
|
1082
|
-
return (typeof Symbol > "u" ? "undefined" : Q(Symbol)) ===
|
1083
|
-
}(), Je = " != " +
|
1084
|
-
function
|
1085
|
-
if (Q(t) ===
|
1086
|
-
if (Q(r) !==
|
1080
|
+
})(Vn);
|
1081
|
+
var X = Vn.exports, ve = "function", ce = "undefined", We = "reducer", Gn = "@@redux/", Kt = Gn + "INIT", Wa = Gn + Math.random().toString(36), Mr = /* @__PURE__ */ function() {
|
1082
|
+
return (typeof Symbol > "u" ? "undefined" : Q(Symbol)) === ve && Symbol.observable || "@@observable";
|
1083
|
+
}(), Je = " != " + ve;
|
1084
|
+
function Hn(e, t, r) {
|
1085
|
+
if (Q(t) === ve && Q(r) === ce && (r = t, t = void 0), Q(r) !== ce) {
|
1086
|
+
if (Q(r) !== ve)
|
1087
1087
|
throw new Error("enhancer" + Je);
|
1088
|
-
return r(
|
1088
|
+
return r(Hn)(e, t);
|
1089
1089
|
}
|
1090
|
-
if (Q(e) !==
|
1091
|
-
throw new Error(
|
1090
|
+
if (Q(e) !== ve)
|
1091
|
+
throw new Error(We + Je);
|
1092
1092
|
var n = e, i = t, a = [], s = a, o = !1;
|
1093
1093
|
function u() {
|
1094
1094
|
s === a && (s = a.slice());
|
@@ -1097,7 +1097,7 @@ function zn(e, t, r) {
|
|
1097
1097
|
return i;
|
1098
1098
|
}
|
1099
1099
|
function c(v) {
|
1100
|
-
if (Q(v) !==
|
1100
|
+
if (Q(v) !== ve)
|
1101
1101
|
throw new Error("Listener" + Je);
|
1102
1102
|
var O = !0;
|
1103
1103
|
return u(), s.push(v), function() {
|
@@ -1111,10 +1111,10 @@ function zn(e, t, r) {
|
|
1111
1111
|
function m(v) {
|
1112
1112
|
if (!ne(v))
|
1113
1113
|
throw new Error("Act != obj");
|
1114
|
-
if (Q(v.type) ===
|
1115
|
-
throw new Error("ActType " +
|
1114
|
+
if (Q(v.type) === ce)
|
1115
|
+
throw new Error("ActType " + ce);
|
1116
1116
|
if (o)
|
1117
|
-
throw new Error("Dispatch in " +
|
1117
|
+
throw new Error("Dispatch in " + We);
|
1118
1118
|
try {
|
1119
1119
|
o = !0, i = n(i, v);
|
1120
1120
|
} finally {
|
@@ -1127,15 +1127,15 @@ function zn(e, t, r) {
|
|
1127
1127
|
return v;
|
1128
1128
|
}
|
1129
1129
|
function f(v) {
|
1130
|
-
if (Q(v) !==
|
1131
|
-
throw new Error("next " +
|
1130
|
+
if (Q(v) !== ve)
|
1131
|
+
throw new Error("next " + We + Je);
|
1132
1132
|
n = v, m({
|
1133
|
-
type:
|
1133
|
+
type: Kt
|
1134
1134
|
});
|
1135
1135
|
}
|
1136
1136
|
function S() {
|
1137
1137
|
var v = c;
|
1138
|
-
return
|
1138
|
+
return me({
|
1139
1139
|
/*
|
1140
1140
|
* The minimal observable subscription method.
|
1141
1141
|
* @param {Object} observer Any object that can be used as an observer.
|
@@ -1156,42 +1156,42 @@ function zn(e, t, r) {
|
|
1156
1156
|
unsubscribe: d
|
1157
1157
|
};
|
1158
1158
|
}
|
1159
|
-
},
|
1159
|
+
}, Mr, function() {
|
1160
1160
|
return this;
|
1161
1161
|
});
|
1162
1162
|
}
|
1163
1163
|
return m({
|
1164
|
-
type:
|
1165
|
-
}),
|
1164
|
+
type: Kt
|
1165
|
+
}), me({
|
1166
1166
|
dispatch: m,
|
1167
1167
|
subscribe: c,
|
1168
1168
|
getState: l,
|
1169
1169
|
replaceReducer: f
|
1170
|
-
},
|
1170
|
+
}, Mr, S);
|
1171
1171
|
}
|
1172
|
-
function
|
1172
|
+
function Va(e, t) {
|
1173
1173
|
var r = t && t.type, n = r && r.toString() || "?";
|
1174
|
-
return "action " + n +
|
1174
|
+
return "action " + n + We + " " + e + " returns " + ce;
|
1175
1175
|
}
|
1176
|
-
function
|
1176
|
+
function Ga(e) {
|
1177
1177
|
Object.keys(e).forEach(function(t) {
|
1178
1178
|
var r = e[t], n = r(void 0, {
|
1179
|
-
type:
|
1179
|
+
type: Kt
|
1180
1180
|
});
|
1181
|
-
if (Q(n) ===
|
1182
|
-
type:
|
1183
|
-
})) ===
|
1184
|
-
throw new Error(
|
1181
|
+
if (Q(n) === ce || Q(r(void 0, {
|
1182
|
+
type: Wa
|
1183
|
+
})) === ce)
|
1184
|
+
throw new Error(We + " " + t + " " + ce);
|
1185
1185
|
});
|
1186
1186
|
}
|
1187
|
-
function
|
1187
|
+
function Ha(e) {
|
1188
1188
|
for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) {
|
1189
1189
|
var i = t[n];
|
1190
|
-
Q(e[i]) ===
|
1190
|
+
Q(e[i]) === ve && (r[i] = e[i]);
|
1191
1191
|
}
|
1192
1192
|
var a = Object.keys(r), s;
|
1193
1193
|
try {
|
1194
|
-
|
1194
|
+
Ga(r);
|
1195
1195
|
} catch (o) {
|
1196
1196
|
s = o;
|
1197
1197
|
}
|
@@ -1201,8 +1201,8 @@ function ja(e) {
|
|
1201
1201
|
throw s;
|
1202
1202
|
for (var c = !1, m = {}, f = 0; f < a.length; f++) {
|
1203
1203
|
var S = a[f], v = r[S], O = u[S], b = v(O, l);
|
1204
|
-
if (Q(b) ===
|
1205
|
-
var y =
|
1204
|
+
if (Q(b) === ce) {
|
1205
|
+
var y = Va(S, l);
|
1206
1206
|
throw new Error(y);
|
1207
1207
|
}
|
1208
1208
|
m[S] = b, c = c || b !== O;
|
@@ -1210,7 +1210,7 @@ function ja(e) {
|
|
1210
1210
|
return c ? m : u;
|
1211
1211
|
};
|
1212
1212
|
}
|
1213
|
-
function
|
1213
|
+
function Me() {
|
1214
1214
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
1215
1215
|
t[r] = arguments[r];
|
1216
1216
|
return t.length === 0 ? function(n) {
|
@@ -1221,7 +1221,7 @@ function xe() {
|
|
1221
1221
|
};
|
1222
1222
|
});
|
1223
1223
|
}
|
1224
|
-
function
|
1224
|
+
function Fa() {
|
1225
1225
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
1226
1226
|
t[r] = arguments[r];
|
1227
1227
|
return function(n) {
|
@@ -1234,13 +1234,13 @@ function Na() {
|
|
1234
1234
|
};
|
1235
1235
|
return l = t.map(function(m) {
|
1236
1236
|
return m(c);
|
1237
|
-
}), u =
|
1237
|
+
}), u = Me.apply(void 0, ze(l))(o.dispatch), I(I({}, o), {}, {
|
1238
1238
|
dispatch: u
|
1239
1239
|
});
|
1240
1240
|
};
|
1241
1241
|
};
|
1242
1242
|
}
|
1243
|
-
var
|
1243
|
+
var ye = Ge + "anon_id", Se = Ge + "user_id", Ne = Ge + "user_traits", qt = "analytics", he = "userId", Te = "anonymousId", Ka = "https://lytics.dev/errors/", it = [
|
1244
1244
|
/**
|
1245
1245
|
* `bootstrap` - Fires when analytics library starts up.
|
1246
1246
|
* This is the first event fired. '.on/once' listeners are not allowed on bootstrap
|
@@ -1423,43 +1423,43 @@ var me = Ve + "anon_id", ye = Ve + "user_id", Ie = Ve + "user_traits", Gt = "ana
|
|
1423
1423
|
* `removeItemAborted` - Fires when removeItem storage is cancelled by a plugin.
|
1424
1424
|
*/
|
1425
1425
|
"removeItemAborted"
|
1426
|
-
],
|
1426
|
+
], Bt = ["name", "EVENTS", "config", "loaded"], qa = {
|
1427
1427
|
registerPluginType: function(t) {
|
1428
1428
|
return "registerPlugin:".concat(t);
|
1429
1429
|
},
|
1430
1430
|
pluginReadyType: function(t) {
|
1431
1431
|
return "ready:".concat(t);
|
1432
1432
|
}
|
1433
|
-
},
|
1433
|
+
}, Ba = it.reduce(function(e, t) {
|
1434
1434
|
return e[t] = t, e;
|
1435
|
-
},
|
1436
|
-
function
|
1437
|
-
return
|
1435
|
+
}, qa), $ = Ba;
|
1436
|
+
function Ya(e) {
|
1437
|
+
return it.includes(e);
|
1438
1438
|
}
|
1439
|
-
var
|
1440
|
-
function
|
1439
|
+
var Dr = /^utm_/, $r = /^an_prop_/, _r = /^an_trait_/;
|
1440
|
+
function Ja(e) {
|
1441
1441
|
var t = e.storage.setItem;
|
1442
1442
|
return function(r) {
|
1443
1443
|
return function(n) {
|
1444
1444
|
return function(i) {
|
1445
|
-
if (i.type ===
|
1445
|
+
if (i.type === $.bootstrap) {
|
1446
1446
|
var a = i.params, s = i.user, o = i.persistedUser, u = i.initialUser, l = o.userId === s.userId;
|
1447
|
-
o.anonymousId !== s.anonymousId && t(
|
1447
|
+
o.anonymousId !== s.anonymousId && t(ye, s.anonymousId), l || t(Se, s.userId), u.traits && t(Ne, I(I({}, l && o.traits ? o.traits : {}), u.traits));
|
1448
1448
|
var c = Object.keys(i.params);
|
1449
1449
|
if (c.length) {
|
1450
1450
|
var m = a.an_uid, f = a.an_event, S = c.reduce(function(v, O) {
|
1451
|
-
if (O.match(
|
1452
|
-
var b = O.replace(
|
1451
|
+
if (O.match(Dr) || O.match(/^(d|g)clid/)) {
|
1452
|
+
var b = O.replace(Dr, ""), y = b === "campaign" ? "name" : b;
|
1453
1453
|
v.campaign[y] = a[O];
|
1454
1454
|
}
|
1455
|
-
return O.match(
|
1455
|
+
return O.match($r) && (v.props[O.replace($r, "")] = a[O]), O.match(_r) && (v.traits[O.replace(_r, "")] = a[O]), v;
|
1456
1456
|
}, {
|
1457
1457
|
campaign: {},
|
1458
1458
|
props: {},
|
1459
1459
|
traits: {}
|
1460
1460
|
});
|
1461
1461
|
r.dispatch(I(I({
|
1462
|
-
type:
|
1462
|
+
type: $.params,
|
1463
1463
|
raw: a
|
1464
1464
|
}, S), m ? {
|
1465
1465
|
userId: m
|
@@ -1468,7 +1468,7 @@ function Ma(e) {
|
|
1468
1468
|
}, 0), f && setTimeout(function() {
|
1469
1469
|
return e.track(f, S.props);
|
1470
1470
|
}, 0), Object.keys(S.campaign).length && r.dispatch({
|
1471
|
-
type:
|
1471
|
+
type: $.campaign,
|
1472
1472
|
campaign: S.campaign
|
1473
1473
|
});
|
1474
1474
|
}
|
@@ -1478,27 +1478,27 @@ function Ma(e) {
|
|
1478
1478
|
};
|
1479
1479
|
};
|
1480
1480
|
}
|
1481
|
-
function
|
1481
|
+
function Xa(e) {
|
1482
1482
|
return function() {
|
1483
1483
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1484
|
-
if (n.type ===
|
1485
|
-
if (n.key ===
|
1484
|
+
if (n.type === $.setItemEnd) {
|
1485
|
+
if (n.key === ye)
|
1486
1486
|
return I(I({}, r), {
|
1487
1487
|
anonymousId: n.value
|
1488
1488
|
});
|
1489
|
-
if (n.key ===
|
1489
|
+
if (n.key === Se)
|
1490
1490
|
return I(I({}, r), {
|
1491
1491
|
userId: n.value
|
1492
1492
|
});
|
1493
1493
|
}
|
1494
1494
|
switch (n.type) {
|
1495
|
-
case
|
1495
|
+
case $.identify:
|
1496
1496
|
return Object.assign({}, r, {
|
1497
1497
|
userId: n.userId,
|
1498
1498
|
traits: I(I({}, r.traits), n.traits)
|
1499
1499
|
});
|
1500
|
-
case
|
1501
|
-
return [
|
1500
|
+
case $.reset:
|
1501
|
+
return [Se, ye, Ne].forEach(function(i) {
|
1502
1502
|
e.removeItem(i);
|
1503
1503
|
}), Object.assign({}, r, {
|
1504
1504
|
userId: null,
|
@@ -1511,42 +1511,42 @@ function Da(e) {
|
|
1511
1511
|
}
|
1512
1512
|
};
|
1513
1513
|
}
|
1514
|
-
function
|
1514
|
+
function Fn(e) {
|
1515
1515
|
return {
|
1516
|
-
userId: e.getItem(
|
1517
|
-
anonymousId: e.getItem(
|
1518
|
-
traits: e.getItem(
|
1516
|
+
userId: e.getItem(Se),
|
1517
|
+
anonymousId: e.getItem(ye),
|
1518
|
+
traits: e.getItem(Ne)
|
1519
1519
|
};
|
1520
1520
|
}
|
1521
|
-
var
|
1522
|
-
return
|
1521
|
+
var pr = function(t) {
|
1522
|
+
return Ge + "TEMP" + Ge + t;
|
1523
1523
|
};
|
1524
|
-
function
|
1524
|
+
function Qa(e) {
|
1525
1525
|
return function(r, n, i) {
|
1526
1526
|
var a = n.getState("user")[r];
|
1527
1527
|
if (a)
|
1528
1528
|
return a;
|
1529
1529
|
if (i && ne(i) && i[r])
|
1530
1530
|
return i[r];
|
1531
|
-
var s =
|
1532
|
-
return s ||
|
1531
|
+
var s = Fn(e)[r];
|
1532
|
+
return s || pe(pr(r)) || null;
|
1533
1533
|
};
|
1534
1534
|
}
|
1535
|
-
function
|
1535
|
+
function Za(e) {
|
1536
1536
|
var t = e.storage, r = t.setItem, n = t.removeItem, i = t.getItem;
|
1537
1537
|
return function(a) {
|
1538
1538
|
return function(s) {
|
1539
1539
|
return function(o) {
|
1540
1540
|
var u = o.userId, l = o.traits, c = o.options;
|
1541
|
-
if (o.type ===
|
1541
|
+
if (o.type === $.reset && ([Se, Ne, ye].forEach(function(S) {
|
1542
1542
|
n(S);
|
1543
|
-
}), [
|
1544
|
-
|
1545
|
-
})), o.type ===
|
1546
|
-
i(
|
1547
|
-
var m = i(
|
1543
|
+
}), [he, Te, "traits"].forEach(function(S) {
|
1544
|
+
Ie(pr(S));
|
1545
|
+
})), o.type === $.identify) {
|
1546
|
+
i(ye) || r(ye, Oe());
|
1547
|
+
var m = i(Se), f = i(Ne) || {};
|
1548
1548
|
m && m !== u && a.dispatch({
|
1549
|
-
type:
|
1549
|
+
type: $.userIdChanged,
|
1550
1550
|
old: {
|
1551
1551
|
userId: m,
|
1552
1552
|
traits: f
|
@@ -1556,32 +1556,32 @@ function $a(e) {
|
|
1556
1556
|
traits: l
|
1557
1557
|
},
|
1558
1558
|
options: c
|
1559
|
-
}), u && r(
|
1559
|
+
}), u && r(Se, u), l && r(Ne, I(I({}, f), l));
|
1560
1560
|
}
|
1561
1561
|
return s(o);
|
1562
1562
|
};
|
1563
1563
|
};
|
1564
1564
|
};
|
1565
1565
|
}
|
1566
|
-
var
|
1567
|
-
function
|
1568
|
-
|
1566
|
+
var Ue = {};
|
1567
|
+
function Kn(e, t) {
|
1568
|
+
Ue[e] && oe(Ue[e]) && (Ue[e](t), delete Ue[e]);
|
1569
1569
|
}
|
1570
|
-
function
|
1570
|
+
function qn(e, t, r) {
|
1571
1571
|
return new Promise(function(n, i) {
|
1572
1572
|
return t() ? n(e) : r < 1 ? i(I(I({}, e), {}, {
|
1573
1573
|
queue: !0
|
1574
|
-
})) :
|
1575
|
-
return
|
1574
|
+
})) : es(10).then(function(a) {
|
1575
|
+
return qn(e, t, r - 10).then(n, i);
|
1576
1576
|
});
|
1577
1577
|
});
|
1578
1578
|
}
|
1579
|
-
function
|
1579
|
+
function es(e) {
|
1580
1580
|
return new Promise(function(t) {
|
1581
1581
|
return setTimeout(t, e);
|
1582
1582
|
});
|
1583
1583
|
}
|
1584
|
-
function
|
1584
|
+
function Bn(e, t, r) {
|
1585
1585
|
var n = t(), i = e.getState(), a = i.plugins, s = i.context, o = i.queue, u = i.user, l = !s.offline;
|
1586
1586
|
if (l && o && o.actions && o.actions.length) {
|
1587
1587
|
var c = o.actions.reduce(function(f, S, v) {
|
@@ -1596,8 +1596,8 @@ function Fn(e, t, r) {
|
|
1596
1596
|
if (c.processIndex && c.processIndex.length) {
|
1597
1597
|
c.processIndex.forEach(function(f) {
|
1598
1598
|
var S = o.actions[f], v = S.plugin, O = S.payload.type, b = n[v][O];
|
1599
|
-
if (b &&
|
1600
|
-
var y =
|
1599
|
+
if (b && oe(b)) {
|
1600
|
+
var y = rs(S.payload, u);
|
1601
1601
|
b({
|
1602
1602
|
payload: y,
|
1603
1603
|
config: a[v].config,
|
@@ -1621,21 +1621,21 @@ function Fn(e, t, r) {
|
|
1621
1621
|
}
|
1622
1622
|
}
|
1623
1623
|
}
|
1624
|
-
function
|
1624
|
+
function ts(e, t, r) {
|
1625
1625
|
return setInterval(function() {
|
1626
|
-
return
|
1626
|
+
return Bn(e, t, r);
|
1627
1627
|
}, 3e3);
|
1628
1628
|
}
|
1629
|
-
function
|
1629
|
+
function rs() {
|
1630
1630
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1631
|
-
return [
|
1631
|
+
return [he, Te].reduce(function(r, n) {
|
1632
1632
|
return e.hasOwnProperty(n) && t[n] && t[n] !== e[n] && (r[n] = t[n]), r;
|
1633
1633
|
}, e);
|
1634
1634
|
}
|
1635
|
-
function
|
1635
|
+
function ns(e) {
|
1636
1636
|
if (Array.isArray(e)) return e;
|
1637
1637
|
}
|
1638
|
-
function
|
1638
|
+
function is(e, t) {
|
1639
1639
|
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
1640
1640
|
if (r != null) {
|
1641
1641
|
var n = [], i = !0, a = !1, s, o;
|
@@ -1654,47 +1654,47 @@ function Va(e, t) {
|
|
1654
1654
|
return n;
|
1655
1655
|
}
|
1656
1656
|
}
|
1657
|
-
function
|
1657
|
+
function as() {
|
1658
1658
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
1659
1659
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1660
1660
|
}
|
1661
|
-
function
|
1662
|
-
return
|
1661
|
+
function ss(e, t) {
|
1662
|
+
return ns(e) || is(e, t) || Wn(e, t) || as();
|
1663
1663
|
}
|
1664
|
-
function
|
1664
|
+
function os(e) {
|
1665
1665
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
1666
1666
|
return Object.keys(e).filter(function(n) {
|
1667
1667
|
var i = r.plugins || {};
|
1668
|
-
return
|
1668
|
+
return Da(i[n]) ? i[n] : !(i.all === !1 || t[n] && t[n].enabled === !1);
|
1669
1669
|
}).map(function(n) {
|
1670
1670
|
return e[n];
|
1671
1671
|
});
|
1672
1672
|
}
|
1673
|
-
var
|
1674
|
-
function
|
1675
|
-
return
|
1673
|
+
var De = /Start$/, Ur = /^bootstrap/, Lr = /^ready/;
|
1674
|
+
function us(e, t, r, n, i) {
|
1675
|
+
return Yt.apply(this, arguments);
|
1676
1676
|
}
|
1677
|
-
function
|
1678
|
-
return
|
1677
|
+
function Yt() {
|
1678
|
+
return Yt = ue(/* @__PURE__ */ X.mark(function e(t, r, n, i, a) {
|
1679
1679
|
var s, o, u, l, c, m, f, S, v, O, b;
|
1680
1680
|
return X.wrap(function(d) {
|
1681
1681
|
for (; ; )
|
1682
1682
|
switch (d.prev = d.next) {
|
1683
1683
|
case 0:
|
1684
|
-
if (s =
|
1684
|
+
if (s = oe(r) ? r() : r, o = t.type, u = o.replace(De, ""), !(t._ && t._.called)) {
|
1685
1685
|
d.next = 5;
|
1686
1686
|
break;
|
1687
1687
|
}
|
1688
1688
|
return d.abrupt("return", t);
|
1689
1689
|
case 5:
|
1690
|
-
return l = n.getState(), c =
|
1690
|
+
return l = n.getState(), c = os(s, l.plugins, t.options), o === $.initializeStart && t.fromEnable && (c = Object.keys(l.plugins).filter(function(P) {
|
1691
1691
|
var A = l.plugins[P];
|
1692
1692
|
return t.plugins.includes(P) && !A.initialized;
|
1693
1693
|
}).map(function(P) {
|
1694
1694
|
return s[P];
|
1695
1695
|
})), m = c.map(function(P) {
|
1696
1696
|
return P.name;
|
1697
|
-
}), f =
|
1697
|
+
}), f = ls(o, c), d.next = 12, bt({
|
1698
1698
|
action: t,
|
1699
1699
|
data: {
|
1700
1700
|
exact: f.before,
|
@@ -1708,7 +1708,7 @@ function Ht() {
|
|
1708
1708
|
EVENTS: a
|
1709
1709
|
});
|
1710
1710
|
case 12:
|
1711
|
-
if (S = d.sent, !
|
1711
|
+
if (S = d.sent, !Yn(S, m.length)) {
|
1712
1712
|
d.next = 15;
|
1713
1713
|
break;
|
1714
1714
|
}
|
@@ -1721,7 +1721,7 @@ function Ht() {
|
|
1721
1721
|
v = S, d.next = 22;
|
1722
1722
|
break;
|
1723
1723
|
case 19:
|
1724
|
-
return d.next = 21,
|
1724
|
+
return d.next = 21, bt({
|
1725
1725
|
action: I(I({}, S), {}, {
|
1726
1726
|
type: u
|
1727
1727
|
}),
|
@@ -1739,11 +1739,11 @@ function Ht() {
|
|
1739
1739
|
case 21:
|
1740
1740
|
v = d.sent;
|
1741
1741
|
case 22:
|
1742
|
-
if (!o.match(
|
1742
|
+
if (!o.match(De)) {
|
1743
1743
|
d.next = 28;
|
1744
1744
|
break;
|
1745
1745
|
}
|
1746
|
-
return O = "".concat(u, "End"), d.next = 26,
|
1746
|
+
return O = "".concat(u, "End"), d.next = 26, bt({
|
1747
1747
|
action: I(I({}, v), {}, {
|
1748
1748
|
type: O
|
1749
1749
|
}),
|
@@ -1759,7 +1759,7 @@ function Ht() {
|
|
1759
1759
|
EVENTS: a
|
1760
1760
|
});
|
1761
1761
|
case 26:
|
1762
|
-
b = d.sent, b.meta && b.meta.hasCallback &&
|
1762
|
+
b = d.sent, b.meta && b.meta.hasCallback && Kn(b.meta.rid, {
|
1763
1763
|
payload: b
|
1764
1764
|
});
|
1765
1765
|
case 28:
|
@@ -1769,70 +1769,70 @@ function Ht() {
|
|
1769
1769
|
return d.stop();
|
1770
1770
|
}
|
1771
1771
|
}, e);
|
1772
|
-
})),
|
1772
|
+
})), Yt.apply(this, arguments);
|
1773
1773
|
}
|
1774
|
-
function
|
1775
|
-
return
|
1774
|
+
function bt(e) {
|
1775
|
+
return Jt.apply(this, arguments);
|
1776
1776
|
}
|
1777
|
-
function
|
1778
|
-
return
|
1777
|
+
function Jt() {
|
1778
|
+
return Jt = ue(/* @__PURE__ */ X.mark(function e(t) {
|
1779
1779
|
var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P;
|
1780
1780
|
return X.wrap(function(j) {
|
1781
1781
|
for (; ; )
|
1782
1782
|
switch (j.prev = j.next) {
|
1783
1783
|
case 0:
|
1784
|
-
return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, u = t.store, l = t.EVENTS, c = a.plugins, m = a.context, f = n.type, S = f.match(
|
1785
|
-
return
|
1786
|
-
}), S && (v = o.during.map(function(
|
1787
|
-
return
|
1788
|
-
})), O =
|
1789
|
-
var N =
|
1790
|
-
return !U.match(/^initialize/) && !U.match(/^reset/) && (D = !c[N].loaded), m.offline && U.match(/^(page|track|identify)/) && (D = !0),
|
1784
|
+
return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, u = t.store, l = t.EVENTS, c = a.plugins, m = a.context, f = n.type, S = f.match(De), v = r.exact.map(function(x) {
|
1785
|
+
return x.pluginName;
|
1786
|
+
}), S && (v = o.during.map(function(x) {
|
1787
|
+
return x.pluginName;
|
1788
|
+
})), O = fs(i, v), b = r.exact.reduce(function(x, R) {
|
1789
|
+
var N = R.pluginName, U = R.methodName, D = !1;
|
1790
|
+
return !U.match(/^initialize/) && !U.match(/^reset/) && (D = !c[N].loaded), m.offline && U.match(/^(page|track|identify)/) && (D = !0), x["".concat(N)] = D, x;
|
1791
1791
|
}, {}), j.next = 10, r.exact.reduce(/* @__PURE__ */ function() {
|
1792
|
-
var
|
1793
|
-
var L, z,
|
1794
|
-
return X.wrap(function(
|
1792
|
+
var x = ue(/* @__PURE__ */ X.mark(function R(N, U, D) {
|
1793
|
+
var L, z, H;
|
1794
|
+
return X.wrap(function(_) {
|
1795
1795
|
for (; ; )
|
1796
|
-
switch (
|
1796
|
+
switch (_.prev = _.next) {
|
1797
1797
|
case 0:
|
1798
|
-
return L = U.pluginName,
|
1798
|
+
return L = U.pluginName, _.next = 3, N;
|
1799
1799
|
case 3:
|
1800
|
-
if (z =
|
1801
|
-
|
1800
|
+
if (z = _.sent, !(r.namespaced && r.namespaced[L])) {
|
1801
|
+
_.next = 11;
|
1802
1802
|
break;
|
1803
1803
|
}
|
1804
|
-
return
|
1805
|
-
var
|
1804
|
+
return _.next = 7, r.namespaced[L].reduce(/* @__PURE__ */ function() {
|
1805
|
+
var F = ue(/* @__PURE__ */ X.mark(function G(E, p, h) {
|
1806
1806
|
var g, w, T, M;
|
1807
1807
|
return X.wrap(function(W) {
|
1808
1808
|
for (; ; )
|
1809
1809
|
switch (W.prev = W.next) {
|
1810
1810
|
case 0:
|
1811
1811
|
return w = function(B, K, q) {
|
1812
|
-
return function(Y,
|
1813
|
-
var
|
1812
|
+
return function(Y, Be) {
|
1813
|
+
var Pe = q || K;
|
1814
1814
|
return I(I({}, B), {}, {
|
1815
1815
|
abort: {
|
1816
1816
|
reason: Y,
|
1817
|
-
plugins:
|
1817
|
+
plugins: Be || [K],
|
1818
1818
|
caller: f,
|
1819
|
-
from:
|
1819
|
+
from: Pe
|
1820
1820
|
}
|
1821
1821
|
});
|
1822
1822
|
};
|
1823
1823
|
}, W.next = 3, E;
|
1824
1824
|
case 3:
|
1825
|
-
if (g = W.sent, !(!p.method || !
|
1825
|
+
if (g = W.sent, !(!p.method || !oe(p.method))) {
|
1826
1826
|
W.next = 6;
|
1827
1827
|
break;
|
1828
1828
|
}
|
1829
1829
|
return W.abrupt("return", g);
|
1830
1830
|
case 6:
|
1831
|
-
return
|
1831
|
+
return gs(p.methodName, p.pluginName), W.next = 9, p.method({
|
1832
1832
|
payload: g,
|
1833
1833
|
instance: i,
|
1834
1834
|
abort: w(g, L, p.pluginName),
|
1835
|
-
config:
|
1835
|
+
config: zr(p.pluginName, c, s),
|
1836
1836
|
plugins: c
|
1837
1837
|
});
|
1838
1838
|
case 9:
|
@@ -1844,53 +1844,53 @@ function Kt() {
|
|
1844
1844
|
}, G);
|
1845
1845
|
}));
|
1846
1846
|
return function(G, E, p) {
|
1847
|
-
return
|
1847
|
+
return F.apply(this, arguments);
|
1848
1848
|
};
|
1849
1849
|
}(), Promise.resolve(n));
|
1850
1850
|
case 7:
|
1851
|
-
|
1851
|
+
H = _.sent, z[L] = H, _.next = 12;
|
1852
1852
|
break;
|
1853
1853
|
case 11:
|
1854
1854
|
z[L] = n;
|
1855
1855
|
case 12:
|
1856
|
-
return
|
1856
|
+
return _.abrupt("return", Promise.resolve(z));
|
1857
1857
|
case 13:
|
1858
1858
|
case "end":
|
1859
|
-
return
|
1859
|
+
return _.stop();
|
1860
1860
|
}
|
1861
|
-
},
|
1861
|
+
}, R);
|
1862
1862
|
}));
|
1863
|
-
return function(
|
1864
|
-
return
|
1863
|
+
return function(R, N, U) {
|
1864
|
+
return x.apply(this, arguments);
|
1865
1865
|
};
|
1866
1866
|
}(), Promise.resolve({}));
|
1867
1867
|
case 10:
|
1868
1868
|
return y = j.sent, j.next = 13, r.exact.reduce(/* @__PURE__ */ function() {
|
1869
|
-
var
|
1870
|
-
var L, z,
|
1869
|
+
var x = ue(/* @__PURE__ */ X.mark(function R(N, U, D) {
|
1870
|
+
var L, z, H, C, _, F, G, E, p, h, g, w, T;
|
1871
1871
|
return X.wrap(function(k) {
|
1872
1872
|
for (; ; )
|
1873
1873
|
switch (k.prev = k.next) {
|
1874
1874
|
case 0:
|
1875
|
-
return L = r.exact.length === D + 1, z = U.pluginName,
|
1875
|
+
return L = r.exact.length === D + 1, z = U.pluginName, H = s[z], k.next = 5, N;
|
1876
1876
|
case 5:
|
1877
|
-
if (C = k.sent,
|
1877
|
+
if (C = k.sent, _ = y[z] ? y[z] : {}, S && (_ = C), !St(_, z)) {
|
1878
1878
|
k.next = 11;
|
1879
1879
|
break;
|
1880
1880
|
}
|
1881
|
-
return
|
1882
|
-
data:
|
1881
|
+
return wt({
|
1882
|
+
data: _,
|
1883
1883
|
method: f,
|
1884
1884
|
instance: i,
|
1885
1885
|
pluginName: z,
|
1886
1886
|
store: u
|
1887
1887
|
}), k.abrupt("return", Promise.resolve(C));
|
1888
1888
|
case 11:
|
1889
|
-
if (!
|
1889
|
+
if (!St(C, z)) {
|
1890
1890
|
k.next = 14;
|
1891
1891
|
break;
|
1892
1892
|
}
|
1893
|
-
return L &&
|
1893
|
+
return L && wt({
|
1894
1894
|
data: C,
|
1895
1895
|
method: f,
|
1896
1896
|
instance: i,
|
@@ -1905,7 +1905,7 @@ function Kt() {
|
|
1905
1905
|
return u.dispatch({
|
1906
1906
|
type: "queue",
|
1907
1907
|
plugin: z,
|
1908
|
-
payload:
|
1908
|
+
payload: _,
|
1909
1909
|
/* Internal data for analytics engine */
|
1910
1910
|
_: {
|
1911
1911
|
called: "queue",
|
@@ -1914,23 +1914,23 @@ function Kt() {
|
|
1914
1914
|
}
|
1915
1915
|
}), k.abrupt("return", Promise.resolve(C));
|
1916
1916
|
case 17:
|
1917
|
-
return
|
1917
|
+
return F = O(y[z], s[z]), k.next = 20, H[f]({
|
1918
1918
|
// currentPlugin: pluginName,
|
1919
|
-
abort:
|
1919
|
+
abort: F.abort,
|
1920
1920
|
// Send in original action value or scope payload
|
1921
|
-
payload:
|
1921
|
+
payload: _,
|
1922
1922
|
instance: i,
|
1923
|
-
config:
|
1923
|
+
config: zr(z, c, s),
|
1924
1924
|
plugins: c
|
1925
1925
|
});
|
1926
1926
|
case 20:
|
1927
|
-
return G = k.sent, E = ne(G) ? G : {}, p = I(I({}, C), E), h = y[z],
|
1927
|
+
return G = k.sent, E = ne(G) ? G : {}, p = I(I({}, C), E), h = y[z], St(h, z) ? wt({
|
1928
1928
|
data: h,
|
1929
1929
|
method: f,
|
1930
1930
|
instance: i,
|
1931
1931
|
pluginName: z,
|
1932
1932
|
store: u
|
1933
|
-
}) : (g = "".concat(f, ":").concat(z), w = (g.match(/:/g) || []).length, w < 2 && !f.match(
|
1933
|
+
}) : (g = "".concat(f, ":").concat(z), w = (g.match(/:/g) || []).length, w < 2 && !f.match(Ur) && !f.match(Lr) && (T = S ? p : _, i.dispatch(I(I({}, T), {}, {
|
1934
1934
|
type: g,
|
1935
1935
|
_: {
|
1936
1936
|
called: g,
|
@@ -1941,16 +1941,16 @@ function Kt() {
|
|
1941
1941
|
case "end":
|
1942
1942
|
return k.stop();
|
1943
1943
|
}
|
1944
|
-
},
|
1944
|
+
}, R);
|
1945
1945
|
}));
|
1946
|
-
return function(
|
1947
|
-
return
|
1946
|
+
return function(R, N, U) {
|
1947
|
+
return x.apply(this, arguments);
|
1948
1948
|
};
|
1949
1949
|
}(), Promise.resolve(n));
|
1950
1950
|
case 13:
|
1951
|
-
if (d = j.sent, !(!f.match(
|
1951
|
+
if (d = j.sent, !(!f.match(De) && !f.match(/^registerPlugin/) && // !method.match(/^disablePlugin/) &&
|
1952
1952
|
// !method.match(/^enablePlugin/) &&
|
1953
|
-
!f.match(
|
1953
|
+
!f.match(Lr) && !f.match(Ur) && !f.match(/^params/) && !f.match(/^userIdChanged/))) {
|
1954
1954
|
j.next = 21;
|
1955
1955
|
break;
|
1956
1956
|
}
|
@@ -1966,7 +1966,7 @@ function Kt() {
|
|
1966
1966
|
called: d.type,
|
1967
1967
|
from: "engineEnd"
|
1968
1968
|
}
|
1969
|
-
}),
|
1969
|
+
}), Yn(d, r.exact.length) && !f.match(/End$/) && (P = I(I({}, P), {
|
1970
1970
|
type: d.type + "Aborted"
|
1971
1971
|
})), u.dispatch(P);
|
1972
1972
|
case 21:
|
@@ -1976,9 +1976,9 @@ function Kt() {
|
|
1976
1976
|
return j.stop();
|
1977
1977
|
}
|
1978
1978
|
}, e);
|
1979
|
-
})),
|
1979
|
+
})), Jt.apply(this, arguments);
|
1980
1980
|
}
|
1981
|
-
function
|
1981
|
+
function wt(e) {
|
1982
1982
|
var t = e.data, r = e.method;
|
1983
1983
|
e.instance;
|
1984
1984
|
var n = e.pluginName, i = e.store, a = n ? ":" + n : "", s = r + "Aborted" + a;
|
@@ -1990,11 +1990,11 @@ function vt(e) {
|
|
1990
1990
|
}
|
1991
1991
|
}));
|
1992
1992
|
}
|
1993
|
-
function
|
1993
|
+
function zr(e, t, r) {
|
1994
1994
|
var n = t[e] || r[e];
|
1995
1995
|
return n && n.config ? n.config : {};
|
1996
1996
|
}
|
1997
|
-
function
|
1997
|
+
function Wr(e, t) {
|
1998
1998
|
return t.reduce(function(r, n) {
|
1999
1999
|
return n[e] ? r.concat({
|
2000
2000
|
methodName: e,
|
@@ -2003,21 +2003,21 @@ function $r(e, t) {
|
|
2003
2003
|
}) : r;
|
2004
2004
|
}, []);
|
2005
2005
|
}
|
2006
|
-
function
|
2007
|
-
return e.replace(
|
2006
|
+
function cs(e) {
|
2007
|
+
return e.replace(De, "");
|
2008
2008
|
}
|
2009
|
-
function
|
2010
|
-
var r =
|
2009
|
+
function Vr(e, t) {
|
2010
|
+
var r = cs(e), n = t ? ":".concat(t) : "", i = "".concat(e).concat(n), a = "".concat(r).concat(n), s = "".concat(r, "End").concat(n);
|
2011
2011
|
return [i, a, s];
|
2012
2012
|
}
|
2013
|
-
function
|
2014
|
-
var n =
|
2015
|
-
return
|
2013
|
+
function ls(e, t, r) {
|
2014
|
+
var n = Vr(e), i = n.map(function(a) {
|
2015
|
+
return Wr(a, t);
|
2016
2016
|
});
|
2017
2017
|
return t.reduce(function(a, s) {
|
2018
|
-
var o = s.name, u =
|
2019
|
-
return
|
2020
|
-
}), c =
|
2018
|
+
var o = s.name, u = Vr(e, o), l = u.map(function(v) {
|
2019
|
+
return Wr(v, t);
|
2020
|
+
}), c = ss(l, 3), m = c[0], f = c[1], S = c[2];
|
2021
2021
|
return m.length && (a.beforeNS[o] = m), f.length && (a.duringNS[o] = f), S.length && (a.afterNS[o] = S), a;
|
2022
2022
|
}, {
|
2023
2023
|
before: i[0],
|
@@ -2028,42 +2028,42 @@ function Ba(e, t, r) {
|
|
2028
2028
|
afterNS: {}
|
2029
2029
|
});
|
2030
2030
|
}
|
2031
|
-
function
|
2031
|
+
function St(e, t) {
|
2032
2032
|
var r = e.abort;
|
2033
|
-
return r ? r === !0 ? !0 :
|
2033
|
+
return r ? r === !0 ? !0 : Gr(r, t) || r && Gr(r.plugins, t) : !1;
|
2034
2034
|
}
|
2035
|
-
function
|
2035
|
+
function Yn(e, t) {
|
2036
2036
|
var r = e.abort;
|
2037
2037
|
if (!r) return !1;
|
2038
2038
|
if (r === !0 || et(r)) return !0;
|
2039
2039
|
var n = r.plugins;
|
2040
|
-
return
|
2040
|
+
return He(r) && r.length === t || He(n) && n.length === t;
|
2041
2041
|
}
|
2042
|
-
function
|
2042
|
+
function He(e) {
|
2043
2043
|
return Array.isArray(e);
|
2044
2044
|
}
|
2045
|
-
function
|
2046
|
-
return !e || !
|
2045
|
+
function Gr(e, t) {
|
2046
|
+
return !e || !He(e) ? !1 : e.includes(t);
|
2047
2047
|
}
|
2048
|
-
function
|
2048
|
+
function fs(e, t) {
|
2049
2049
|
return function(r, n, i) {
|
2050
2050
|
var a = n.config, s = n.name, o = "".concat(s, ".").concat(r.type);
|
2051
2051
|
i && (o = i.event);
|
2052
|
-
var u = r.type.match(
|
2052
|
+
var u = r.type.match(De) ? ds(s, o, t, i, r) : ps(r, o);
|
2053
2053
|
return {
|
2054
2054
|
/* self: plugin, for future maybe */
|
2055
2055
|
// clone objects to avoid reassign
|
2056
|
-
payload:
|
2056
|
+
payload: hs(r),
|
2057
2057
|
instance: e,
|
2058
2058
|
config: a || {},
|
2059
2059
|
abort: u
|
2060
2060
|
};
|
2061
2061
|
};
|
2062
2062
|
}
|
2063
|
-
function
|
2063
|
+
function ds(e, t, r, n, i) {
|
2064
2064
|
return function(a, s) {
|
2065
|
-
var o = n ? n.name : e, u = s &&
|
2066
|
-
if (n && (u = s &&
|
2065
|
+
var o = n ? n.name : e, u = s && He(s) ? s : r;
|
2066
|
+
if (n && (u = s && He(s) ? s : [e], !u.includes(e) || u.length !== 1))
|
2067
2067
|
throw new Error("Method ".concat(t, " can only abort ").concat(e, " plugin. ").concat(JSON.stringify(u), " input valid"));
|
2068
2068
|
return I(I({}, i), {}, {
|
2069
2069
|
// 🔥 todo verify this merge is ok
|
@@ -2076,79 +2076,79 @@ function Ja(e, t, r, n, i) {
|
|
2076
2076
|
});
|
2077
2077
|
};
|
2078
2078
|
}
|
2079
|
-
function
|
2079
|
+
function ps(e, t) {
|
2080
2080
|
return function() {
|
2081
2081
|
throw new Error(e.type + " action not cancellable. Remove abort in " + t);
|
2082
2082
|
};
|
2083
2083
|
}
|
2084
|
-
function
|
2085
|
-
var r =
|
2084
|
+
function gs(e, t) {
|
2085
|
+
var r = Hr(e), n = r && r.name === t;
|
2086
2086
|
if (n) {
|
2087
|
-
var i =
|
2087
|
+
var i = Hr(r.method), a = i ? "or " + i.method : "";
|
2088
2088
|
throw new Error([t + " plugin is calling method " + e, "Plugins cant call self", "Use ".concat(r.method, " ").concat(a, " in ").concat(t, " plugin insteadof ").concat(e)].join(`
|
2089
2089
|
`));
|
2090
2090
|
}
|
2091
2091
|
}
|
2092
|
-
function
|
2092
|
+
function Hr(e) {
|
2093
2093
|
var t = e.match(/(.*):(.*)/);
|
2094
2094
|
return t ? {
|
2095
2095
|
method: t[1],
|
2096
2096
|
name: t[2]
|
2097
2097
|
} : !1;
|
2098
2098
|
}
|
2099
|
-
function
|
2099
|
+
function hs(e) {
|
2100
2100
|
return Object.keys(e).reduce(function(t, r) {
|
2101
2101
|
return r === "type" || (ne(e[r]) ? t[r] = Object.assign({}, e[r]) : t[r] = e[r]), t;
|
2102
2102
|
}, {});
|
2103
2103
|
}
|
2104
|
-
function
|
2104
|
+
function ms(e, t, r) {
|
2105
2105
|
var n = {};
|
2106
2106
|
return function(i) {
|
2107
2107
|
return function(a) {
|
2108
2108
|
return /* @__PURE__ */ function() {
|
2109
|
-
var s =
|
2109
|
+
var s = ue(/* @__PURE__ */ X.mark(function o(u) {
|
2110
2110
|
var l, c, m, f, S, v, O, b, y, d, P, A;
|
2111
|
-
return X.wrap(function(
|
2111
|
+
return X.wrap(function(x) {
|
2112
2112
|
for (; ; )
|
2113
|
-
switch (
|
2113
|
+
switch (x.prev = x.next) {
|
2114
2114
|
case 0:
|
2115
2115
|
if (l = u.type, c = u.abort, m = u.plugins, f = u, !c) {
|
2116
|
-
|
2116
|
+
x.next = 4;
|
2117
2117
|
break;
|
2118
2118
|
}
|
2119
|
-
return
|
2119
|
+
return x.abrupt("return", a(u));
|
2120
2120
|
case 4:
|
2121
|
-
if (l ===
|
2122
|
-
type:
|
2121
|
+
if (l === $.enablePlugin && i.dispatch({
|
2122
|
+
type: $.initializeStart,
|
2123
2123
|
plugins: m,
|
2124
2124
|
disabled: [],
|
2125
2125
|
fromEnable: !0,
|
2126
2126
|
meta: u.meta
|
2127
|
-
}), l ===
|
2128
|
-
return
|
2127
|
+
}), l === $.disablePlugin && setTimeout(function() {
|
2128
|
+
return Kn(u.meta.rid, {
|
2129
2129
|
payload: u
|
2130
2130
|
});
|
2131
|
-
}, 0), l ===
|
2132
|
-
return m.includes(
|
2133
|
-
}).map(function(
|
2134
|
-
return S[
|
2135
|
-
}), b = [], y = [], d = u.disabled, P = O.map(function(
|
2136
|
-
var N =
|
2137
|
-
return
|
2131
|
+
}, 0), l === $.initializeEnd && (S = t(), v = Object.keys(S), O = v.filter(function(R) {
|
2132
|
+
return m.includes(R);
|
2133
|
+
}).map(function(R) {
|
2134
|
+
return S[R];
|
2135
|
+
}), b = [], y = [], d = u.disabled, P = O.map(function(R) {
|
2136
|
+
var N = R.loaded, U = R.name;
|
2137
|
+
return qn(R, N, 1e4).then(function(D) {
|
2138
2138
|
return n[U] || (i.dispatch({
|
2139
|
-
type:
|
2139
|
+
type: $.pluginReadyType(U),
|
2140
2140
|
// `ready:${name}`
|
2141
2141
|
name: U,
|
2142
|
-
events: Object.keys(
|
2143
|
-
return !
|
2142
|
+
events: Object.keys(R).filter(function(L) {
|
2143
|
+
return !Bt.includes(L);
|
2144
2144
|
})
|
2145
|
-
}), n[U] = !0), b = b.concat(U),
|
2145
|
+
}), n[U] = !0), b = b.concat(U), R;
|
2146
2146
|
}).catch(function(D) {
|
2147
2147
|
if (D instanceof Error)
|
2148
2148
|
throw new Error(D);
|
2149
2149
|
return y = y.concat(D.name), D;
|
2150
2150
|
});
|
2151
|
-
}), Promise.all(P).then(function(
|
2151
|
+
}), Promise.all(P).then(function(R) {
|
2152
2152
|
var N = {
|
2153
2153
|
plugins: b,
|
2154
2154
|
failed: y,
|
@@ -2156,23 +2156,23 @@ function es(e, t, r) {
|
|
2156
2156
|
};
|
2157
2157
|
setTimeout(function() {
|
2158
2158
|
v.length === P.length + d.length && i.dispatch(I(I({}, {
|
2159
|
-
type:
|
2159
|
+
type: $.ready
|
2160
2160
|
}), N));
|
2161
2161
|
}, 0);
|
2162
|
-
})), l ===
|
2163
|
-
|
2162
|
+
})), l === $.bootstrap) {
|
2163
|
+
x.next = 13;
|
2164
2164
|
break;
|
2165
2165
|
}
|
2166
2166
|
return /^ready:([^:]*)$/.test(l) && setTimeout(function() {
|
2167
|
-
return
|
2168
|
-
}, 0),
|
2167
|
+
return Bn(i, t, e);
|
2168
|
+
}, 0), x.next = 11, us(u, t, e, i, r);
|
2169
2169
|
case 11:
|
2170
|
-
return A =
|
2170
|
+
return A = x.sent, x.abrupt("return", a(A));
|
2171
2171
|
case 13:
|
2172
|
-
return
|
2172
|
+
return x.abrupt("return", a(f));
|
2173
2173
|
case 14:
|
2174
2174
|
case "end":
|
2175
|
-
return
|
2175
|
+
return x.stop();
|
2176
2176
|
}
|
2177
2177
|
}, o);
|
2178
2178
|
}));
|
@@ -2183,40 +2183,40 @@ function es(e, t, r) {
|
|
2183
2183
|
};
|
2184
2184
|
};
|
2185
2185
|
}
|
2186
|
-
function
|
2186
|
+
function vs(e) {
|
2187
2187
|
return function(t) {
|
2188
2188
|
return function(r) {
|
2189
2189
|
return function(n) {
|
2190
2190
|
var i = n.type, a = n.key, s = n.value, o = n.options;
|
2191
|
-
if (i ===
|
2191
|
+
if (i === $.setItem || i === $.removeItem) {
|
2192
2192
|
if (n.abort)
|
2193
2193
|
return r(n);
|
2194
|
-
i ===
|
2194
|
+
i === $.setItem ? e.setItem(a, s, o) : e.removeItem(a, o);
|
2195
2195
|
}
|
2196
2196
|
return r(n);
|
2197
2197
|
};
|
2198
2198
|
};
|
2199
2199
|
};
|
2200
2200
|
}
|
2201
|
-
function
|
2201
|
+
function ys(e, t, r) {
|
2202
2202
|
return Object.defineProperty(e, "prototype", {
|
2203
2203
|
writable: !1
|
2204
2204
|
}), e;
|
2205
2205
|
}
|
2206
|
-
function
|
2206
|
+
function bs(e, t) {
|
2207
2207
|
if (!(e instanceof t))
|
2208
2208
|
throw new TypeError("Cannot call a class as a function");
|
2209
2209
|
}
|
2210
|
-
var
|
2210
|
+
var ws = /* @__PURE__ */ ys(function e() {
|
2211
2211
|
var t = this;
|
2212
|
-
|
2212
|
+
bs(this, e), me(this, "before", []), me(this, "after", []), me(this, "addMiddleware", function(r, n) {
|
2213
2213
|
t[n] = t[n].concat(r);
|
2214
|
-
}),
|
2214
|
+
}), me(this, "removeMiddleware", function(r, n) {
|
2215
2215
|
var i = t[n].findIndex(function(a) {
|
2216
2216
|
return a === r;
|
2217
2217
|
});
|
2218
|
-
i !== -1 && (t[n] = [].concat(
|
2219
|
-
}),
|
2218
|
+
i !== -1 && (t[n] = [].concat(ze(t[n].slice(0, i)), ze(t[n].slice(i + 1))));
|
2219
|
+
}), me(this, "dynamicMiddlewares", function(r) {
|
2220
2220
|
return function(n) {
|
2221
2221
|
return function(i) {
|
2222
2222
|
return function(a) {
|
@@ -2228,19 +2228,19 @@ var is = /* @__PURE__ */ rs(function e() {
|
|
2228
2228
|
}, o = t[r].map(function(u) {
|
2229
2229
|
return u(s);
|
2230
2230
|
});
|
2231
|
-
return
|
2231
|
+
return Me.apply(void 0, ze(o))(i)(a);
|
2232
2232
|
};
|
2233
2233
|
};
|
2234
2234
|
};
|
2235
2235
|
});
|
2236
2236
|
});
|
2237
|
-
function
|
2237
|
+
function Ss(e) {
|
2238
2238
|
return function() {
|
2239
2239
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, i = {};
|
2240
2240
|
if (n.type === "initialize:aborted")
|
2241
2241
|
return r;
|
2242
2242
|
if (/^registerPlugin:([^:]*)$/.test(n.type)) {
|
2243
|
-
var a =
|
2243
|
+
var a = Fr(n.type, "registerPlugin"), s = e()[a];
|
2244
2244
|
if (!s || !a)
|
2245
2245
|
return r;
|
2246
2246
|
var o = n.enabled;
|
@@ -2254,7 +2254,7 @@ function as(e) {
|
|
2254
2254
|
}, I(I({}, r), i);
|
2255
2255
|
}
|
2256
2256
|
if (/^initialize:([^:]*)$/.test(n.type)) {
|
2257
|
-
var u =
|
2257
|
+
var u = Fr(n.type, $.initialize), l = e()[u];
|
2258
2258
|
return !l || !u ? r : (i[u] = I(I({}, r[u]), {
|
2259
2259
|
initialized: !0,
|
2260
2260
|
/* check plugin.loaded function */
|
@@ -2275,42 +2275,42 @@ function as(e) {
|
|
2275
2275
|
return { ...state, ...newState }
|
2276
2276
|
*/
|
2277
2277
|
/* When analytics.plugins.disable called */
|
2278
|
-
case
|
2279
|
-
return I(I({}, r),
|
2278
|
+
case $.disablePlugin:
|
2279
|
+
return I(I({}, r), Kr(n.plugins, !1, r));
|
2280
2280
|
/* When analytics.plugins.enable called */
|
2281
|
-
case
|
2282
|
-
return I(I({}, r),
|
2281
|
+
case $.enablePlugin:
|
2282
|
+
return I(I({}, r), Kr(n.plugins, !0, r));
|
2283
2283
|
default:
|
2284
2284
|
return r;
|
2285
2285
|
}
|
2286
2286
|
};
|
2287
2287
|
}
|
2288
|
-
function
|
2288
|
+
function Fr(e, t) {
|
2289
2289
|
return e.substring(t.length + 1, e.length);
|
2290
2290
|
}
|
2291
|
-
function
|
2291
|
+
function Kr(e, t, r) {
|
2292
2292
|
return e.reduce(function(n, i) {
|
2293
2293
|
return n[i] = I(I({}, r[i]), {
|
2294
2294
|
enabled: t
|
2295
2295
|
}), n;
|
2296
2296
|
}, r);
|
2297
2297
|
}
|
2298
|
-
function
|
2298
|
+
function Jn(e) {
|
2299
2299
|
try {
|
2300
2300
|
return JSON.parse(JSON.stringify(e));
|
2301
2301
|
} catch {
|
2302
2302
|
}
|
2303
2303
|
return e;
|
2304
2304
|
}
|
2305
|
-
var
|
2305
|
+
var Es = {
|
2306
2306
|
last: {},
|
2307
2307
|
history: []
|
2308
2308
|
};
|
2309
|
-
function
|
2310
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
2309
|
+
function As() {
|
2310
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Es, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.event, i = t.properties, a = t.options, s = t.meta;
|
2311
2311
|
switch (r) {
|
2312
|
-
case
|
2313
|
-
var o =
|
2312
|
+
case $.track:
|
2313
|
+
var o = Jn(I(I({
|
2314
2314
|
event: n,
|
2315
2315
|
properties: i
|
2316
2316
|
}, Object.keys(a).length && {
|
@@ -2327,15 +2327,15 @@ function os() {
|
|
2327
2327
|
return e;
|
2328
2328
|
}
|
2329
2329
|
}
|
2330
|
-
var
|
2330
|
+
var Os = {
|
2331
2331
|
actions: []
|
2332
2332
|
};
|
2333
|
-
function
|
2334
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
2333
|
+
function Is() {
|
2334
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Os, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.payload;
|
2335
2335
|
switch (r) {
|
2336
2336
|
case "queue":
|
2337
2337
|
var i;
|
2338
|
-
return n && n.type && n.type ===
|
2338
|
+
return n && n.type && n.type === $.identify ? i = [t].concat(e.actions) : i = e.actions.concat(t), I(I({}, e), {}, {
|
2339
2339
|
actions: i
|
2340
2340
|
});
|
2341
2341
|
case "dequeue":
|
@@ -2345,44 +2345,44 @@ function cs() {
|
|
2345
2345
|
return e;
|
2346
2346
|
}
|
2347
2347
|
}
|
2348
|
-
var
|
2349
|
-
function
|
2350
|
-
if (
|
2348
|
+
var Xn = /#.*$/;
|
2349
|
+
function Ps() {
|
2350
|
+
if (de) {
|
2351
2351
|
for (var e = document.getElementsByTagName("link"), t = 0, r; r = e[t]; t++)
|
2352
2352
|
if (r.getAttribute("rel") === "canonical")
|
2353
2353
|
return r.getAttribute("href");
|
2354
2354
|
}
|
2355
2355
|
}
|
2356
|
-
function
|
2357
|
-
var t = /(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g, r = t.exec(e), n = r && r[3] ? r[3].split("?")[0].replace(
|
2356
|
+
function Ts(e) {
|
2357
|
+
var t = /(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g, r = t.exec(e), n = r && r[3] ? r[3].split("?")[0].replace(Xn, "") : "";
|
2358
2358
|
return "/" + n;
|
2359
2359
|
}
|
2360
|
-
function
|
2361
|
-
var t =
|
2362
|
-
return t ? t.match(/\?/) ? t : t + e : window.location.href.replace(
|
2360
|
+
function js(e) {
|
2361
|
+
var t = Ps();
|
2362
|
+
return t ? t.match(/\?/) ? t : t + e : window.location.href.replace(Xn, "");
|
2363
2363
|
}
|
2364
|
-
var
|
2364
|
+
var Ns = function() {
|
2365
2365
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2366
|
-
if (!
|
2367
|
-
var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, u = a.innerHeight, l = s.hash, c = s.search, m =
|
2366
|
+
if (!de) return t;
|
2367
|
+
var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, u = a.innerHeight, l = s.hash, c = s.search, m = js(c), f = {
|
2368
2368
|
title: n,
|
2369
2369
|
url: m,
|
2370
|
-
path:
|
2370
|
+
path: Ts(m),
|
2371
2371
|
hash: l,
|
2372
2372
|
search: c,
|
2373
2373
|
width: o,
|
2374
2374
|
height: u
|
2375
2375
|
};
|
2376
2376
|
return i && i !== "" && (f.referrer = i), I(I({}, f), t);
|
2377
|
-
},
|
2377
|
+
}, Rs = {
|
2378
2378
|
last: {},
|
2379
2379
|
history: []
|
2380
2380
|
};
|
2381
|
-
function
|
2382
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
2381
|
+
function xs() {
|
2382
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Rs, t = arguments.length > 1 ? arguments[1] : void 0, r = t.properties, n = t.options, i = t.meta;
|
2383
2383
|
switch (t.type) {
|
2384
|
-
case
|
2385
|
-
var a =
|
2384
|
+
case $.page:
|
2385
|
+
var a = Jn(I({
|
2386
2386
|
properties: r,
|
2387
2387
|
meta: i
|
2388
2388
|
}, Object.keys(n).length && {
|
@@ -2397,88 +2397,88 @@ function hs() {
|
|
2397
2397
|
return e;
|
2398
2398
|
}
|
2399
2399
|
}
|
2400
|
-
function
|
2401
|
-
if (!
|
2400
|
+
function ks() {
|
2401
|
+
if (!de) return !1;
|
2402
2402
|
var e = navigator.appVersion;
|
2403
2403
|
return ~e.indexOf("Win") ? "Windows" : ~e.indexOf("Mac") ? "MacOS" : ~e.indexOf("X11") ? "UNIX" : ~e.indexOf("Linux") ? "Linux" : "Unknown OS";
|
2404
2404
|
}
|
2405
|
-
var
|
2406
|
-
|
2407
|
-
var
|
2405
|
+
var Qn, Zn, ei, ti;
|
2406
|
+
Qn = ks(), Zn = de ? document.referrer : null, ei = xa(), ti = ka();
|
2407
|
+
var qr = {
|
2408
2408
|
initialized: !1,
|
2409
|
-
sessionId:
|
2409
|
+
sessionId: Oe(),
|
2410
2410
|
app: null,
|
2411
2411
|
version: null,
|
2412
2412
|
debug: !1,
|
2413
|
-
offline:
|
2413
|
+
offline: de ? !navigator.onLine : !1,
|
2414
2414
|
// use node network is-online
|
2415
2415
|
os: {
|
2416
|
-
name:
|
2416
|
+
name: Qn
|
2417
2417
|
},
|
2418
|
-
userAgent:
|
2418
|
+
userAgent: de ? navigator.userAgent : "node",
|
2419
2419
|
// https://github.com/bestiejs/platform.js
|
2420
2420
|
library: {
|
2421
|
-
name:
|
2421
|
+
name: qt,
|
2422
2422
|
// TODO fix version number. npm run publish:patch has wrong version
|
2423
2423
|
version: "0.10.22"
|
2424
2424
|
},
|
2425
|
-
timezone:
|
2426
|
-
locale:
|
2425
|
+
timezone: ti,
|
2426
|
+
locale: ei,
|
2427
2427
|
campaign: {},
|
2428
|
-
referrer:
|
2428
|
+
referrer: Zn
|
2429
2429
|
};
|
2430
|
-
function
|
2431
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
2430
|
+
function Cs() {
|
2431
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : qr, t = arguments.length > 1 ? arguments[1] : void 0, r = e.initialized, n = t.type, i = t.campaign;
|
2432
2432
|
switch (n) {
|
2433
|
-
case
|
2433
|
+
case $.campaign:
|
2434
2434
|
return I(I({}, e), {
|
2435
2435
|
campaign: i
|
2436
2436
|
});
|
2437
|
-
case
|
2437
|
+
case $.offline:
|
2438
2438
|
return I(I({}, e), {
|
2439
2439
|
offline: !0
|
2440
2440
|
});
|
2441
|
-
case
|
2441
|
+
case $.online:
|
2442
2442
|
return I(I({}, e), {
|
2443
2443
|
offline: !1
|
2444
2444
|
});
|
2445
2445
|
default:
|
2446
|
-
return r ? e : I(I(I({},
|
2446
|
+
return r ? e : I(I(I({}, qr), e), {
|
2447
2447
|
initialized: !0
|
2448
2448
|
});
|
2449
2449
|
}
|
2450
2450
|
}
|
2451
|
-
var
|
2452
|
-
function
|
2451
|
+
var Ms = ["plugins", "reducers", "storage"];
|
2452
|
+
function Ds(e) {
|
2453
2453
|
return Object.keys(e).reduce(function(t, r) {
|
2454
|
-
return
|
2454
|
+
return Ms.includes(r) || (t[r] = e[r]), t;
|
2455
2455
|
}, {});
|
2456
2456
|
}
|
2457
|
-
function
|
2458
|
-
if (
|
2457
|
+
function $s(e, t, r) {
|
2458
|
+
if (de) {
|
2459
2459
|
var n = window[(r ? "add" : "remove") + "EventListener"];
|
2460
2460
|
e.split(" ").forEach(function(i) {
|
2461
2461
|
n(i, t);
|
2462
2462
|
});
|
2463
2463
|
}
|
2464
2464
|
}
|
2465
|
-
function
|
2465
|
+
function _s() {
|
2466
2466
|
return Promise.resolve(!navigator.onLine);
|
2467
2467
|
}
|
2468
|
-
function
|
2468
|
+
function Us(e) {
|
2469
2469
|
var t = function(i) {
|
2470
|
-
return
|
2471
|
-
}, r =
|
2470
|
+
return _s().then(e);
|
2471
|
+
}, r = $s.bind(null, "online offline", t);
|
2472
2472
|
return r(!0), function(n) {
|
2473
2473
|
return r(!1);
|
2474
2474
|
};
|
2475
2475
|
}
|
2476
|
-
function
|
2477
|
-
return
|
2476
|
+
function ri() {
|
2477
|
+
return fe(qt, []), function(e) {
|
2478
2478
|
return function(t, r, n) {
|
2479
2479
|
var i = e(t, r, n), a = i.dispatch, s = function(u) {
|
2480
2480
|
var l = u.action || u;
|
2481
|
-
return
|
2481
|
+
return Ce[ke][qt].push(l), a(u);
|
2482
2482
|
};
|
2483
2483
|
return Object.assign(i, {
|
2484
2484
|
dispatch: s
|
@@ -2486,45 +2486,45 @@ function Qn() {
|
|
2486
2486
|
};
|
2487
2487
|
};
|
2488
2488
|
}
|
2489
|
-
function
|
2489
|
+
function Br(e) {
|
2490
2490
|
return function() {
|
2491
|
-
return
|
2491
|
+
return Me(Me.apply(null, arguments), ri());
|
2492
2492
|
};
|
2493
2493
|
}
|
2494
|
-
function
|
2495
|
-
return e ?
|
2494
|
+
function Et(e) {
|
2495
|
+
return e ? $a(e) ? e : [e] : [];
|
2496
2496
|
}
|
2497
|
-
function
|
2497
|
+
function Ls(e) {
|
2498
2498
|
for (var t = e || Array.prototype.slice.call(arguments), r, n = 0; n < t.length; n++)
|
2499
|
-
if (
|
2499
|
+
if (oe(t[n])) {
|
2500
2500
|
r = t[n];
|
2501
2501
|
break;
|
2502
2502
|
}
|
2503
2503
|
return r;
|
2504
2504
|
}
|
2505
|
-
function
|
2505
|
+
function zs() {
|
2506
2506
|
return (/* @__PURE__ */ new Date()).getTime();
|
2507
2507
|
}
|
2508
|
-
function
|
2508
|
+
function Ws(e, t) {
|
2509
2509
|
return function(r) {
|
2510
2510
|
t && t(r), e(r);
|
2511
2511
|
};
|
2512
2512
|
}
|
2513
|
-
function
|
2514
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, n =
|
2515
|
-
return t && (
|
2513
|
+
function Yr() {
|
2514
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, n = Oe();
|
2515
|
+
return t && (Ue[n] = Ws(t, Ls(r))), I(I({}, e), {}, {
|
2516
2516
|
rid: n,
|
2517
|
-
ts:
|
2517
|
+
ts: zs()
|
2518
2518
|
}, t ? {
|
2519
2519
|
hasCallback: !0
|
2520
2520
|
} : {});
|
2521
2521
|
}
|
2522
|
-
function
|
2522
|
+
function Vs() {
|
2523
2523
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.reducers || {}, r = e.initialUser || {}, n = (e.plugins || []).reduce(function(h, g) {
|
2524
|
-
if (
|
2524
|
+
if (oe(g))
|
2525
2525
|
return h.middlewares = h.middlewares.concat(g), h;
|
2526
2526
|
if (g.NAMESPACE && (g.name = g.NAMESPACE), !g.name)
|
2527
|
-
throw new Error(
|
2527
|
+
throw new Error(Ka + "1");
|
2528
2528
|
var w = g.EVENTS ? Object.keys(g.EVENTS).map(function(B) {
|
2529
2529
|
return g.EVENTS[B];
|
2530
2530
|
}) : [], T = g.enabled !== !1, M = !(g.config && g.config.enabled === !1);
|
@@ -2545,23 +2545,23 @@ function Ps() {
|
|
2545
2545
|
middlewares: [],
|
2546
2546
|
events: []
|
2547
2547
|
}), i = e.storage ? e.storage : {
|
2548
|
-
getItem:
|
2549
|
-
setItem:
|
2550
|
-
removeItem:
|
2551
|
-
}, a =
|
2552
|
-
return !
|
2553
|
-
}).sort(), u = new Set(o.concat(
|
2554
|
-
return !
|
2548
|
+
getItem: pe,
|
2549
|
+
setItem: fe,
|
2550
|
+
removeItem: Ie
|
2551
|
+
}, a = Qa(i), s = n.plugins, o = n.events.filter(function(h) {
|
2552
|
+
return !Bt.includes(h);
|
2553
|
+
}).sort(), u = new Set(o.concat(it).filter(function(h) {
|
2554
|
+
return !Bt.includes(h);
|
2555
2555
|
})), l = Array.from(u).sort(), c = function() {
|
2556
2556
|
return s;
|
2557
|
-
}, m = new
|
2557
|
+
}, m = new ws(), f = m.addMiddleware, S = m.removeMiddleware, v = m.dynamicMiddlewares, O = function() {
|
2558
2558
|
throw new Error("Abort disabled inListener");
|
2559
|
-
}, b =
|
2559
|
+
}, b = Ca(), y = Fn(i), d = I(I(I(I({}, y), r), b.an_uid ? {
|
2560
2560
|
userId: b.an_uid
|
2561
2561
|
} : {}), b.an_aid ? {
|
2562
2562
|
anonymousId: b.an_aid
|
2563
2563
|
} : {});
|
2564
|
-
d.anonymousId || (d.anonymousId =
|
2564
|
+
d.anonymousId || (d.anonymousId = Oe());
|
2565
2565
|
var P = I({
|
2566
2566
|
/**
|
2567
2567
|
* Enable analytics plugin
|
@@ -2583,10 +2583,10 @@ function Ps() {
|
|
2583
2583
|
enable: function(g, w) {
|
2584
2584
|
return new Promise(function(T) {
|
2585
2585
|
C.dispatch({
|
2586
|
-
type:
|
2587
|
-
plugins:
|
2586
|
+
type: $.enablePlugin,
|
2587
|
+
plugins: Et(g),
|
2588
2588
|
_: {
|
2589
|
-
originalAction:
|
2589
|
+
originalAction: $.enablePlugin
|
2590
2590
|
}
|
2591
2591
|
}, T, [w]);
|
2592
2592
|
});
|
@@ -2610,10 +2610,10 @@ function Ps() {
|
|
2610
2610
|
disable: function(g, w) {
|
2611
2611
|
return new Promise(function(T) {
|
2612
2612
|
C.dispatch({
|
2613
|
-
type:
|
2614
|
-
plugins:
|
2613
|
+
type: $.disablePlugin,
|
2614
|
+
plugins: Et(g),
|
2615
2615
|
_: {
|
2616
|
-
originalAction:
|
2616
|
+
originalAction: $.disablePlugin
|
2617
2617
|
}
|
2618
2618
|
}, T, [w]);
|
2619
2619
|
});
|
@@ -2663,26 +2663,26 @@ function Ps() {
|
|
2663
2663
|
* })
|
2664
2664
|
*/
|
2665
2665
|
identify: function() {
|
2666
|
-
var h =
|
2666
|
+
var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
|
2667
2667
|
var V, B, K, q, Y;
|
2668
|
-
return X.wrap(function(
|
2668
|
+
return X.wrap(function(Pe) {
|
2669
2669
|
for (; ; )
|
2670
|
-
switch (
|
2670
|
+
switch (Pe.prev = Pe.next) {
|
2671
2671
|
case 0:
|
2672
|
-
return V = et(T) ? T : null, B = ne(T) ? T : M, K = k || {}, q = A.user(),
|
2672
|
+
return V = et(T) ? T : null, B = ne(T) ? T : M, K = k || {}, q = A.user(), fe(pr(he), V), Y = V || B.userId || a(he, A, B), Pe.abrupt("return", new Promise(function(_i) {
|
2673
2673
|
C.dispatch(I({
|
2674
|
-
type:
|
2674
|
+
type: $.identifyStart,
|
2675
2675
|
userId: Y,
|
2676
2676
|
traits: B || {},
|
2677
2677
|
options: K,
|
2678
2678
|
anonymousId: q.anonymousId
|
2679
2679
|
}, q.id && q.id !== V && {
|
2680
2680
|
previousId: q.id
|
2681
|
-
}),
|
2681
|
+
}), _i, [M, k, W]);
|
2682
2682
|
}));
|
2683
2683
|
case 7:
|
2684
2684
|
case "end":
|
2685
|
-
return
|
2685
|
+
return Pe.stop();
|
2686
2686
|
}
|
2687
2687
|
}, w);
|
2688
2688
|
}));
|
@@ -2740,7 +2740,7 @@ function Ps() {
|
|
2740
2740
|
* })
|
2741
2741
|
*/
|
2742
2742
|
track: function() {
|
2743
|
-
var h =
|
2743
|
+
var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
|
2744
2744
|
var V, B, K;
|
2745
2745
|
return X.wrap(function(Y) {
|
2746
2746
|
for (; ; )
|
@@ -2752,15 +2752,15 @@ function Ps() {
|
|
2752
2752
|
}
|
2753
2753
|
throw new Error("EventMissing");
|
2754
2754
|
case 3:
|
2755
|
-
return B = ne(T) ? T : M || {}, K = ne(k) ? k : {}, Y.abrupt("return", new Promise(function(
|
2755
|
+
return B = ne(T) ? T : M || {}, K = ne(k) ? k : {}, Y.abrupt("return", new Promise(function(Be) {
|
2756
2756
|
C.dispatch({
|
2757
|
-
type:
|
2757
|
+
type: $.trackStart,
|
2758
2758
|
event: V,
|
2759
2759
|
properties: B,
|
2760
2760
|
options: K,
|
2761
|
-
userId: a(
|
2762
|
-
anonymousId: a(
|
2763
|
-
},
|
2761
|
+
userId: a(he, A, M),
|
2762
|
+
anonymousId: a(Te, A, M)
|
2763
|
+
}, Be, [M, k, W]);
|
2764
2764
|
}));
|
2765
2765
|
case 6:
|
2766
2766
|
case "end":
|
@@ -2815,7 +2815,7 @@ function Ps() {
|
|
2815
2815
|
* })
|
2816
2816
|
*/
|
2817
2817
|
page: function() {
|
2818
|
-
var h =
|
2818
|
+
var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k) {
|
2819
2819
|
var W, V;
|
2820
2820
|
return X.wrap(function(K) {
|
2821
2821
|
for (; ; )
|
@@ -2823,11 +2823,11 @@ function Ps() {
|
|
2823
2823
|
case 0:
|
2824
2824
|
return W = ne(T) ? T : {}, V = ne(M) ? M : {}, K.abrupt("return", new Promise(function(q) {
|
2825
2825
|
C.dispatch({
|
2826
|
-
type:
|
2827
|
-
properties:
|
2826
|
+
type: $.pageStart,
|
2827
|
+
properties: Ns(W),
|
2828
2828
|
options: V,
|
2829
|
-
userId: a(
|
2830
|
-
anonymousId: a(
|
2829
|
+
userId: a(he, A, W),
|
2830
|
+
anonymousId: a(Te, A, W)
|
2831
2831
|
}, q, [T, M, k]);
|
2832
2832
|
}));
|
2833
2833
|
case 3:
|
@@ -2859,12 +2859,12 @@ function Ps() {
|
|
2859
2859
|
* const companyName = analytics.user('traits.company.name')
|
2860
2860
|
*/
|
2861
2861
|
user: function(g) {
|
2862
|
-
if (g ===
|
2863
|
-
return a(
|
2864
|
-
if (g ===
|
2865
|
-
return a(
|
2862
|
+
if (g === he || g === "id")
|
2863
|
+
return a(he, A);
|
2864
|
+
if (g === Te || g === "anonId")
|
2865
|
+
return a(Te, A);
|
2866
2866
|
var w = A.getState("user");
|
2867
|
-
return g ?
|
2867
|
+
return g ? jr(w, g) : w;
|
2868
2868
|
},
|
2869
2869
|
/**
|
2870
2870
|
* Clear all information about the visitor & reset analytic state.
|
@@ -2879,7 +2879,7 @@ function Ps() {
|
|
2879
2879
|
reset: function(g) {
|
2880
2880
|
return new Promise(function(w) {
|
2881
2881
|
C.dispatch({
|
2882
|
-
type:
|
2882
|
+
type: $.resetStart
|
2883
2883
|
}, w, g);
|
2884
2884
|
});
|
2885
2885
|
},
|
@@ -2896,7 +2896,7 @@ function Ps() {
|
|
2896
2896
|
* })
|
2897
2897
|
*/
|
2898
2898
|
ready: function(g) {
|
2899
|
-
return A.on(
|
2899
|
+
return A.on($.ready, g);
|
2900
2900
|
},
|
2901
2901
|
/**
|
2902
2902
|
* Attach an event handler function for analytics lifecycle events.
|
@@ -2921,9 +2921,9 @@ function Ps() {
|
|
2921
2921
|
* removeListener()
|
2922
2922
|
*/
|
2923
2923
|
on: function(g, w) {
|
2924
|
-
if (!g || !
|
2924
|
+
if (!g || !oe(w))
|
2925
2925
|
return !1;
|
2926
|
-
if (g ===
|
2926
|
+
if (g === $.bootstrap)
|
2927
2927
|
throw new Error(".on disabled for " + g);
|
2928
2928
|
var T = /Start$|Start:/;
|
2929
2929
|
if (g === "*") {
|
@@ -2994,9 +2994,9 @@ function Ps() {
|
|
2994
2994
|
* listener()
|
2995
2995
|
*/
|
2996
2996
|
once: function(g, w) {
|
2997
|
-
if (!g || !
|
2997
|
+
if (!g || !oe(w))
|
2998
2998
|
return !1;
|
2999
|
-
if (g ===
|
2999
|
+
if (g === $.bootstrap)
|
3000
3000
|
throw new Error(".once disabled for " + g);
|
3001
3001
|
var T = A.on(g, function(M) {
|
3002
3002
|
var k = M.payload;
|
@@ -3026,7 +3026,7 @@ function Ps() {
|
|
3026
3026
|
*/
|
3027
3027
|
getState: function(g) {
|
3028
3028
|
var w = C.getState();
|
3029
|
-
return g ?
|
3029
|
+
return g ? jr(w, g) : Object.assign({}, w);
|
3030
3030
|
},
|
3031
3031
|
/*
|
3032
3032
|
* Emit events for other plugins or middleware to react to.
|
@@ -3036,7 +3036,7 @@ function Ps() {
|
|
3036
3036
|
var w = et(g) ? {
|
3037
3037
|
type: g
|
3038
3038
|
} : g;
|
3039
|
-
if (
|
3039
|
+
if (Ya(w.type))
|
3040
3040
|
throw new Error("reserved action " + w.type);
|
3041
3041
|
var T = g._ || {}, M = I(I({}, w), {}, {
|
3042
3042
|
_: I({
|
@@ -3103,7 +3103,7 @@ function Ps() {
|
|
3103
3103
|
*/
|
3104
3104
|
setItem: function(g, w, T) {
|
3105
3105
|
C.dispatch({
|
3106
|
-
type:
|
3106
|
+
type: $.setItemStart,
|
3107
3107
|
key: g,
|
3108
3108
|
value: w,
|
3109
3109
|
options: T
|
@@ -3121,7 +3121,7 @@ function Ps() {
|
|
3121
3121
|
*/
|
3122
3122
|
removeItem: function(g, w) {
|
3123
3123
|
C.dispatch({
|
3124
|
-
type:
|
3124
|
+
type: $.removeItemStart,
|
3125
3125
|
key: g,
|
3126
3126
|
options: w
|
3127
3127
|
});
|
@@ -3138,7 +3138,7 @@ function Ps() {
|
|
3138
3138
|
* analytics.setAnonymousId('1234567')
|
3139
3139
|
*/
|
3140
3140
|
setAnonymousId: function(g, w) {
|
3141
|
-
A.storage.setItem(
|
3141
|
+
A.storage.setItem(ye, g, w);
|
3142
3142
|
},
|
3143
3143
|
/*
|
3144
3144
|
* Events exposed by core analytics library and all loaded plugins
|
@@ -3146,49 +3146,49 @@ function Ps() {
|
|
3146
3146
|
*/
|
3147
3147
|
events: {
|
3148
3148
|
all: l,
|
3149
|
-
core:
|
3149
|
+
core: it,
|
3150
3150
|
plugins: o
|
3151
3151
|
// byType: (type) => {} @Todo grab logic from engine and give inspectable events
|
3152
3152
|
}
|
3153
3153
|
}, j = function(g) {
|
3154
3154
|
return function(w) {
|
3155
3155
|
return function(T) {
|
3156
|
-
return T.meta || (T.meta =
|
3156
|
+
return T.meta || (T.meta = Yr()), w(T);
|
3157
3157
|
};
|
3158
3158
|
};
|
3159
|
-
},
|
3159
|
+
}, x = n.middlewares.concat([
|
3160
3160
|
j,
|
3161
3161
|
/* Core analytics middleware */
|
3162
3162
|
v(Xe),
|
3163
3163
|
// Before dynamic middleware <-- fixed pageStart .on listener
|
3164
3164
|
/* Plugin engine */
|
3165
|
-
|
3165
|
+
ms(A, c, {
|
3166
3166
|
all: l,
|
3167
3167
|
plugins: o
|
3168
3168
|
}),
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3169
|
+
vs(i),
|
3170
|
+
Ja(A),
|
3171
|
+
Za(A),
|
3172
3172
|
/* after dynamic middleware */
|
3173
3173
|
v(Qe)
|
3174
|
-
]),
|
3175
|
-
context:
|
3176
|
-
user:
|
3177
|
-
page:
|
3178
|
-
track:
|
3179
|
-
plugins:
|
3180
|
-
queue:
|
3181
|
-
}, N =
|
3182
|
-
if (
|
3174
|
+
]), R = {
|
3175
|
+
context: Cs,
|
3176
|
+
user: Xa(i),
|
3177
|
+
page: xs,
|
3178
|
+
track: As,
|
3179
|
+
plugins: Ss(c),
|
3180
|
+
queue: Is
|
3181
|
+
}, N = Me, U = Me;
|
3182
|
+
if (de && e.debug) {
|
3183
3183
|
var D = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
|
3184
3184
|
D && (N = D({
|
3185
3185
|
trace: !0,
|
3186
3186
|
traceLimit: 25
|
3187
3187
|
})), U = function() {
|
3188
|
-
return arguments.length === 0 ?
|
3188
|
+
return arguments.length === 0 ? ri() : ne(Q(arguments[0])) ? Br() : Br().apply(null, arguments);
|
3189
3189
|
};
|
3190
3190
|
}
|
3191
|
-
var L =
|
3191
|
+
var L = Ds(e), z = n.pluginsArray.reduce(function(h, g) {
|
3192
3192
|
var w = g.name, T = g.config, M = g.loaded, k = n.pluginEnabled[w];
|
3193
3193
|
return h[w] = {
|
3194
3194
|
enabled: k,
|
@@ -3197,68 +3197,68 @@ function Ps() {
|
|
3197
3197
|
loaded: !!M(),
|
3198
3198
|
config: T || {}
|
3199
3199
|
}, h;
|
3200
|
-
}, {}),
|
3200
|
+
}, {}), H = {
|
3201
3201
|
context: L,
|
3202
3202
|
user: d,
|
3203
3203
|
plugins: z
|
3204
3204
|
// Todo allow for more userland defined initial state?
|
3205
|
-
}, C =
|
3205
|
+
}, C = Hn(
|
3206
3206
|
// register reducers
|
3207
|
-
|
3207
|
+
Ha(I(I({}, R), t)),
|
3208
3208
|
// set user defined initial state
|
3209
|
-
|
3209
|
+
H,
|
3210
3210
|
// register middleware & plugins used
|
3211
|
-
U(N(
|
3211
|
+
U(N(Fa.apply(void 0, ze(x))))
|
3212
3212
|
);
|
3213
|
-
function
|
3213
|
+
function _(h) {
|
3214
3214
|
return function(g, w, T) {
|
3215
|
-
var M =
|
3215
|
+
var M = Yr(g.meta, w, Et(T)), k = I(I({}, g), {
|
3216
3216
|
meta: M
|
3217
3217
|
});
|
3218
3218
|
return h.apply(null, [k]);
|
3219
3219
|
};
|
3220
3220
|
}
|
3221
|
-
C.dispatch =
|
3222
|
-
var
|
3221
|
+
C.dispatch = _(C.dispatch);
|
3222
|
+
var F = Object.keys(s);
|
3223
3223
|
C.dispatch({
|
3224
|
-
type:
|
3225
|
-
plugins:
|
3224
|
+
type: $.bootstrap,
|
3225
|
+
plugins: F,
|
3226
3226
|
config: L,
|
3227
3227
|
params: b,
|
3228
3228
|
user: d,
|
3229
3229
|
initialUser: r,
|
3230
3230
|
persistedUser: y
|
3231
3231
|
});
|
3232
|
-
var G =
|
3232
|
+
var G = F.filter(function(h) {
|
3233
3233
|
return n.pluginEnabled[h];
|
3234
|
-
}), E =
|
3234
|
+
}), E = F.filter(function(h) {
|
3235
3235
|
return !n.pluginEnabled[h];
|
3236
3236
|
});
|
3237
3237
|
C.dispatch({
|
3238
|
-
type:
|
3239
|
-
plugins:
|
3238
|
+
type: $.registerPlugins,
|
3239
|
+
plugins: F,
|
3240
3240
|
enabled: n.pluginEnabled
|
3241
3241
|
}), n.pluginsArray.map(function(h, g) {
|
3242
3242
|
var w = h.bootstrap, T = h.config, M = h.name;
|
3243
|
-
w &&
|
3243
|
+
w && oe(w) && w({
|
3244
3244
|
instance: A,
|
3245
3245
|
config: T,
|
3246
3246
|
payload: h
|
3247
3247
|
}), C.dispatch({
|
3248
|
-
type:
|
3248
|
+
type: $.registerPluginType(M),
|
3249
3249
|
name: M,
|
3250
3250
|
enabled: n.pluginEnabled[M],
|
3251
3251
|
plugin: h
|
3252
3252
|
}), n.pluginsArray.length === g + 1 && C.dispatch({
|
3253
|
-
type:
|
3253
|
+
type: $.initializeStart,
|
3254
3254
|
plugins: G,
|
3255
3255
|
disabled: E
|
3256
3256
|
});
|
3257
|
-
}),
|
3257
|
+
}), Us(function(h) {
|
3258
3258
|
C.dispatch({
|
3259
|
-
type: h ?
|
3259
|
+
type: h ? $.offline : $.online
|
3260
3260
|
});
|
3261
|
-
}),
|
3261
|
+
}), ts(C, c, A);
|
3262
3262
|
function p(h) {
|
3263
3263
|
return function() {
|
3264
3264
|
for (var g = Array.prototype.slice.call(arguments), w = new Array(h.length), T = 0; T < g.length; T++)
|
@@ -3270,109 +3270,109 @@ function Ps() {
|
|
3270
3270
|
}
|
3271
3271
|
return A;
|
3272
3272
|
}
|
3273
|
-
var Xe = "before", Qe = "after",
|
3274
|
-
function
|
3275
|
-
return
|
3273
|
+
var Xe = "before", Qe = "after", Ee = "cookie", be = ai(), gr = ft, ni = ft;
|
3274
|
+
function ii(e) {
|
3275
|
+
return be ? ft(e, "", -1) : Ie(e);
|
3276
3276
|
}
|
3277
|
-
function
|
3278
|
-
if (
|
3279
|
-
var e =
|
3277
|
+
function ai() {
|
3278
|
+
if (be !== void 0) return be;
|
3279
|
+
var e = Ee + Ee;
|
3280
3280
|
try {
|
3281
|
-
|
3281
|
+
ft(e, e), be = document.cookie.indexOf(e) !== -1, ii(e);
|
3282
3282
|
} catch {
|
3283
|
-
|
3283
|
+
be = !1;
|
3284
3284
|
}
|
3285
|
-
return
|
3285
|
+
return be;
|
3286
3286
|
}
|
3287
|
-
function
|
3287
|
+
function ft(e, t, r, n, i, a) {
|
3288
3288
|
if (typeof window < "u") {
|
3289
3289
|
var s = arguments.length > 1;
|
3290
|
-
return
|
3290
|
+
return be === !1 && (s ? fe(e, t) : pe(e)), s ? document.cookie = e + "=" + encodeURIComponent(t) + (r ? "; expires=" + new Date(+/* @__PURE__ */ new Date() + 1e3 * r).toUTCString() + (n ? "; path=" + n : "") + (i ? "; domain=" + i : "") + (a ? "; secure" : "") : "") : decodeURIComponent((("; " + document.cookie).split("; " + e + "=")[1] || "").split(";")[0]);
|
3291
3291
|
}
|
3292
3292
|
}
|
3293
|
-
var
|
3294
|
-
|
3295
|
-
|
3296
|
-
|
3297
|
-
var
|
3298
|
-
(
|
3299
|
-
var
|
3300
|
-
|
3293
|
+
var le = "localStorage", Gs = ct.bind(null, le), hr = ge(le, "getItem", pe), Hs = ge(le, "setItem", fe), si = ge(le, "removeItem", Ie), Ve = "sessionStorage", Fs = ct.bind(null, "sessionStorage");
|
3294
|
+
ge("sessionStorage", "getItem", pe);
|
3295
|
+
ge("sessionStorage", "setItem", fe);
|
3296
|
+
ge("sessionStorage", "removeItem", Ie);
|
3297
|
+
var Jr, oi = "any", ui = "*", Xt = typeof process < "u" ? process : {};
|
3298
|
+
(Jr = Xt.env) != null && Jr.NODE_ENV;
|
3299
|
+
var Ks = typeof window < "u";
|
3300
|
+
Xt.versions != null && Xt.versions.node != null;
|
3301
3301
|
typeof Deno < "u" && Deno.core;
|
3302
|
-
|
3303
|
-
function
|
3302
|
+
Ks && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
|
3303
|
+
function dt(e, t) {
|
3304
3304
|
return typeof t === e;
|
3305
3305
|
}
|
3306
|
-
|
3307
|
-
var
|
3308
|
-
|
3309
|
-
function
|
3306
|
+
dt.bind(null, "function");
|
3307
|
+
var qs = dt.bind(null, "string"), je = dt.bind(null, "undefined");
|
3308
|
+
dt.bind(null, "boolean");
|
3309
|
+
function Bs(e) {
|
3310
3310
|
return e && (typeof e == "object" || e !== null);
|
3311
3311
|
}
|
3312
|
-
function
|
3313
|
-
if (!
|
3312
|
+
function Ys(e) {
|
3313
|
+
if (!Bs(e)) return !1;
|
3314
3314
|
for (var t = e; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t);
|
3315
3315
|
return Object.getPrototypeOf(e) === t;
|
3316
3316
|
}
|
3317
|
-
function
|
3317
|
+
function Re(e) {
|
3318
3318
|
var t = e;
|
3319
3319
|
try {
|
3320
3320
|
if ((t = JSON.parse(e)) === "true") return !0;
|
3321
3321
|
if (t === "false") return !1;
|
3322
|
-
if (
|
3322
|
+
if (Ys(t)) return t;
|
3323
3323
|
parseFloat(t) === t && (t = parseFloat(t));
|
3324
3324
|
} catch {
|
3325
3325
|
}
|
3326
3326
|
if (t !== null && t !== "") return t;
|
3327
3327
|
}
|
3328
|
-
var
|
3329
|
-
function
|
3328
|
+
var Js = Gs(), Xs = Fs(), Qs = ai();
|
3329
|
+
function ci(e, t) {
|
3330
3330
|
if (e) {
|
3331
|
-
var r =
|
3332
|
-
if (n && !
|
3333
|
-
var a =
|
3331
|
+
var r = mr(t), n = !wr(r), i = vr(r) ? Re(localStorage.getItem(e)) : void 0;
|
3332
|
+
if (n && !je(i)) return i;
|
3333
|
+
var a = yr(r) ? Re(gr(e)) : void 0;
|
3334
3334
|
if (n && a) return a;
|
3335
|
-
var s =
|
3335
|
+
var s = br(r) ? Re(sessionStorage.getItem(e)) : void 0;
|
3336
3336
|
if (n && s) return s;
|
3337
|
-
var o =
|
3337
|
+
var o = pe(e);
|
3338
3338
|
return n ? o : { localStorage: i, sessionStorage: s, cookie: a, global: o };
|
3339
3339
|
}
|
3340
3340
|
}
|
3341
|
-
function
|
3342
|
-
if (e && !
|
3343
|
-
var n = {}, i =
|
3344
|
-
return
|
3341
|
+
function Zs(e, t, r) {
|
3342
|
+
if (e && !je(t)) {
|
3343
|
+
var n = {}, i = mr(r), a = JSON.stringify(t), s = !wr(i);
|
3344
|
+
return vr(i) && (n[le] = Ze(le, t, Re(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[le] : yr(i) && (n[Ee] = Ze(Ee, t, Re(gr(e))), ni(e, a), s) ? n[Ee] : br(i) && (n[Ve] = Ze(Ve, t, Re(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[Ve] : (n[we] = Ze(we, t, pe(e)), fe(e, t), s ? n[we] : n);
|
3345
3345
|
}
|
3346
3346
|
}
|
3347
|
-
function
|
3347
|
+
function eo(e, t) {
|
3348
3348
|
if (e) {
|
3349
|
-
var r =
|
3350
|
-
return !
|
3349
|
+
var r = mr(t), n = ci(e, ui), i = {};
|
3350
|
+
return !je(n.localStorage) && vr(r) && (localStorage.removeItem(e), i[le] = n.localStorage), !je(n.cookie) && yr(r) && (ii(e), i[Ee] = n.cookie), !je(n.sessionStorage) && br(r) && (sessionStorage.removeItem(e), i[Ve] = n.sessionStorage), !je(n.global) && pt(r, we) && (Ie(e), i[we] = n.global), i;
|
3351
3351
|
}
|
3352
3352
|
}
|
3353
|
-
function
|
3354
|
-
return e ?
|
3353
|
+
function mr(e) {
|
3354
|
+
return e ? qs(e) ? e : e.storage : oi;
|
3355
3355
|
}
|
3356
|
-
function
|
3357
|
-
return
|
3356
|
+
function vr(e) {
|
3357
|
+
return Js && pt(e, le);
|
3358
3358
|
}
|
3359
|
-
function
|
3360
|
-
return
|
3359
|
+
function yr(e) {
|
3360
|
+
return Qs && pt(e, Ee);
|
3361
3361
|
}
|
3362
|
-
function
|
3363
|
-
return
|
3362
|
+
function br(e) {
|
3363
|
+
return Xs && pt(e, Ve);
|
3364
3364
|
}
|
3365
|
-
function
|
3366
|
-
return e ===
|
3365
|
+
function wr(e) {
|
3366
|
+
return e === ui || e === "all";
|
3367
3367
|
}
|
3368
|
-
function
|
3369
|
-
return e ===
|
3368
|
+
function pt(e, t) {
|
3369
|
+
return e === oi || e === t || wr(e);
|
3370
3370
|
}
|
3371
3371
|
function Ze(e, t, r) {
|
3372
3372
|
return { location: e, current: t, previous: r };
|
3373
3373
|
}
|
3374
|
-
var
|
3375
|
-
function
|
3374
|
+
var to = { setItem: Zs, getItem: ci, removeItem: eo };
|
3375
|
+
function ro(e, t, r) {
|
3376
3376
|
return t in e ? Object.defineProperty(e, t, {
|
3377
3377
|
value: r,
|
3378
3378
|
enumerable: !0,
|
@@ -3380,7 +3380,7 @@ function zs(e, t, r) {
|
|
3380
3380
|
writable: !0
|
3381
3381
|
}) : e[t] = r, e;
|
3382
3382
|
}
|
3383
|
-
function
|
3383
|
+
function Xr(e, t) {
|
3384
3384
|
var r = Object.keys(e);
|
3385
3385
|
if (Object.getOwnPropertySymbols) {
|
3386
3386
|
var n = Object.getOwnPropertySymbols(e);
|
@@ -3390,22 +3390,22 @@ function qr(e, t) {
|
|
3390
3390
|
}
|
3391
3391
|
return r;
|
3392
3392
|
}
|
3393
|
-
function
|
3393
|
+
function Qr(e) {
|
3394
3394
|
for (var t = 1; t < arguments.length; t++) {
|
3395
3395
|
var r = arguments[t] != null ? arguments[t] : {};
|
3396
|
-
t % 2 ?
|
3397
|
-
|
3398
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
3396
|
+
t % 2 ? Xr(Object(r), !0).forEach(function(n) {
|
3397
|
+
ro(e, n, r[n]);
|
3398
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Xr(Object(r)).forEach(function(n) {
|
3399
3399
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
3400
3400
|
});
|
3401
3401
|
}
|
3402
3402
|
return e;
|
3403
3403
|
}
|
3404
|
-
function
|
3404
|
+
function no() {
|
3405
3405
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = {
|
3406
|
-
storage:
|
3406
|
+
storage: to
|
3407
3407
|
};
|
3408
|
-
return
|
3408
|
+
return Vs(Qr(Qr({}, t), e));
|
3409
3409
|
}
|
3410
3410
|
function ie(e) {
|
3411
3411
|
"@babel/helpers - typeof";
|
@@ -3415,7 +3415,7 @@ function ie(e) {
|
|
3415
3415
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
3416
3416
|
}, ie(e);
|
3417
3417
|
}
|
3418
|
-
function
|
3418
|
+
function io(e, t) {
|
3419
3419
|
if (ie(e) != "object" || !e) return e;
|
3420
3420
|
var r = e[Symbol.toPrimitive];
|
3421
3421
|
if (r !== void 0) {
|
@@ -3425,19 +3425,19 @@ function Vs(e, t) {
|
|
3425
3425
|
}
|
3426
3426
|
return (t === "string" ? String : Number)(e);
|
3427
3427
|
}
|
3428
|
-
function
|
3429
|
-
var t =
|
3428
|
+
function ao(e) {
|
3429
|
+
var t = io(e, "string");
|
3430
3430
|
return ie(t) == "symbol" ? t : t + "";
|
3431
3431
|
}
|
3432
|
-
function
|
3433
|
-
return (t =
|
3432
|
+
function Sr(e, t, r) {
|
3433
|
+
return (t = ao(t)) in e ? Object.defineProperty(e, t, {
|
3434
3434
|
value: r,
|
3435
3435
|
enumerable: !0,
|
3436
3436
|
configurable: !0,
|
3437
3437
|
writable: !0
|
3438
3438
|
}) : e[t] = r, e;
|
3439
3439
|
}
|
3440
|
-
function
|
3440
|
+
function Zr(e, t) {
|
3441
3441
|
var r = Object.keys(e);
|
3442
3442
|
if (Object.getOwnPropertySymbols) {
|
3443
3443
|
var n = Object.getOwnPropertySymbols(e);
|
@@ -3450,29 +3450,29 @@ function Yr(e, t) {
|
|
3450
3450
|
function Z(e) {
|
3451
3451
|
for (var t = 1; t < arguments.length; t++) {
|
3452
3452
|
var r = arguments[t] != null ? arguments[t] : {};
|
3453
|
-
t % 2 ?
|
3454
|
-
|
3455
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
3453
|
+
t % 2 ? Zr(Object(r), !0).forEach(function(n) {
|
3454
|
+
Sr(e, n, r[n]);
|
3455
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Zr(Object(r)).forEach(function(n) {
|
3456
3456
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
3457
3457
|
});
|
3458
3458
|
}
|
3459
3459
|
return e;
|
3460
3460
|
}
|
3461
|
-
function
|
3461
|
+
function li(e) {
|
3462
3462
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
3463
3463
|
}
|
3464
|
-
var
|
3465
|
-
function
|
3466
|
-
return
|
3464
|
+
var At = { exports: {} }, Ot = { exports: {} }, en;
|
3465
|
+
function fi() {
|
3466
|
+
return en || (en = 1, function(e) {
|
3467
3467
|
function t(r, n) {
|
3468
3468
|
this.v = r, this.k = n;
|
3469
3469
|
}
|
3470
3470
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3471
|
-
}(
|
3471
|
+
}(Ot)), Ot.exports;
|
3472
3472
|
}
|
3473
|
-
var
|
3474
|
-
function
|
3475
|
-
return
|
3473
|
+
var It = { exports: {} }, Pt = { exports: {} }, tn;
|
3474
|
+
function di() {
|
3475
|
+
return tn || (tn = 1, function(e) {
|
3476
3476
|
function t(r, n, i, a) {
|
3477
3477
|
var s = Object.defineProperty;
|
3478
3478
|
try {
|
@@ -3495,40 +3495,40 @@ function ui() {
|
|
3495
3495
|
}, e.exports.__esModule = !0, e.exports.default = e.exports, t(r, n, i, a);
|
3496
3496
|
}
|
3497
3497
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3498
|
-
}(
|
3498
|
+
}(Pt)), Pt.exports;
|
3499
3499
|
}
|
3500
|
-
var
|
3501
|
-
function
|
3502
|
-
return
|
3503
|
-
var t =
|
3500
|
+
var rn;
|
3501
|
+
function pi() {
|
3502
|
+
return rn || (rn = 1, function(e) {
|
3503
|
+
var t = di();
|
3504
3504
|
function r() {
|
3505
3505
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
3506
3506
|
var n, i, a = typeof Symbol == "function" ? Symbol : {}, s = a.iterator || "@@iterator", o = a.toStringTag || "@@toStringTag";
|
3507
3507
|
function u(b, y, d, P) {
|
3508
3508
|
var A = y && y.prototype instanceof c ? y : c, j = Object.create(A.prototype);
|
3509
|
-
return t(j, "_invoke", function(
|
3510
|
-
var U, D, L, z = 0,
|
3509
|
+
return t(j, "_invoke", function(x, R, N) {
|
3510
|
+
var U, D, L, z = 0, H = N || [], C = !1, _ = {
|
3511
3511
|
p: 0,
|
3512
3512
|
n: 0,
|
3513
3513
|
v: n,
|
3514
|
-
a:
|
3515
|
-
f:
|
3514
|
+
a: F,
|
3515
|
+
f: F.bind(n, 4),
|
3516
3516
|
d: function(E, p) {
|
3517
|
-
return U = E, D = 0, L = n,
|
3517
|
+
return U = E, D = 0, L = n, _.n = p, l;
|
3518
3518
|
}
|
3519
3519
|
};
|
3520
|
-
function
|
3521
|
-
for (D = G, L = E, i = 0; !C && z && !p && i <
|
3522
|
-
var p, h =
|
3523
|
-
G > 3 ? (p = w === E) && (L = h[(D = h[4]) ? 5 : (D = 3, 3)], h[4] = h[5] = n) : h[0] <= g && ((p = G < 2 && g < h[1]) ? (D = 0,
|
3520
|
+
function F(G, E) {
|
3521
|
+
for (D = G, L = E, i = 0; !C && z && !p && i < H.length; i++) {
|
3522
|
+
var p, h = H[i], g = _.p, w = h[2];
|
3523
|
+
G > 3 ? (p = w === E) && (L = h[(D = h[4]) ? 5 : (D = 3, 3)], h[4] = h[5] = n) : h[0] <= g && ((p = G < 2 && g < h[1]) ? (D = 0, _.v = E, _.n = h[1]) : g < w && (p = G < 3 || h[0] > E || E > w) && (h[4] = G, h[5] = E, _.n = w, D = 0));
|
3524
3524
|
}
|
3525
3525
|
if (p || G > 1) return l;
|
3526
3526
|
throw C = !0, E;
|
3527
3527
|
}
|
3528
3528
|
return function(G, E, p) {
|
3529
3529
|
if (z > 1) throw TypeError("Generator is already running");
|
3530
|
-
for (C && E === 1 &&
|
3531
|
-
U || (D ? D < 3 ? (D > 1 && (
|
3530
|
+
for (C && E === 1 && F(E, p), D = E, L = p; (i = D < 2 ? n : L) || !C; ) {
|
3531
|
+
U || (D ? D < 3 ? (D > 1 && (_.n = -1), F(D, L)) : _.n = L : _.v = L);
|
3532
3532
|
try {
|
3533
3533
|
if (z = 2, U) {
|
3534
3534
|
if (D || (G = "next"), i = U[G]) {
|
@@ -3537,7 +3537,7 @@ function ci() {
|
|
3537
3537
|
L = i.value, D < 2 && (D = 0);
|
3538
3538
|
} else D === 1 && (i = U.return) && i.call(U), D < 2 && (L = TypeError("The iterator does not provide a '" + G + "' method"), D = 1);
|
3539
3539
|
U = n;
|
3540
|
-
} else if ((i = (C =
|
3540
|
+
} else if ((i = (C = _.n < 0) ? L : x.call(R, _)) !== l) break;
|
3541
3541
|
} catch (h) {
|
3542
3542
|
U = n, D = 1, L = h;
|
3543
3543
|
} finally {
|
@@ -3577,12 +3577,12 @@ function ci() {
|
|
3577
3577
|
}, e.exports.__esModule = !0, e.exports.default = e.exports)();
|
3578
3578
|
}
|
3579
3579
|
e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3580
|
-
}(
|
3580
|
+
}(It)), It.exports;
|
3581
3581
|
}
|
3582
|
-
var
|
3583
|
-
function
|
3584
|
-
return
|
3585
|
-
var t =
|
3582
|
+
var Tt = { exports: {} }, jt = { exports: {} }, Nt = { exports: {} }, nn;
|
3583
|
+
function gi() {
|
3584
|
+
return nn || (nn = 1, function(e) {
|
3585
|
+
var t = fi(), r = di();
|
3586
3586
|
function n(i, a) {
|
3587
3587
|
function s(u, l, c, m) {
|
3588
3588
|
try {
|
@@ -3613,22 +3613,22 @@ function li() {
|
|
3613
3613
|
}, !0);
|
3614
3614
|
}
|
3615
3615
|
e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3616
|
-
}(
|
3616
|
+
}(Nt)), Nt.exports;
|
3617
3617
|
}
|
3618
|
-
var
|
3619
|
-
function
|
3620
|
-
return
|
3621
|
-
var t =
|
3618
|
+
var an;
|
3619
|
+
function hi() {
|
3620
|
+
return an || (an = 1, function(e) {
|
3621
|
+
var t = pi(), r = gi();
|
3622
3622
|
function n(i, a, s, o, u) {
|
3623
3623
|
return new r(t().w(i, a, s, o), u || Promise);
|
3624
3624
|
}
|
3625
3625
|
e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3626
|
-
}(
|
3626
|
+
}(jt)), jt.exports;
|
3627
3627
|
}
|
3628
|
-
var
|
3629
|
-
function
|
3630
|
-
return
|
3631
|
-
var t =
|
3628
|
+
var sn;
|
3629
|
+
function so() {
|
3630
|
+
return sn || (sn = 1, function(e) {
|
3631
|
+
var t = hi();
|
3632
3632
|
function r(n, i, a, s, o) {
|
3633
3633
|
var u = t(n, i, a, s, o);
|
3634
3634
|
return u.next().then(function(l) {
|
@@ -3636,11 +3636,11 @@ function Fs() {
|
|
3636
3636
|
});
|
3637
3637
|
}
|
3638
3638
|
e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3639
|
-
}(
|
3639
|
+
}(Tt)), Tt.exports;
|
3640
3640
|
}
|
3641
|
-
var
|
3642
|
-
function
|
3643
|
-
return
|
3641
|
+
var Rt = { exports: {} }, on;
|
3642
|
+
function oo() {
|
3643
|
+
return on || (on = 1, function(e) {
|
3644
3644
|
function t(r) {
|
3645
3645
|
var n = Object(r), i = [];
|
3646
3646
|
for (var a in n) i.unshift(a);
|
@@ -3650,11 +3650,11 @@ function Hs() {
|
|
3650
3650
|
};
|
3651
3651
|
}
|
3652
3652
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3653
|
-
}(
|
3653
|
+
}(Rt)), Rt.exports;
|
3654
3654
|
}
|
3655
|
-
var
|
3656
|
-
function
|
3657
|
-
return
|
3655
|
+
var xt = { exports: {} }, kt = { exports: {} }, un;
|
3656
|
+
function uo() {
|
3657
|
+
return un || (un = 1, function(e) {
|
3658
3658
|
function t(r) {
|
3659
3659
|
"@babel/helpers - typeof";
|
3660
3660
|
return e.exports = t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
@@ -3664,12 +3664,12 @@ function Ks() {
|
|
3664
3664
|
}, e.exports.__esModule = !0, e.exports.default = e.exports, t(r);
|
3665
3665
|
}
|
3666
3666
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3667
|
-
}(
|
3667
|
+
}(kt)), kt.exports;
|
3668
3668
|
}
|
3669
|
-
var
|
3670
|
-
function
|
3671
|
-
return
|
3672
|
-
var t =
|
3669
|
+
var cn;
|
3670
|
+
function co() {
|
3671
|
+
return cn || (cn = 1, function(e) {
|
3672
|
+
var t = uo().default;
|
3673
3673
|
function r(n) {
|
3674
3674
|
if (n != null) {
|
3675
3675
|
var i = n[typeof Symbol == "function" && Symbol.iterator || "@@iterator"], a = 0;
|
@@ -3687,12 +3687,12 @@ function qs() {
|
|
3687
3687
|
throw new TypeError(t(n) + " is not iterable");
|
3688
3688
|
}
|
3689
3689
|
e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3690
|
-
}(
|
3690
|
+
}(xt)), xt.exports;
|
3691
3691
|
}
|
3692
|
-
var
|
3693
|
-
function
|
3694
|
-
return
|
3695
|
-
var t =
|
3692
|
+
var ln;
|
3693
|
+
function lo() {
|
3694
|
+
return ln || (ln = 1, function(e) {
|
3695
|
+
var t = fi(), r = pi(), n = so(), i = hi(), a = gi(), s = oo(), o = co();
|
3696
3696
|
function u() {
|
3697
3697
|
var l = r(), c = l.m(u), m = (Object.getPrototypeOf ? Object.getPrototypeOf(c) : c.__proto__).constructor;
|
3698
3698
|
function f(O) {
|
@@ -3718,16 +3718,16 @@ function Bs() {
|
|
3718
3718
|
abrupt: function(A, j) {
|
3719
3719
|
return y(d.a, S[A], j);
|
3720
3720
|
},
|
3721
|
-
delegateYield: function(A, j,
|
3722
|
-
return b.resultName = j, y(d.d, o(A),
|
3721
|
+
delegateYield: function(A, j, x) {
|
3722
|
+
return b.resultName = j, y(d.d, o(A), x);
|
3723
3723
|
},
|
3724
3724
|
finish: function(A) {
|
3725
3725
|
return y(d.f, A);
|
3726
3726
|
}
|
3727
|
-
}, y = function(A, j,
|
3727
|
+
}, y = function(A, j, x) {
|
3728
3728
|
d.p = b.prev, d.n = b.next;
|
3729
3729
|
try {
|
3730
|
-
return A(j,
|
3730
|
+
return A(j, x);
|
3731
3731
|
} finally {
|
3732
3732
|
b.next = d.n;
|
3733
3733
|
}
|
@@ -3759,24 +3759,24 @@ function Bs() {
|
|
3759
3759
|
}, e.exports.__esModule = !0, e.exports.default = e.exports)();
|
3760
3760
|
}
|
3761
3761
|
e.exports = u, e.exports.__esModule = !0, e.exports.default = e.exports;
|
3762
|
-
}(
|
3763
|
-
}
|
3764
|
-
var
|
3765
|
-
function
|
3766
|
-
if (
|
3767
|
-
|
3768
|
-
var e =
|
3769
|
-
|
3762
|
+
}(At)), At.exports;
|
3763
|
+
}
|
3764
|
+
var Ct, fn;
|
3765
|
+
function fo() {
|
3766
|
+
if (fn) return Ct;
|
3767
|
+
fn = 1;
|
3768
|
+
var e = lo()();
|
3769
|
+
Ct = e;
|
3770
3770
|
try {
|
3771
3771
|
regeneratorRuntime = e;
|
3772
3772
|
} catch {
|
3773
3773
|
typeof globalThis == "object" ? globalThis.regeneratorRuntime = e : Function("r", "regeneratorRuntime = r")(e);
|
3774
3774
|
}
|
3775
|
-
return
|
3775
|
+
return Ct;
|
3776
3776
|
}
|
3777
|
-
var
|
3778
|
-
const J = /* @__PURE__ */
|
3779
|
-
function
|
3777
|
+
var po = fo();
|
3778
|
+
const J = /* @__PURE__ */ li(po);
|
3779
|
+
function dn(e, t, r, n, i, a, s) {
|
3780
3780
|
try {
|
3781
3781
|
var o = e[a](s), u = o.value;
|
3782
3782
|
} catch (l) {
|
@@ -3784,25 +3784,25 @@ function un(e, t, r, n, i, a, s) {
|
|
3784
3784
|
}
|
3785
3785
|
o.done ? t(u) : Promise.resolve(u).then(n, i);
|
3786
3786
|
}
|
3787
|
-
function
|
3787
|
+
function se(e) {
|
3788
3788
|
return function() {
|
3789
3789
|
var t = this, r = arguments;
|
3790
3790
|
return new Promise(function(n, i) {
|
3791
3791
|
var a = e.apply(t, r);
|
3792
3792
|
function s(u) {
|
3793
|
-
|
3793
|
+
dn(a, n, i, s, o, "next", u);
|
3794
3794
|
}
|
3795
3795
|
function o(u) {
|
3796
|
-
|
3796
|
+
dn(a, n, i, s, o, "throw", u);
|
3797
3797
|
}
|
3798
3798
|
s(void 0);
|
3799
3799
|
});
|
3800
3800
|
};
|
3801
3801
|
}
|
3802
|
-
var
|
3802
|
+
var pn = function() {
|
3803
3803
|
};
|
3804
|
-
function
|
3805
|
-
var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, u = t.onEmpty ||
|
3804
|
+
function go(e, t) {
|
3805
|
+
var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, u = t.onEmpty || pn, l = t.onPause || pn;
|
3806
3806
|
function c(f) {
|
3807
3807
|
clearInterval(r);
|
3808
3808
|
var S = a.splice(0, s);
|
@@ -3821,60 +3821,61 @@ function Xs(e, t) {
|
|
3821
3821
|
f && c(), clearInterval(r), i = !1, l(a);
|
3822
3822
|
} };
|
3823
3823
|
}
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3824
|
+
var gt = "sessionStorage";
|
3825
|
+
ct.bind(null, gt);
|
3826
|
+
var ho = ge(gt, "getItem", pe), mo = ge(gt, "setItem", fe);
|
3827
|
+
ge(gt, "removeItem", Ie);
|
3828
|
+
var tt = "__", ht = "session", mi = tt + ht, vi = "page", gn = ["id", "createdAt", "created"];
|
3829
|
+
function Qt(e) {
|
3829
3830
|
var t = e ? new Date(e) : /* @__PURE__ */ new Date();
|
3830
3831
|
return [t.toISOString(), t.getTime()];
|
3831
3832
|
}
|
3832
|
-
function
|
3833
|
-
var e =
|
3834
|
-
return { id:
|
3833
|
+
function yi() {
|
3834
|
+
var e = Qt(), t = e[0], r = e[1];
|
3835
|
+
return { id: Oe(), created: r, createdAt: t };
|
3835
3836
|
}
|
3836
|
-
var
|
3837
|
-
function
|
3838
|
-
for (var r =
|
3839
|
-
var l =
|
3837
|
+
var vo = { session: [ho, mo], page: [pe, fe] };
|
3838
|
+
function mt(e, t) {
|
3839
|
+
for (var r = vo[e], n = r[0], i = r[1], a = yi(), s = !1, o = {}, u = 0; u < gn.length; u++) {
|
3840
|
+
var l = gn[u], c = tt + e + tt + ht + tt + l, m = n(c);
|
3840
3841
|
s = t || !m, (t || !t && !m) && i(c, a[l]);
|
3841
3842
|
var f = m && !t ? m : a[l], S = l !== "created" ? f : Number(f);
|
3842
3843
|
o[l] = S;
|
3843
3844
|
}
|
3844
|
-
return
|
3845
|
+
return Er(o, s);
|
3845
3846
|
}
|
3846
|
-
function
|
3847
|
+
function Er(e, t) {
|
3847
3848
|
var r = Date.now();
|
3848
3849
|
return e.elapsed = r - e.created, e.expires && (e.remaining = Math.max(e.expires - r, 0), e.isExpired = e.remaining === 0), e.isNew = t, e;
|
3849
3850
|
}
|
3850
3851
|
function Fe(e, t) {
|
3851
3852
|
e === void 0 && (e = 30);
|
3852
|
-
var r =
|
3853
|
-
return t ? n :
|
3853
|
+
var r = gr(mi), n = r ? JSON.parse(r) : at(e);
|
3854
|
+
return t ? n : Er(n, !r);
|
3854
3855
|
}
|
3855
|
-
function
|
3856
|
+
function at(e, t, r) {
|
3856
3857
|
e === void 0 && (e = 30);
|
3857
|
-
var n = r ? Fe(e, !0) :
|
3858
|
+
var n = r ? Fe(e, !0) : yi(), i = 60 * e, a = n.created;
|
3858
3859
|
if (r) {
|
3859
|
-
var s =
|
3860
|
+
var s = Qt(), o = s[0], u = s[1];
|
3860
3861
|
n.modified = u, n.modifiedAt = o, a = u;
|
3861
3862
|
}
|
3862
|
-
var l =
|
3863
|
-
return n.expires = l[1], n.expiresAt = c, n.duration = 1e3 * i, t && (n = Object.assign(n, t)),
|
3863
|
+
var l = Qt(a + 1e3 * i), c = l[0];
|
3864
|
+
return n.expires = l[1], n.expiresAt = c, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), ni(mi, JSON.stringify(n), i), Er(n, !r);
|
3864
3865
|
}
|
3865
|
-
var
|
3866
|
-
return
|
3867
|
-
},
|
3868
|
-
function
|
3866
|
+
var yo = function(e, t) {
|
3867
|
+
return at(e, t, !0);
|
3868
|
+
}, bi = mt.bind(null, ht), bo = mt.bind(null, ht, !0), Ar = mt.bind(null, vi), hn = mt.bind(null, vi, !0), Ae = typeof window < "u";
|
3869
|
+
function wo(e) {
|
3869
3870
|
return typeof e == "string";
|
3870
3871
|
}
|
3871
|
-
function
|
3872
|
+
function mn(e) {
|
3872
3873
|
return typeof e == "boolean";
|
3873
3874
|
}
|
3874
|
-
var
|
3875
|
-
function
|
3876
|
-
if (
|
3877
|
-
|
3875
|
+
var Mt, vn;
|
3876
|
+
function So() {
|
3877
|
+
if (vn) return Mt;
|
3878
|
+
vn = 1;
|
3878
3879
|
var e = function(d) {
|
3879
3880
|
return t(d) && !r(d);
|
3880
3881
|
};
|
@@ -3934,8 +3935,8 @@ function io() {
|
|
3934
3935
|
}
|
3935
3936
|
function O(y, d, P) {
|
3936
3937
|
P = P || {}, P.arrayMerge = P.arrayMerge || u, P.isMergeableObject = P.isMergeableObject || e, P.cloneUnlessOtherwiseSpecified = o;
|
3937
|
-
var A = Array.isArray(d), j = Array.isArray(y),
|
3938
|
-
return
|
3938
|
+
var A = Array.isArray(d), j = Array.isArray(y), x = A === j;
|
3939
|
+
return x ? A ? P.arrayMerge(y, d, P) : v(y, d, P) : o(d, P);
|
3939
3940
|
}
|
3940
3941
|
O.all = function(d, P) {
|
3941
3942
|
if (!Array.isArray(d))
|
@@ -3945,15 +3946,15 @@ function io() {
|
|
3945
3946
|
}, {});
|
3946
3947
|
};
|
3947
3948
|
var b = O;
|
3948
|
-
return
|
3949
|
+
return Mt = b, Mt;
|
3949
3950
|
}
|
3950
|
-
var
|
3951
|
-
const
|
3951
|
+
var Eo = So();
|
3952
|
+
const Ao = /* @__PURE__ */ li(Eo);
|
3952
3953
|
/**
|
3953
3954
|
* @license MIT <https://opensource.org/licenses/MIT>
|
3954
3955
|
* @copyright Michael Hart 2024
|
3955
3956
|
*/
|
3956
|
-
const
|
3957
|
+
const Zt = new TextEncoder(), Oo = {
|
3957
3958
|
appstream2: "appstream",
|
3958
3959
|
cloudhsmv2: "cloudhsm",
|
3959
3960
|
email: "ses",
|
@@ -3964,7 +3965,7 @@ const Yt = new TextEncoder(), oo = {
|
|
3964
3965
|
"git-codecommit": "codecommit",
|
3965
3966
|
"mturk-requester-sandbox": "mturk-requester",
|
3966
3967
|
"personalize-runtime": "personalize"
|
3967
|
-
},
|
3968
|
+
}, Io = /* @__PURE__ */ new Set([
|
3968
3969
|
"authorization",
|
3969
3970
|
"content-type",
|
3970
3971
|
"content-length",
|
@@ -3975,7 +3976,7 @@ const Yt = new TextEncoder(), oo = {
|
|
3975
3976
|
"range",
|
3976
3977
|
"connection"
|
3977
3978
|
]);
|
3978
|
-
class
|
3979
|
+
class Po {
|
3979
3980
|
constructor({ accessKeyId: t, secretAccessKey: r, sessionToken: n, service: i, region: a, cache: s, retries: o, initRetryMs: u }) {
|
3980
3981
|
if (t == null) throw new TypeError("accessKeyId is a required option");
|
3981
3982
|
if (r == null) throw new TypeError("secretAccessKey is a required option");
|
@@ -3986,7 +3987,7 @@ class co {
|
|
3986
3987
|
const { method: a, url: s, headers: o, body: u } = t;
|
3987
3988
|
r = Object.assign({ method: a, url: s, headers: o }, r), r.body == null && o.has("Content-Type") && (r.body = u != null && o.has("X-Amz-Content-Sha256") ? u : await t.clone().arrayBuffer()), t = s;
|
3988
3989
|
}
|
3989
|
-
const n = new
|
3990
|
+
const n = new To(Object.assign({ url: t.toString() }, r, this, r && r.aws)), i = Object.assign({}, r, await n.sign());
|
3990
3991
|
delete i.aws;
|
3991
3992
|
try {
|
3992
3993
|
return new Request(i.url.toString(), i);
|
@@ -4009,16 +4010,16 @@ class co {
|
|
4009
4010
|
throw new Error("An unknown error occurred, ensure retries is not negative");
|
4010
4011
|
}
|
4011
4012
|
}
|
4012
|
-
class
|
4013
|
+
class To {
|
4013
4014
|
constructor({ method: t, url: r, headers: n, body: i, accessKeyId: a, secretAccessKey: s, sessionToken: o, service: u, region: l, cache: c, datetime: m, signQuery: f, appendSessionToken: S, allHeaders: v, singleEncode: O }) {
|
4014
4015
|
if (r == null) throw new TypeError("url is a required option");
|
4015
4016
|
if (a == null) throw new TypeError("accessKeyId is a required option");
|
4016
4017
|
if (s == null) throw new TypeError("secretAccessKey is a required option");
|
4017
4018
|
this.method = t || (i ? "POST" : "GET"), this.url = new URL(r), this.headers = new Headers(n || {}), this.body = i, this.accessKeyId = a, this.secretAccessKey = s, this.sessionToken = o;
|
4018
4019
|
let b, y;
|
4019
|
-
(!u || !l) && ([b, y] =
|
4020
|
+
(!u || !l) && ([b, y] = jo(this.url, this.headers)), this.service = u || b || "", this.region = l || y || "us-east-1", this.cache = c || /* @__PURE__ */ new Map(), this.datetime = m || (/* @__PURE__ */ new Date()).toISOString().replace(/[:-]|\.\d{3}/g, ""), this.signQuery = f, this.appendSessionToken = S || this.service === "iotdevicegateway", this.headers.delete("Host"), this.service === "s3" && !this.signQuery && !this.headers.has("X-Amz-Content-Sha256") && this.headers.set("X-Amz-Content-Sha256", "UNSIGNED-PAYLOAD");
|
4020
4021
|
const d = this.signQuery ? this.url.searchParams : this.headers;
|
4021
|
-
if (d.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && d.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((A) => v || !
|
4022
|
+
if (d.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && d.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((A) => v || !Io.has(A)).sort(), this.signedHeaders = this.signableHeaders.join(";"), this.canonicalHeaders = this.signableHeaders.map((A) => A + ":" + (A === "host" ? this.url.host : (this.headers.get(A) || "").replace(/\s+/g, " "))).join(`
|
4022
4023
|
`), this.credentialString = [this.datetime.slice(0, 8), this.region, this.service, "aws4_request"].join("/"), this.signQuery && (this.service === "s3" && !d.has("X-Amz-Expires") && d.set("X-Amz-Expires", "86400"), d.set("X-Amz-Algorithm", "AWS4-HMAC-SHA256"), d.set("X-Amz-Credential", this.accessKeyId + "/" + this.credentialString), d.set("X-Amz-SignedHeaders", this.signedHeaders)), this.service === "s3")
|
4023
4024
|
try {
|
4024
4025
|
this.encodedPath = decodeURIComponent(this.url.pathname.replace(/\+/g, " "));
|
@@ -4027,7 +4028,7 @@ class lo {
|
|
4027
4028
|
}
|
4028
4029
|
else
|
4029
4030
|
this.encodedPath = this.url.pathname.replace(/\/+/g, "/");
|
4030
|
-
O || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath =
|
4031
|
+
O || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath = wn(this.encodedPath);
|
4031
4032
|
const P = /* @__PURE__ */ new Set();
|
4032
4033
|
this.encodedSearch = [...this.url.searchParams].filter(([A]) => {
|
4033
4034
|
if (!A) return !1;
|
@@ -4036,7 +4037,7 @@ class lo {
|
|
4036
4037
|
P.add(A);
|
4037
4038
|
}
|
4038
4039
|
return !0;
|
4039
|
-
}).map((A) => A.map((j) =>
|
4040
|
+
}).map((A) => A.map((j) => wn(encodeURIComponent(j)))).sort(([A, j], [x, R]) => A < x ? -1 : A > x ? 1 : j < R ? -1 : j > R ? 1 : 0).map((A) => A.join("=")).join("&");
|
4040
4041
|
}
|
4041
4042
|
async sign() {
|
4042
4043
|
return this.signQuery ? (this.url.searchParams.set("X-Amz-Signature", await this.signature()), this.sessionToken && this.appendSessionToken && this.url.searchParams.set("X-Amz-Security-Token", this.sessionToken)) : this.headers.set("Authorization", await this.authHeader()), {
|
@@ -4057,17 +4058,17 @@ class lo {
|
|
4057
4058
|
const t = this.datetime.slice(0, 8), r = [this.secretAccessKey, t, this.region, this.service].join();
|
4058
4059
|
let n = this.cache.get(r);
|
4059
4060
|
if (!n) {
|
4060
|
-
const i = await
|
4061
|
-
n = await
|
4061
|
+
const i = await $e("AWS4" + this.secretAccessKey, t), a = await $e(i, this.region), s = await $e(a, this.service);
|
4062
|
+
n = await $e(s, "aws4_request"), this.cache.set(r, n);
|
4062
4063
|
}
|
4063
|
-
return
|
4064
|
+
return Dt(await $e(n, await this.stringToSign()));
|
4064
4065
|
}
|
4065
4066
|
async stringToSign() {
|
4066
4067
|
return [
|
4067
4068
|
"AWS4-HMAC-SHA256",
|
4068
4069
|
this.datetime,
|
4069
4070
|
this.credentialString,
|
4070
|
-
|
4071
|
+
Dt(await yn(await this.canonicalString()))
|
4071
4072
|
].join(`
|
4072
4073
|
`);
|
4073
4074
|
}
|
@@ -4088,38 +4089,38 @@ class lo {
|
|
4088
4089
|
if (t == null) {
|
4089
4090
|
if (this.body && typeof this.body != "string" && !("byteLength" in this.body))
|
4090
4091
|
throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");
|
4091
|
-
t =
|
4092
|
+
t = Dt(await yn(this.body || ""));
|
4092
4093
|
}
|
4093
4094
|
return t;
|
4094
4095
|
}
|
4095
4096
|
}
|
4096
|
-
async function
|
4097
|
+
async function $e(e, t) {
|
4097
4098
|
const r = await crypto.subtle.importKey(
|
4098
4099
|
"raw",
|
4099
|
-
typeof e == "string" ?
|
4100
|
+
typeof e == "string" ? Zt.encode(e) : e,
|
4100
4101
|
{ name: "HMAC", hash: { name: "SHA-256" } },
|
4101
4102
|
!1,
|
4102
4103
|
["sign"]
|
4103
4104
|
);
|
4104
|
-
return crypto.subtle.sign("HMAC", r,
|
4105
|
+
return crypto.subtle.sign("HMAC", r, Zt.encode(t));
|
4105
4106
|
}
|
4106
|
-
async function
|
4107
|
-
return crypto.subtle.digest("SHA-256", typeof e == "string" ?
|
4107
|
+
async function yn(e) {
|
4108
|
+
return crypto.subtle.digest("SHA-256", typeof e == "string" ? Zt.encode(e) : e);
|
4108
4109
|
}
|
4109
|
-
const
|
4110
|
-
function
|
4110
|
+
const bn = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
|
4111
|
+
function Dt(e) {
|
4111
4112
|
const t = new Uint8Array(e);
|
4112
4113
|
let r = "";
|
4113
4114
|
for (let n = 0; n < t.length; n++) {
|
4114
4115
|
const i = t[n];
|
4115
|
-
r +=
|
4116
|
+
r += bn[i >>> 4 & 15], r += bn[i & 15];
|
4116
4117
|
}
|
4117
4118
|
return r;
|
4118
4119
|
}
|
4119
|
-
function
|
4120
|
+
function wn(e) {
|
4120
4121
|
return e.replace(/[!'()*]/g, (t) => "%" + t.charCodeAt(0).toString(16).toUpperCase());
|
4121
4122
|
}
|
4122
|
-
function
|
4123
|
+
function jo(e, t) {
|
4123
4124
|
const { hostname: r, pathname: n } = e;
|
4124
4125
|
if (r.endsWith(".on.aws")) {
|
4125
4126
|
const o = r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);
|
@@ -4143,30 +4144,30 @@ function fo(e, t) {
|
|
4143
4144
|
const o = (t.get("X-Amz-Target") || "").split(".")[0];
|
4144
4145
|
o === "AnyScaleFrontendService" ? a = "application-autoscaling" : o === "AnyScaleScalingPlannerFrontendService" && (a = "autoscaling-plans");
|
4145
4146
|
} else s == null && a.startsWith("s3-") ? (s = a.slice(3).replace(/^fips-|^external-1/, ""), a = "s3") : a.endsWith("-fips") ? a = a.slice(0, -5) : s && /-\d$/.test(a) && !/-\d$/.test(s) && ([a, s] = [s, a]);
|
4146
|
-
return [
|
4147
|
+
return [Oo[a] || a, s || ""];
|
4147
4148
|
}
|
4148
|
-
var
|
4149
|
-
function
|
4149
|
+
var Or = "Event", Sn = Or + "Listener";
|
4150
|
+
function No(e) {
|
4150
4151
|
return function(t, r, n, i) {
|
4151
|
-
var a = n ||
|
4152
|
-
if (!
|
4153
|
-
var o =
|
4152
|
+
var a = n || va, s = i || !1;
|
4153
|
+
if (!Ke) return a;
|
4154
|
+
var o = st(r), u = st(t, !0);
|
4154
4155
|
if (!u.length) throw new Error("noElements");
|
4155
|
-
if (!o.length) throw new Error("
|
4156
|
+
if (!o.length) throw new Error("no" + Or);
|
4156
4157
|
var l = [];
|
4157
4158
|
return function c(m) {
|
4158
4159
|
m && (l = []);
|
4159
|
-
for (var f = m ? "add" +
|
4160
|
+
for (var f = m ? "add" + Sn : "remove" + Sn, S = 0; S < u.length; S++) {
|
4160
4161
|
var v = u[S];
|
4161
|
-
l[S] = m ? s && s.once ?
|
4162
|
+
l[S] = m ? s && s.once ? Ro(a) : a : l[S] || a;
|
4162
4163
|
for (var O = 0; O < o.length; O++) v[f] ? v["on" + o[O]] = m ? l[S] : null : v[f](o[O], l[S], s);
|
4163
4164
|
}
|
4164
4165
|
return c.bind(null, !m);
|
4165
4166
|
}(e);
|
4166
4167
|
};
|
4167
4168
|
}
|
4168
|
-
function
|
4169
|
-
if (
|
4169
|
+
function st(e, t) {
|
4170
|
+
if (Gt(e)) return t ? st(document.querySelectorAll(e)) : (r = e).split(r.indexOf(",") > -1 ? "," : " ").map(function(s) {
|
4170
4171
|
return s.trim();
|
4171
4172
|
});
|
4172
4173
|
var r;
|
@@ -4174,30 +4175,30 @@ function at(e, t) {
|
|
4174
4175
|
for (var n = [], i = e.length >>> 0; i--; ) n[i] = e[i];
|
4175
4176
|
return n;
|
4176
4177
|
}
|
4177
|
-
var a =
|
4178
|
+
var a = Ra(e);
|
4178
4179
|
return t ? a.map(function(s) {
|
4179
|
-
return
|
4180
|
+
return Gt(s) ? st(s, !0) : s;
|
4180
4181
|
}).flat() : a;
|
4181
4182
|
}
|
4182
|
-
function
|
4183
|
+
function Ro(e, t) {
|
4183
4184
|
var r;
|
4184
4185
|
return function() {
|
4185
4186
|
return e && (r = e.apply(this, arguments), e = null), r;
|
4186
4187
|
};
|
4187
4188
|
}
|
4188
|
-
var
|
4189
|
-
function
|
4190
|
-
return
|
4189
|
+
var $t = No(Or);
|
4190
|
+
function wi(e, t) {
|
4191
|
+
return Ke && Vt(window[e]) ? (r = window[e], n = t, (i = window) === void 0 && (i = null), Vt(r) ? function() {
|
4191
4192
|
r.apply(i, arguments), n.apply(i, arguments);
|
4192
4193
|
} : n) : window[e] = t;
|
4193
4194
|
var r, n, i;
|
4194
4195
|
}
|
4195
|
-
|
4196
|
-
|
4197
|
-
var
|
4198
|
-
function
|
4199
|
-
if (
|
4200
|
-
var t =
|
4196
|
+
wi.bind(null, "onerror");
|
4197
|
+
wi.bind(null, "onload");
|
4198
|
+
var Si = typeof window > "u", En = "hidden";
|
4199
|
+
function xo(e) {
|
4200
|
+
if (Si) return !1;
|
4201
|
+
var t = ko(), r = "".concat(t.replace(/[H|h]idden/, ""), "visibilitychange"), n = function() {
|
4201
4202
|
return e(!!document[t]);
|
4202
4203
|
}, i = function() {
|
4203
4204
|
return document.addEventListener(r, n);
|
@@ -4206,15 +4207,15 @@ function ho(e) {
|
|
4206
4207
|
return document.removeEventListener(r, n), i;
|
4207
4208
|
};
|
4208
4209
|
}
|
4209
|
-
function
|
4210
|
+
function ko() {
|
4210
4211
|
var e = ["webkit", "moz", "ms", "o"];
|
4211
|
-
return
|
4212
|
+
return Si || En in document ? En : e.reduce(function(t, r) {
|
4212
4213
|
var n = r + "Hidden";
|
4213
4214
|
return !t && n in document ? n : t;
|
4214
4215
|
}, null);
|
4215
4216
|
}
|
4216
|
-
var
|
4217
|
-
function
|
4217
|
+
var Co = ["mousemove", "mousedown", "touchmove", "touchstart", "touchend", "keydown"];
|
4218
|
+
function Mo(e, t) {
|
4218
4219
|
t === void 0 && (t = {});
|
4219
4220
|
var r = /* @__PURE__ */ function(s, o) {
|
4220
4221
|
var u = this, l = !1;
|
@@ -4225,12 +4226,12 @@ function yo(e, t) {
|
|
4225
4226
|
};
|
4226
4227
|
}(e, t.throttle || 1e4), n = [];
|
4227
4228
|
function i() {
|
4228
|
-
var s =
|
4229
|
+
var s = xo(function(o) {
|
4229
4230
|
o || r({ type: "tabVisible" });
|
4230
4231
|
});
|
4231
|
-
return n = [s].concat(
|
4232
|
-
return
|
4233
|
-
})).concat(
|
4232
|
+
return n = [s].concat(Co.map(function(o) {
|
4233
|
+
return $t(document, o, r);
|
4234
|
+
})).concat($t(window, "load", r)).concat($t(window, "scroll", r, { capture: !0, passive: !0 })), a;
|
4234
4235
|
}
|
4235
4236
|
function a() {
|
4236
4237
|
n.map(function(s) {
|
@@ -4241,16 +4242,16 @@ function yo(e, t) {
|
|
4241
4242
|
return a(), i;
|
4242
4243
|
};
|
4243
4244
|
}
|
4244
|
-
function
|
4245
|
+
function Do(e) {
|
4245
4246
|
var t, r, n = e.onIdle, i = e.onWakeUp, a = e.onHeartbeat, s = e.timeout, o = s, u = e.throttle, l = u, c = !1, m = !1, f = /* @__PURE__ */ new Date(), S = function() {
|
4246
4247
|
return clearTimeout(t);
|
4247
4248
|
};
|
4248
4249
|
function v(b) {
|
4249
|
-
S(), a && !c && a(
|
4250
|
-
c = !0, n && (r = /* @__PURE__ */ new Date(), n(
|
4250
|
+
S(), a && !c && a(_e(f), b), i && c && (c = !1, i(_e(r), b), f = /* @__PURE__ */ new Date()), t = setTimeout(function() {
|
4251
|
+
c = !0, n && (r = /* @__PURE__ */ new Date(), n(_e(f), b));
|
4251
4252
|
}, o);
|
4252
4253
|
}
|
4253
|
-
var O =
|
4254
|
+
var O = Mo(v, { throttle: l });
|
4254
4255
|
return { disable: function() {
|
4255
4256
|
m = !0, c = !1, S();
|
4256
4257
|
var b = O();
|
@@ -4258,13 +4259,13 @@ function bo(e) {
|
|
4258
4259
|
return m = !1, f = /* @__PURE__ */ new Date(), v({ type: "load" }), b();
|
4259
4260
|
};
|
4260
4261
|
}, getStatus: function() {
|
4261
|
-
return { isIdle: c, isDisabled: m, active: c ? 0 :
|
4262
|
+
return { isIdle: c, isDisabled: m, active: c ? 0 : _e(f, m), idle: c ? _e(r, m) : 0 };
|
4262
4263
|
} };
|
4263
4264
|
}
|
4264
|
-
function
|
4265
|
+
function _e(e, t) {
|
4265
4266
|
return t ? 0 : Math.round((/* @__PURE__ */ new Date() - e) / 1e3);
|
4266
4267
|
}
|
4267
|
-
var
|
4268
|
+
var Ei = "object", $o = "string", An = "?", ee = "name", te = "version", _o = "", On = "function", Uo = "undefined", Lo = "BlackBerry", zo = "Chrome", Wo = "Firefox", In = {
|
4268
4269
|
ME: "4.90",
|
4269
4270
|
"NT 3.11": "NT3.51",
|
4270
4271
|
"NT 4.0": "NT4.0",
|
@@ -4276,7 +4277,7 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
|
|
4276
4277
|
"8.1": "NT 6.3",
|
4277
4278
|
10: ["NT 6.4", "NT 10.0"],
|
4278
4279
|
RT: "ARM"
|
4279
|
-
},
|
4280
|
+
}, Vo = [
|
4280
4281
|
[
|
4281
4282
|
/* Windows */
|
4282
4283
|
// Windows (iTunes)
|
@@ -4290,9 +4291,9 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
|
|
4290
4291
|
/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,
|
4291
4292
|
/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i
|
4292
4293
|
],
|
4293
|
-
[ee, [te,
|
4294
|
+
[ee, [te, Pn, In]],
|
4294
4295
|
[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
|
4295
|
-
[[ee, "Windows"], [te,
|
4296
|
+
[[ee, "Windows"], [te, Pn, In]],
|
4296
4297
|
/* iOS/macOS */
|
4297
4298
|
// iOS
|
4298
4299
|
[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /cfnetwork\/.+darwin/i],
|
@@ -4317,17 +4318,17 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
|
|
4317
4318
|
[ee, te],
|
4318
4319
|
// BlackBerry 10
|
4319
4320
|
[/\(bb(10);/i],
|
4320
|
-
[te, [ee,
|
4321
|
+
[te, [ee, Lo]],
|
4321
4322
|
// Firefox OS
|
4322
4323
|
[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
|
4323
|
-
[te, [ee,
|
4324
|
+
[te, [ee, Wo + " OS"]],
|
4324
4325
|
// WebOS
|
4325
4326
|
[/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
|
4326
4327
|
[te, [ee, "webOS"]],
|
4327
4328
|
// Google Chromecast
|
4328
4329
|
[/crkey\/([\d\.]+)/i],
|
4329
4330
|
// Google Chromecast
|
4330
|
-
[te, [ee,
|
4331
|
+
[te, [ee, zo + "cast"]],
|
4331
4332
|
// Chromium OS
|
4332
4333
|
[/(cros) [\w]+ ([\w\.]+\w)/i],
|
4333
4334
|
[[ee, "Chromium OS"], te],
|
@@ -4346,64 +4347,64 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
|
|
4346
4347
|
],
|
4347
4348
|
[ee, te]
|
4348
4349
|
];
|
4349
|
-
function
|
4350
|
+
function Go(e, t) {
|
4350
4351
|
for (var r = 0, n, i, a, s, o, u; r < t.length && !o; ) {
|
4351
4352
|
var l = t[r], c = t[r + 1];
|
4352
4353
|
for (n = i = 0; n < l.length && !o; )
|
4353
4354
|
if (o = l[n++].exec(e), o)
|
4354
4355
|
for (a = 0; a < c.length; a++)
|
4355
|
-
u = o[++i], s = c[a], ie(s) ===
|
4356
|
+
u = o[++i], s = c[a], ie(s) === Ei && s.length > 0 ? s.length == 2 ? ie(s[1]) == On ? this[s[0]] = s[1].call(this, u) : this[s[0]] = s[1] : s.length == 3 ? ie(s[1]) === On && !(s[1].exec && s[1].test) ? this[s[0]] = u ? s[1].call(this, u, s[2]) : void 0 : this[s[0]] = u ? u.replace(s[1], s[2]) : void 0 : s.length == 4 && (this[s[0]] = u ? s[3].call(this, u.replace(s[1], s[2])) : void 0) : this[s] = u || void 0;
|
4356
4357
|
r += 2;
|
4357
4358
|
}
|
4358
4359
|
}
|
4359
|
-
function
|
4360
|
+
function Pn(e, t) {
|
4360
4361
|
for (var r in t)
|
4361
|
-
if (ie(t[r]) ===
|
4362
|
+
if (ie(t[r]) === Ei && t[r].length > 0) {
|
4362
4363
|
for (var n = 0; n < t[r].length; n++)
|
4363
|
-
if (
|
4364
|
-
return r ===
|
4365
|
-
} else if (
|
4366
|
-
return r ===
|
4364
|
+
if (Tn(t[r][n], e))
|
4365
|
+
return r === An ? void 0 : r;
|
4366
|
+
} else if (Tn(t[r], e))
|
4367
|
+
return r === An ? void 0 : r;
|
4367
4368
|
return e;
|
4368
4369
|
}
|
4369
|
-
function
|
4370
|
-
return ie(e) ===
|
4370
|
+
function Tn(e, t) {
|
4371
|
+
return ie(e) === $o ? jn(t).indexOf(jn(e)) !== -1 : !1;
|
4371
4372
|
}
|
4372
|
-
function
|
4373
|
+
function jn(e) {
|
4373
4374
|
return e.toLowerCase();
|
4374
4375
|
}
|
4375
|
-
function
|
4376
|
-
var t = (typeof window > "u" ? "undefined" : ie(window)) !==
|
4377
|
-
return r[ee] = void 0, r[te] = void 0,
|
4376
|
+
function Ho(e) {
|
4377
|
+
var t = (typeof window > "u" ? "undefined" : ie(window)) !== Uo && window.navigator && window.navigator.userAgent ? window.navigator.userAgent : _o, r = {};
|
4378
|
+
return r[ee] = void 0, r[te] = void 0, Go.call(r, t, Vo), r;
|
4378
4379
|
}
|
4379
|
-
var
|
4380
|
-
function
|
4380
|
+
var Ai = "Brave";
|
4381
|
+
function Ir() {
|
4381
4382
|
if (typeof window > "u")
|
4382
4383
|
return {};
|
4383
4384
|
if (!window.navigator)
|
4384
4385
|
return {};
|
4385
|
-
var e = window.navigator, t = e.platform, r = e.product, n = e.vendor, i =
|
4386
|
+
var e = window.navigator, t = e.platform, r = e.product, n = e.vendor, i = qo(window.navigator), a = i.type, s = i.version, o = a === Ai ? a : (n || "").split(" ")[0];
|
4386
4387
|
return {
|
4387
4388
|
platform: t,
|
4388
|
-
os:
|
4389
|
+
os: Ho(),
|
4389
4390
|
make: o || r,
|
4390
4391
|
// product always gecko
|
4391
4392
|
model: a,
|
4392
4393
|
version: s,
|
4393
4394
|
name: [a, s].join("/"),
|
4394
|
-
language:
|
4395
|
-
timezone:
|
4395
|
+
language: Fo(),
|
4396
|
+
timezone: Ko()
|
4396
4397
|
};
|
4397
4398
|
}
|
4398
|
-
function
|
4399
|
+
function Fo() {
|
4399
4400
|
var e = window.navigator, t = e.language, r = e.browserLanguage, n = e.languages;
|
4400
4401
|
return (t || r || (n || ["en_US"])[0]).toLowerCase().replace("-", "_");
|
4401
4402
|
}
|
4402
|
-
function
|
4403
|
+
function Ko() {
|
4403
4404
|
var e = /\(([A-Za-z\s].*)\)/.exec((/* @__PURE__ */ new Date()).toString());
|
4404
4405
|
return e && e[1] || "";
|
4405
4406
|
}
|
4406
|
-
function
|
4407
|
+
function qo(e) {
|
4407
4408
|
var t = e.userAgent, r = /.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(t);
|
4408
4409
|
if (r)
|
4409
4410
|
return {
|
@@ -4426,7 +4427,7 @@ function Ro(e) {
|
|
4426
4427
|
if (a) {
|
4427
4428
|
var s = e.brave && e.brave.isBrave || !1;
|
4428
4429
|
return {
|
4429
|
-
type: s ?
|
4430
|
+
type: s ? Ai : a[1],
|
4430
4431
|
version: a[2]
|
4431
4432
|
};
|
4432
4433
|
}
|
@@ -4448,15 +4449,15 @@ function Ro(e) {
|
|
4448
4449
|
version: c[2]
|
4449
4450
|
};
|
4450
4451
|
}
|
4451
|
-
function
|
4452
|
+
function Bo(e) {
|
4452
4453
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
4453
4454
|
return t[e] || e;
|
4454
4455
|
}
|
4455
|
-
function
|
4456
|
-
return
|
4456
|
+
function er(e) {
|
4457
|
+
return tr.apply(this, arguments);
|
4457
4458
|
}
|
4458
|
-
function
|
4459
|
-
return
|
4459
|
+
function tr() {
|
4460
|
+
return tr = se(/* @__PURE__ */ J.mark(function e(t) {
|
4460
4461
|
var r, n, i, a, s, o, u = arguments;
|
4461
4462
|
return J.wrap(function(c) {
|
4462
4463
|
for (; ; )
|
@@ -4468,9 +4469,9 @@ function Xt() {
|
|
4468
4469
|
c.next = 13;
|
4469
4470
|
break;
|
4470
4471
|
}
|
4471
|
-
return i = c.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], c.next = 9,
|
4472
|
+
return i = c.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], c.next = 9, Ii(s, Yo);
|
4472
4473
|
case 9:
|
4473
|
-
o = c.sent,
|
4474
|
+
o = c.sent, Pi(o) || (n[i] = o), c.next = 3;
|
4474
4475
|
break;
|
4475
4476
|
case 13:
|
4476
4477
|
return c.abrupt("return", n);
|
@@ -4479,13 +4480,13 @@ function Xt() {
|
|
4479
4480
|
return c.stop();
|
4480
4481
|
}
|
4481
4482
|
}, e);
|
4482
|
-
})),
|
4483
|
+
})), tr.apply(this, arguments);
|
4483
4484
|
}
|
4484
|
-
function
|
4485
|
-
return
|
4485
|
+
function Oi(e) {
|
4486
|
+
return rr.apply(this, arguments);
|
4486
4487
|
}
|
4487
|
-
function
|
4488
|
-
return
|
4488
|
+
function rr() {
|
4489
|
+
return rr = se(/* @__PURE__ */ J.mark(function e(t) {
|
4489
4490
|
var r, n;
|
4490
4491
|
return J.wrap(function(a) {
|
4491
4492
|
for (; ; )
|
@@ -4497,7 +4498,7 @@ function Qt() {
|
|
4497
4498
|
a.next = 9;
|
4498
4499
|
break;
|
4499
4500
|
}
|
4500
|
-
return n = a.t1.value, a.next = 6,
|
4501
|
+
return n = a.t1.value, a.next = 6, Ii(t[n], Jo);
|
4501
4502
|
case 6:
|
4502
4503
|
r[n] = a.sent, a.next = 2;
|
4503
4504
|
break;
|
@@ -4508,13 +4509,13 @@ function Qt() {
|
|
4508
4509
|
return a.stop();
|
4509
4510
|
}
|
4510
4511
|
}, e);
|
4511
|
-
})),
|
4512
|
+
})), rr.apply(this, arguments);
|
4512
4513
|
}
|
4513
|
-
function
|
4514
|
-
return
|
4514
|
+
function Ii(e, t) {
|
4515
|
+
return nr.apply(this, arguments);
|
4515
4516
|
}
|
4516
|
-
function
|
4517
|
-
return
|
4517
|
+
function nr() {
|
4518
|
+
return nr = se(/* @__PURE__ */ J.mark(function e(t, r) {
|
4518
4519
|
return J.wrap(function(i) {
|
4519
4520
|
for (; ; )
|
4520
4521
|
switch (i.prev = i.next) {
|
@@ -4533,39 +4534,39 @@ function Zt() {
|
|
4533
4534
|
return i.stop();
|
4534
4535
|
}
|
4535
4536
|
}, e);
|
4536
|
-
})),
|
4537
|
+
})), nr.apply(this, arguments);
|
4537
4538
|
}
|
4538
|
-
function
|
4539
|
+
function Yo(e) {
|
4539
4540
|
if (e != null)
|
4540
|
-
return Array.isArray(e) ? e.filter(
|
4541
|
+
return Array.isArray(e) ? e.filter(Xo).map(function(t) {
|
4541
4542
|
return t.toString();
|
4542
|
-
}) :
|
4543
|
+
}) : Pi(e) ? e : e.toString();
|
4543
4544
|
}
|
4544
|
-
function
|
4545
|
+
function Jo(e) {
|
4545
4546
|
return parseFloat(Number(Array.isArray(e) ? e[0] : e));
|
4546
4547
|
}
|
4547
|
-
function
|
4548
|
+
function Xo(e) {
|
4548
4549
|
return e !== null && typeof e < "u";
|
4549
4550
|
}
|
4550
|
-
function
|
4551
|
+
function Pi(e) {
|
4551
4552
|
return e == null;
|
4552
4553
|
}
|
4553
|
-
var
|
4554
|
-
function
|
4555
|
-
return
|
4554
|
+
var ir = "_session.start", vt = "_session.stop", Ti = "pageView";
|
4555
|
+
function Qo(e) {
|
4556
|
+
return ar.apply(this, arguments);
|
4556
4557
|
}
|
4557
|
-
function
|
4558
|
-
return
|
4559
|
-
var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j,
|
4558
|
+
function ar() {
|
4559
|
+
return ar = se(/* @__PURE__ */ J.mark(function e(t) {
|
4560
|
+
var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, x, R, N, U, D, L, z, H, C, _, F, G = arguments;
|
4560
4561
|
return J.wrap(function(p) {
|
4561
4562
|
for (; ; )
|
4562
4563
|
switch (p.prev = p.next) {
|
4563
4564
|
case 0:
|
4564
4565
|
if (r = G.length > 1 && G[1] !== void 0 ? G[1] : {}, n = G.length > 2 && G[2] !== void 0 ? G[2] : {}, i = n.appTitle, a = n.appPackageName, s = n.appVersionCode, o = n.eventMapping, u = n.enrichEventAttributes, l = n.enrichEventMetrics, c = n.debug, m = c ? console.log : function() {
|
4565
|
-
}, f =
|
4566
|
-
date:
|
4566
|
+
}, f = Bo(t, o), S = Fe(), v = r.sessionId || S.id, O = r.sessionStart || S.createdAt, b = r.sessionStart ? new Date(r.sessionStart).getTime() : S.created, m("event sessionData ", JSON.stringify(S)), Ae && (y = Ar(), d = bi(), m("event pageSessionInfo", JSON.stringify(y)), m("event tabSessionData ", JSON.stringify(d))), P = r.attributes || {}, A = r.eventId || Oe(), j = r.time ? new Date(r.time) : /* @__PURE__ */ new Date(), x = j.toISOString(), R = j.getTime() - b, N = Z({
|
4567
|
+
date: x,
|
4567
4568
|
sessionId: v
|
4568
|
-
},
|
4569
|
+
}, Ae ? {
|
4569
4570
|
pageSession: y.id
|
4570
4571
|
} : {}), !u) {
|
4571
4572
|
p.next = 23;
|
@@ -4580,7 +4581,7 @@ function tr() {
|
|
4580
4581
|
case 24:
|
4581
4582
|
if (U = p.t0, D = Z(Z(Z({}, N), U), P), L = r.metrics || {}, z = {
|
4582
4583
|
/* Time of session */
|
4583
|
-
sessionTime: S.elapsed ||
|
4584
|
+
sessionTime: S.elapsed || R,
|
4584
4585
|
/* Date metrics */
|
4585
4586
|
hour: j.getHours(),
|
4586
4587
|
day: j.getDay() + 1,
|
@@ -4597,18 +4598,18 @@ function tr() {
|
|
4597
4598
|
case 34:
|
4598
4599
|
p.t1 = {};
|
4599
4600
|
case 35:
|
4600
|
-
return
|
4601
|
+
return H = p.t1, C = Z(Z(Z({}, z), H), L), p.next = 39, er(D);
|
4601
4602
|
case 39:
|
4602
|
-
return p.t2 = p.sent, p.next = 42,
|
4603
|
+
return p.t2 = p.sent, p.next = 42, Oi(C);
|
4603
4604
|
case 42:
|
4604
|
-
return p.t3 = p.sent,
|
4605
|
+
return p.t3 = p.sent, _ = {
|
4605
4606
|
attributes: p.t2,
|
4606
4607
|
metrics: p.t3
|
4607
|
-
}, m("".concat(A, ":").concat(f)), m("eventAttributes",
|
4608
|
+
}, m("".concat(A, ":").concat(f)), m("eventAttributes", _.attributes), m("eventMetrics", _.metrics), Ae && m("clientInfo", Ir()), F = Sr({}, A, Z(Z({
|
4608
4609
|
/* The name of the event */
|
4609
4610
|
EventType: f,
|
4610
4611
|
/* The date and time, in ISO 8601 format, when the event occurred. */
|
4611
|
-
Timestamp:
|
4612
|
+
Timestamp: x,
|
4612
4613
|
/* The package name of the app that's recording the event. */
|
4613
4614
|
AppPackageName: a,
|
4614
4615
|
/* The title of the app that's recording the event. */
|
@@ -4617,13 +4618,13 @@ function tr() {
|
|
4617
4618
|
AppVersionCode: s
|
4618
4619
|
} : {}), {}, {
|
4619
4620
|
/* Event attributes - One or more custom attributes that are associated with the event. */
|
4620
|
-
Attributes:
|
4621
|
+
Attributes: _.attributes,
|
4621
4622
|
/* The version of the SDK that's running on the client device. */
|
4622
4623
|
// ClientSdkVersion: 'STRING_VALUE',
|
4623
4624
|
/* The name of the SDK that's being used to record the event. */
|
4624
4625
|
// SdkName: 'STRING_VALUE',
|
4625
4626
|
/* Event metrics - One or more custom metrics that are associated with the event. */
|
4626
|
-
Metrics:
|
4627
|
+
Metrics: _.metrics,
|
4627
4628
|
Session: {
|
4628
4629
|
/* SessionId is required */
|
4629
4630
|
Id: v,
|
@@ -4631,32 +4632,32 @@ function tr() {
|
|
4631
4632
|
StartTimestamp: O
|
4632
4633
|
// ISOString
|
4633
4634
|
}
|
4634
|
-
})), t ===
|
4635
|
+
})), t === vt && (F[A].Session.Duration = R, F[A].Session.StopTimestamp = x), p.abrupt("return", F);
|
4635
4636
|
case 51:
|
4636
4637
|
case "end":
|
4637
4638
|
return p.stop();
|
4638
4639
|
}
|
4639
4640
|
}, e);
|
4640
|
-
})),
|
4641
|
+
})), ar.apply(this, arguments);
|
4641
4642
|
}
|
4642
|
-
var
|
4643
|
-
function
|
4644
|
-
return "".concat(
|
4643
|
+
var Zo = "__endpoint";
|
4644
|
+
function yt(e) {
|
4645
|
+
return "".concat(Zo, ".").concat(e);
|
4645
4646
|
}
|
4646
|
-
var
|
4647
|
-
function
|
4648
|
-
return
|
4647
|
+
var Nn = "__endpoint", Rn = !1;
|
4648
|
+
function Pr() {
|
4649
|
+
return sr.apply(this, arguments);
|
4649
4650
|
}
|
4650
|
-
function
|
4651
|
-
return
|
4652
|
-
var t, r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j,
|
4651
|
+
function sr() {
|
4652
|
+
return sr = se(/* @__PURE__ */ J.mark(function e() {
|
4653
|
+
var t, r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, x = arguments;
|
4653
4654
|
return J.wrap(function(N) {
|
4654
4655
|
for (; ; )
|
4655
4656
|
switch (N.prev = N.next) {
|
4656
4657
|
case 0:
|
4657
|
-
return t =
|
4658
|
+
return t = x.length > 0 && x[0] !== void 0 ? x[0] : {}, r = x.length > 1 && x[1] !== void 0 ? x[1] : {}, n = r.getUserId, i = r.getEndpointId, a = r.endpointMigration, s = su(r), o = s.sessionKey ? s.sessionKey() : "sessions", u = s.pageViewKey ? s.pageViewKey() : "pageViews", Ae && (m = Ir(), l = Ar(), c = l.id), f = Fe(), N.next = 10, i();
|
4658
4659
|
case 10:
|
4659
|
-
if (S = N.sent,
|
4660
|
+
if (S = N.sent, Rn || (Rn = !0, v = hr(Nn), v && (_t(S, v), si(Nn))), O = eu(S), b = iu(r), y = tu(b, m), d = {
|
4660
4661
|
Attributes: {},
|
4661
4662
|
Demographic: y,
|
4662
4663
|
Location: {
|
@@ -4677,8 +4678,8 @@ function rr() {
|
|
4677
4678
|
* NONE - Users has not opted out and receives all messages.
|
4678
4679
|
*/
|
4679
4680
|
// OptOut: 'STRING_VALUE',
|
4680
|
-
},
|
4681
|
-
arrayMerge:
|
4681
|
+
}, Ae && (m.device && m.device.vendor && (d.Attributes.DeviceMake = [m.device.vendor]), m.device && m.device.model && (d.Attributes.DeviceModel = [m.device.model]), m.device && m.device.type && (d.Attributes.DeviceType = [m.device.type])), t = Ao.all([O, d, t], {
|
4682
|
+
arrayMerge: au
|
4682
4683
|
// TODO maybe change array merge
|
4683
4684
|
}), !(t.User && t.User.UserId)) {
|
4684
4685
|
N.next = 23;
|
@@ -4700,43 +4701,43 @@ function rr() {
|
|
4700
4701
|
N.next = 32;
|
4701
4702
|
break;
|
4702
4703
|
}
|
4703
|
-
return N.next = 31,
|
4704
|
+
return N.next = 31, er(t.User.UserAttributes, !0);
|
4704
4705
|
case 31:
|
4705
4706
|
t.User.UserAttributes = N.sent;
|
4706
4707
|
case 32:
|
4707
|
-
return N.next = 34,
|
4708
|
+
return N.next = 34, er(t.Attributes, !0);
|
4708
4709
|
case 34:
|
4709
|
-
return t.Attributes = N.sent, N.next = 37,
|
4710
|
+
return t.Attributes = N.sent, N.next = 37, Oi(t.Metrics);
|
4710
4711
|
case 37:
|
4711
4712
|
if (t.Metrics = N.sent, t.Metrics[o] || (t.Metrics[o] = 1), t.Metrics[u] || (t.Metrics[u] = 1), a && (t = a(S, t)), j = t.Attributes.lastSession, j) {
|
4712
4713
|
N.next = 47;
|
4713
4714
|
break;
|
4714
4715
|
}
|
4715
|
-
return t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], c && (t.Attributes.lastPageSession = [c]), N.abrupt("return",
|
4716
|
+
return t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], c && (t.Attributes.lastPageSession = [c]), N.abrupt("return", _t(S, t));
|
4716
4717
|
case 47:
|
4717
|
-
return j && j[0] !== f.id && (t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== c && (t.Attributes.lastPageSession = [c], t.Metrics[u] += 1), N.abrupt("return",
|
4718
|
+
return j && j[0] !== f.id && (t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== c && (t.Attributes.lastPageSession = [c], t.Metrics[u] += 1), N.abrupt("return", _t(S, t));
|
4718
4719
|
case 50:
|
4719
4720
|
case "end":
|
4720
4721
|
return N.stop();
|
4721
4722
|
}
|
4722
4723
|
}, e);
|
4723
|
-
})),
|
4724
|
+
})), sr.apply(this, arguments);
|
4724
4725
|
}
|
4725
|
-
function
|
4726
|
-
var r =
|
4727
|
-
return
|
4726
|
+
function _t(e, t) {
|
4727
|
+
var r = yt(e), n = wo(t) ? t : JSON.stringify(t);
|
4728
|
+
return Hs(r, n), t;
|
4728
4729
|
}
|
4729
|
-
function
|
4730
|
+
function eu(e) {
|
4730
4731
|
try {
|
4731
|
-
return JSON.parse(
|
4732
|
+
return JSON.parse(hr(yt(e))) || {};
|
4732
4733
|
} catch {
|
4733
4734
|
}
|
4734
4735
|
return {};
|
4735
4736
|
}
|
4736
|
-
function
|
4737
|
-
return
|
4737
|
+
function tu(e, t) {
|
4738
|
+
return Ae ? nu(e, t) : ru(e);
|
4738
4739
|
}
|
4739
|
-
function
|
4740
|
+
function ru(e) {
|
4740
4741
|
var t = {
|
4741
4742
|
AppVersion: e,
|
4742
4743
|
Make: "generic server",
|
@@ -4745,7 +4746,7 @@ function zo(e) {
|
|
4745
4746
|
};
|
4746
4747
|
return t;
|
4747
4748
|
}
|
4748
|
-
function
|
4749
|
+
function nu(e, t) {
|
4749
4750
|
var r = {
|
4750
4751
|
// AppTitle/0.0.0. Maps to application.version_name in kinesis stream
|
4751
4752
|
AppVersion: e,
|
@@ -4767,33 +4768,33 @@ function Wo(e, t) {
|
|
4767
4768
|
};
|
4768
4769
|
return t.os && t.os.version && (r.PlatformVersion = t.os.version), r;
|
4769
4770
|
}
|
4770
|
-
function
|
4771
|
+
function iu(e) {
|
4771
4772
|
var t = e.appTitle || e.appPackageName || "", r = e.appVersionCode || "0.0.0";
|
4772
4773
|
return t ? "".concat(t, "@").concat(r) : r;
|
4773
4774
|
}
|
4774
|
-
function
|
4775
|
+
function au(e, t) {
|
4775
4776
|
return t;
|
4776
4777
|
}
|
4777
|
-
function
|
4778
|
+
function su(e) {
|
4778
4779
|
var t = e.getContext;
|
4779
4780
|
return typeof t == "function" ? t() : t;
|
4780
4781
|
}
|
4781
|
-
function
|
4782
|
+
function ou(e) {
|
4782
4783
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
4783
4784
|
return /* @__PURE__ */ function() {
|
4784
|
-
var r =
|
4785
|
+
var r = se(/* @__PURE__ */ J.mark(function i(a) {
|
4785
4786
|
var s, o, u, l, c = arguments;
|
4786
4787
|
return J.wrap(function(f) {
|
4787
4788
|
for (; ; )
|
4788
4789
|
switch (f.prev = f.next) {
|
4789
4790
|
case 0:
|
4790
|
-
return s = c.length > 1 && c[1] !== void 0 ? c[1] : {}, o = c.length > 2 && c[2] !== void 0 ? c[2] : {}, u = c.length > 3 && c[3] !== void 0 ? c[3] : !1,
|
4791
|
+
return s = c.length > 1 && c[1] !== void 0 ? c[1] : {}, o = c.length > 2 && c[2] !== void 0 ? c[2] : {}, u = c.length > 3 && c[3] !== void 0 ? c[3] : !1, mn(s) && (s = {}, u = s), mn(o) && (o = {}, u = o), f.next = 7, Qo(a, s, t);
|
4791
4792
|
case 7:
|
4792
|
-
if (l = f.sent, !(Object.entries(o).length || a ===
|
4793
|
+
if (l = f.sent, !(Object.entries(o).length || a === Ti)) {
|
4793
4794
|
f.next = 12;
|
4794
4795
|
break;
|
4795
4796
|
}
|
4796
|
-
return f.next = 11,
|
4797
|
+
return f.next = 11, Pr(o, t);
|
4797
4798
|
case 11:
|
4798
4799
|
o = f.sent;
|
4799
4800
|
case 12:
|
@@ -4814,59 +4815,59 @@ function Ho(e) {
|
|
4814
4815
|
return n;
|
4815
4816
|
}();
|
4816
4817
|
}
|
4817
|
-
var
|
4818
|
-
function
|
4819
|
-
return
|
4818
|
+
var xn, uu = [429, 500], cu = [202], lu = 400;
|
4819
|
+
function fu(e, t) {
|
4820
|
+
return or.apply(this, arguments);
|
4820
4821
|
}
|
4821
|
-
function
|
4822
|
-
return
|
4822
|
+
function or() {
|
4823
|
+
return or = se(/* @__PURE__ */ J.mark(function e(t, r) {
|
4823
4824
|
var n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j;
|
4824
|
-
return J.wrap(function(
|
4825
|
+
return J.wrap(function(R) {
|
4825
4826
|
for (; ; )
|
4826
|
-
switch (
|
4827
|
+
switch (R.prev = R.next) {
|
4827
4828
|
case 0:
|
4828
|
-
return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, u = r.getCredentials, l = r.debug,
|
4829
|
+
return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, u = r.getCredentials, l = r.debug, R.next = 3, du(o, u);
|
4829
4830
|
case 3:
|
4830
|
-
return c =
|
4831
|
+
return c = R.sent, l && console.log("pinpoint auth", c), m = s || n, f = n || s, S = r.fips === !0 ? "-fips" : "", v = "https://lambda.".concat(m, ".amazonaws.com/2015-03-31/functions/").concat(a, "/invocations"), O = "https://pinpoint".concat(S, ".").concat(f, ".amazonaws.com/v1/apps/").concat(i, "/events"), b = a ? v : O, P = {
|
4831
4832
|
body: JSON.stringify(t)
|
4832
|
-
}, y = new
|
4833
|
+
}, y = new Po(c), R.next = 16, y.fetch(b, P).then(function(N) {
|
4833
4834
|
return N.json();
|
4834
4835
|
});
|
4835
4836
|
case 16:
|
4836
|
-
d =
|
4837
|
+
d = R.sent, R.next = 24;
|
4837
4838
|
break;
|
4838
4839
|
case 19:
|
4839
|
-
return y = new
|
4840
|
+
return y = new xn.PinpointClient({
|
4840
4841
|
credentials: c,
|
4841
4842
|
region: n
|
4842
|
-
}), A = new
|
4843
|
+
}), A = new xn.PutEventsCommand({
|
4843
4844
|
ApplicationId: i,
|
4844
4845
|
EventsRequest: t
|
4845
|
-
}),
|
4846
|
+
}), R.next = 23, y.send(A);
|
4846
4847
|
case 23:
|
4847
|
-
d =
|
4848
|
+
d = R.sent;
|
4848
4849
|
case 24:
|
4849
4850
|
return d && d.Results && (j = Object.keys(d.Results).map(function(N) {
|
4850
4851
|
return d.Results[N];
|
4851
4852
|
}), j.forEach(function(N) {
|
4852
4853
|
var U = N.EndpointItemResponse || {}, D = N.EventsItemResponse || {};
|
4853
|
-
Object.keys(U).length && (
|
4854
|
+
Object.keys(U).length && (cu.includes(U.StatusCode) || uu.includes(U.StatusCode) || pu(U, Endpoint));
|
4854
4855
|
var L = Object.keys(D);
|
4855
4856
|
L.length && L.forEach(function(z) {
|
4856
4857
|
});
|
4857
|
-
})),
|
4858
|
+
})), R.abrupt("return", d);
|
4858
4859
|
case 26:
|
4859
4860
|
case "end":
|
4860
|
-
return
|
4861
|
+
return R.stop();
|
4861
4862
|
}
|
4862
4863
|
}, e);
|
4863
|
-
})),
|
4864
|
+
})), or.apply(this, arguments);
|
4864
4865
|
}
|
4865
|
-
function
|
4866
|
-
return
|
4866
|
+
function du(e, t) {
|
4867
|
+
return ur.apply(this, arguments);
|
4867
4868
|
}
|
4868
|
-
function
|
4869
|
-
return
|
4869
|
+
function ur() {
|
4870
|
+
return ur = se(/* @__PURE__ */ J.mark(function e(t, r) {
|
4870
4871
|
var n, i;
|
4871
4872
|
return J.wrap(function(s) {
|
4872
4873
|
for (; ; )
|
@@ -4895,18 +4896,18 @@ function ir() {
|
|
4895
4896
|
return s.stop();
|
4896
4897
|
}
|
4897
4898
|
}, e, null, [[2, 8]]);
|
4898
|
-
})),
|
4899
|
+
})), ur.apply(this, arguments);
|
4899
4900
|
}
|
4900
|
-
function
|
4901
|
+
function pu(e, t) {
|
4901
4902
|
var r = e.StatusCode, n = e.Message;
|
4902
|
-
if (r ===
|
4903
|
+
if (r === lu) {
|
4903
4904
|
if (n.startsWith("Missing ChannelType"))
|
4904
4905
|
throw new Error("Missing ChannelType");
|
4905
4906
|
if (n.startsWith("Exceeded maximum endpoint per user count"))
|
4906
4907
|
throw new Error("Exceeded maximum endpoint per user count");
|
4907
4908
|
}
|
4908
4909
|
}
|
4909
|
-
var
|
4910
|
+
var gu = [
|
4910
4911
|
"PUSH",
|
4911
4912
|
"GCM",
|
4912
4913
|
"APNS",
|
@@ -4920,16 +4921,16 @@ var Qo = [
|
|
4920
4921
|
"BAIDU",
|
4921
4922
|
"CUSTOM"
|
4922
4923
|
// 'IN_APP' what is this?
|
4923
|
-
],
|
4924
|
+
], Ut = gu.reduce(function(e, t) {
|
4924
4925
|
return e[t] = t, e;
|
4925
|
-
}, {}),
|
4926
|
-
function
|
4927
|
-
return
|
4926
|
+
}, {}), hu = Ir(), kn = ir, Cn = vt, mu = /.+\@.+\..+/;
|
4927
|
+
function vu(e) {
|
4928
|
+
return mu.test(e);
|
4928
4929
|
}
|
4929
|
-
function
|
4930
|
+
function yu() {
|
4930
4931
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getEndpointId, r = e.debug;
|
4931
4932
|
return /* @__PURE__ */ function() {
|
4932
|
-
var n =
|
4933
|
+
var n = se(/* @__PURE__ */ J.mark(function a() {
|
4933
4934
|
var s, o, u, l, c, m, f, S, v, O, b = arguments;
|
4934
4935
|
return J.wrap(function(d) {
|
4935
4936
|
for (; ; )
|
@@ -4947,14 +4948,14 @@ function ru() {
|
|
4947
4948
|
d.next = 13;
|
4948
4949
|
break;
|
4949
4950
|
}
|
4950
|
-
d.t0 =
|
4951
|
+
d.t0 = bu(u), d.next = 16;
|
4951
4952
|
break;
|
4952
4953
|
case 13:
|
4953
|
-
return d.next = 15,
|
4954
|
+
return d.next = 15, Pr(o, e);
|
4954
4955
|
case 15:
|
4955
4956
|
d.t0 = d.sent;
|
4956
4957
|
case 16:
|
4957
|
-
return c = d.t0, m = c.ChannelType, c.Address &&
|
4958
|
+
return c = d.t0, m = c.ChannelType, c.Address && vu(c.Address) && (m = Ut.EMAIL), !m && c.Address && (hu.platform === "android" ? m = m || Ut.GCM : m = m || Ut.APNS), r && (console.log("Endpoint", c), console.log("CHANNEL_TYPE", m)), c.RequestId = Oe(), c.ChannelType = m, c.Address && (c.OptOut = c.OptOut || "NONE"), f = wu(s), S = Su(u, c, f), d.prev = 26, d.next = 29, fu(S, e);
|
4958
4959
|
case 29:
|
4959
4960
|
v = d.sent, d.next = 36;
|
4960
4961
|
break;
|
@@ -4979,43 +4980,43 @@ function ru() {
|
|
4979
4980
|
return i;
|
4980
4981
|
}();
|
4981
4982
|
}
|
4982
|
-
function
|
4983
|
+
function bu(e) {
|
4983
4984
|
try {
|
4984
|
-
return JSON.parse(
|
4985
|
+
return JSON.parse(hr(yt(e))) || {};
|
4985
4986
|
} catch {
|
4986
4987
|
}
|
4987
4988
|
return {};
|
4988
4989
|
}
|
4989
|
-
function
|
4990
|
+
function wu(e) {
|
4990
4991
|
return e.sort(function(t, r) {
|
4991
4992
|
var n = t.EventType, i = r.EventType;
|
4992
|
-
if (n ==
|
4993
|
-
if (i ==
|
4994
|
-
if (i ==
|
4993
|
+
if (n == kn) return -1;
|
4994
|
+
if (i == kn || n == Cn) return 1;
|
4995
|
+
if (i == Cn) return -1;
|
4995
4996
|
}).reduce(function(t, r) {
|
4996
4997
|
return Z(Z({}, r), t);
|
4997
4998
|
}, {});
|
4998
4999
|
}
|
4999
|
-
function
|
5000
|
+
function Su(e, t, r) {
|
5000
5001
|
return {
|
5001
|
-
BatchItem:
|
5002
|
+
BatchItem: Sr({}, e, {
|
5002
5003
|
Endpoint: t,
|
5003
5004
|
Events: r
|
5004
5005
|
})
|
5005
5006
|
};
|
5006
5007
|
}
|
5007
|
-
var
|
5008
|
-
function
|
5008
|
+
var Eu = vt;
|
5009
|
+
function ji() {
|
5009
5010
|
return {};
|
5010
5011
|
}
|
5011
|
-
function
|
5012
|
+
function Au() {
|
5012
5013
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z({
|
5013
|
-
getContext: e.getContext ||
|
5014
|
+
getContext: e.getContext || ji,
|
5014
5015
|
credentials: e.credentials || {},
|
5015
5016
|
getEndpointId: e.getEndpointId
|
5016
5017
|
}, e), r = t.debug ? console.log : function() {
|
5017
|
-
}, n =
|
5018
|
-
var u =
|
5018
|
+
}, n = yu(t), i = go(/* @__PURE__ */ function() {
|
5019
|
+
var u = se(/* @__PURE__ */ J.mark(function l(c, m) {
|
5019
5020
|
var f;
|
5020
5021
|
return J.wrap(function(v) {
|
5021
5022
|
for (; ; )
|
@@ -5044,9 +5045,9 @@ function ou() {
|
|
5044
5045
|
// Ensure only max is processed at interval
|
5045
5046
|
// onPause: (queue) => {},
|
5046
5047
|
// onEmpty: () => {}
|
5047
|
-
}), a =
|
5048
|
-
|
5049
|
-
var s =
|
5048
|
+
}), a = ou(i, t);
|
5049
|
+
Pr({}, e);
|
5050
|
+
var s = Ou(a);
|
5050
5051
|
function o(u) {
|
5051
5052
|
return n([], u);
|
5052
5053
|
}
|
@@ -5058,23 +5059,23 @@ function ou() {
|
|
5058
5059
|
}
|
5059
5060
|
};
|
5060
5061
|
}
|
5061
|
-
function
|
5062
|
-
if (!
|
5063
|
-
return
|
5064
|
-
var t =
|
5062
|
+
function Ou(e) {
|
5063
|
+
if (!Ae)
|
5064
|
+
return ji;
|
5065
|
+
var t = Iu(e);
|
5065
5066
|
return window.addEventListener("beforeunload", t), function() {
|
5066
5067
|
return window.removeEventListener("beforeunload", t);
|
5067
5068
|
};
|
5068
5069
|
}
|
5069
|
-
function
|
5070
|
+
function Iu(e) {
|
5070
5071
|
return function() {
|
5071
|
-
e(
|
5072
|
+
e(Eu, !0);
|
5072
5073
|
};
|
5073
5074
|
}
|
5074
|
-
function
|
5075
|
+
function Lt() {
|
5075
5076
|
throw new Error("Pinpoint not loaded");
|
5076
5077
|
}
|
5077
|
-
function
|
5078
|
+
function Pu(e) {
|
5078
5079
|
return Object.keys(e).reduce(function(t, r) {
|
5079
5080
|
var n = e[r];
|
5080
5081
|
return typeof n == "number" && (t.metrics[r] = n), (typeof n == "string" || typeof n == "boolean") && (t.attributes[r] = n), t;
|
@@ -5083,14 +5084,14 @@ function lu(e) {
|
|
5083
5084
|
metrics: {}
|
5084
5085
|
});
|
5085
5086
|
}
|
5086
|
-
function
|
5087
|
+
function Tu(e) {
|
5087
5088
|
var t = e.config, r = e.instance;
|
5088
5089
|
t && t.disableAnonymousTraffic && !r.user("userId") && r.once("identifyStart", function(n) {
|
5089
5090
|
var i = n.plugins, a = i["aws-pinpoint"];
|
5090
5091
|
a.loaded() || r.loadPlugin("aws-pinpoint");
|
5091
5092
|
});
|
5092
5093
|
}
|
5093
|
-
var
|
5094
|
+
var ju = {
|
5094
5095
|
/* Disable anonymous MTU */
|
5095
5096
|
disableAnonymousTraffic: !1,
|
5096
5097
|
// Pinpoint service region
|
@@ -5098,26 +5099,26 @@ var du = {
|
|
5098
5099
|
// Custom event mapping
|
5099
5100
|
eventMapping: {}
|
5100
5101
|
};
|
5101
|
-
function
|
5102
|
+
function Nu() {
|
5102
5103
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t, r, n = !1;
|
5103
5104
|
function i() {
|
5104
5105
|
var s = Fe();
|
5105
|
-
e.debug && console.log("Stop session", s), t(
|
5106
|
+
e.debug && console.log("Stop session", s), t(vt, !0);
|
5106
5107
|
}
|
5107
5108
|
function a() {
|
5108
|
-
var s =
|
5109
|
-
e.debug && console.log("START SESSION", s), t(
|
5109
|
+
var s = at(30);
|
5110
|
+
e.debug && console.log("START SESSION", s), t(ir);
|
5110
5111
|
}
|
5111
5112
|
return {
|
5112
5113
|
name: "aws-pinpoint",
|
5113
|
-
config: Z(Z({},
|
5114
|
-
bootstrap:
|
5114
|
+
config: Z(Z({}, ju), e),
|
5115
|
+
bootstrap: Tu,
|
5115
5116
|
initialize: function(o) {
|
5116
5117
|
var u = o.config, l = o.instance, c = u.disableAnonymousTraffic, m = u.debug, f = m ? console.log : function() {
|
5117
|
-
}, S = l.getState(), v = S.user || {}, O = v.userId, b = v.anonymousId, y = S.context || {}, d = y.app, P = y.version, A = y.campaign, j =
|
5118
|
-
if (f("initPageSession", j), f("initTabSession",
|
5119
|
-
f("anonId different refresh session details"),
|
5120
|
-
var N =
|
5118
|
+
}, S = l.getState(), v = S.user || {}, O = v.userId, b = v.anonymousId, y = S.context || {}, d = y.app, P = y.version, A = y.campaign, j = Ar(), x = bi(), R = Fe();
|
5119
|
+
if (f("initPageSession", j), f("initTabSession", x), f("initSessionData", R), R && R.anonId && R.anonId !== b) {
|
5120
|
+
f("anonId different refresh session details"), hn(), bo();
|
5121
|
+
var N = at(30, {
|
5121
5122
|
anonId: b,
|
5122
5123
|
userId: O
|
5123
5124
|
});
|
@@ -5125,9 +5126,9 @@ function pu() {
|
|
5125
5126
|
}
|
5126
5127
|
if (!O && c)
|
5127
5128
|
return !1;
|
5128
|
-
var U = Object.keys(A).reduce(function(
|
5129
|
-
return
|
5130
|
-
}, {}), D =
|
5129
|
+
var U = Object.keys(A).reduce(function(H, C) {
|
5130
|
+
return H["utm_".concat(C)] = A[C], H;
|
5131
|
+
}, {}), D = Au(Z(Z({}, u), {}, {
|
5131
5132
|
// The title of the app that's recording the event.
|
5132
5133
|
appTitle: u.appTitle || d,
|
5133
5134
|
// The package name of the app that's recording the event.
|
@@ -5147,7 +5148,7 @@ function pu() {
|
|
5147
5148
|
return {
|
5148
5149
|
sessionKey: u.sessionKey,
|
5149
5150
|
pageViewKey: u.pageViewKey,
|
5150
|
-
initialSession:
|
5151
|
+
initialSession: R
|
5151
5152
|
// scrollDepth: scrollDepthNow,
|
5152
5153
|
// scrollDepthMax
|
5153
5154
|
};
|
@@ -5172,39 +5173,39 @@ function pu() {
|
|
5172
5173
|
return {};
|
5173
5174
|
}
|
5174
5175
|
}));
|
5175
|
-
t = D.recordEvent, r = D.updateEndpoint,
|
5176
|
+
t = D.recordEvent, r = D.updateEndpoint, R && R.isNew && (f("Start brand new session because cookie not found"), t(ir));
|
5176
5177
|
var L = 18e5, z = L;
|
5177
|
-
|
5178
|
+
Do({
|
5178
5179
|
timeout: z,
|
5179
5180
|
throttle: 2e4,
|
5180
|
-
onIdle: function(C,
|
5181
|
+
onIdle: function(C, _) {
|
5181
5182
|
f("Session idle. Active ".concat(C, " seconds")), i();
|
5182
5183
|
},
|
5183
|
-
onWakeUp: function(C,
|
5184
|
+
onWakeUp: function(C, _) {
|
5184
5185
|
f("Session wakeup. Idle ".concat(C, " seconds")), a();
|
5185
5186
|
},
|
5186
|
-
onHeartbeat: function(C,
|
5187
|
+
onHeartbeat: function(C, _) {
|
5187
5188
|
f("ping session", /* @__PURE__ */ new Date()), f("total active time", C);
|
5188
|
-
var
|
5189
|
-
|
5190
|
-
anonId:
|
5191
|
-
userId:
|
5189
|
+
var F = l.user();
|
5190
|
+
yo(30, {
|
5191
|
+
anonId: F.anonymousId,
|
5192
|
+
userId: F.userId
|
5192
5193
|
});
|
5193
5194
|
}
|
5194
5195
|
});
|
5195
5196
|
},
|
5196
5197
|
page: function(o) {
|
5197
5198
|
if (o.payload, o.config, !t)
|
5198
|
-
return
|
5199
|
-
n &&
|
5199
|
+
return Lt();
|
5200
|
+
n && hn(), t(Ti), n = !0;
|
5200
5201
|
},
|
5201
5202
|
/* Track event & update endpoint details */
|
5202
5203
|
track: function(o) {
|
5203
5204
|
var u = o.payload, l = o.config;
|
5204
5205
|
if (o.instance, !t)
|
5205
|
-
return
|
5206
|
+
return Lt();
|
5206
5207
|
if (!(l.disableAnonymousTraffic && !u.userId)) {
|
5207
|
-
var c =
|
5208
|
+
var c = Pu(u.properties);
|
5208
5209
|
t(u.event, c);
|
5209
5210
|
}
|
5210
5211
|
},
|
@@ -5212,22 +5213,22 @@ function pu() {
|
|
5212
5213
|
identify: function(o) {
|
5213
5214
|
var u = o.payload, l = u.userId, c = u.traits;
|
5214
5215
|
if (!r)
|
5215
|
-
return
|
5216
|
+
return Lt();
|
5216
5217
|
var m = {}, f = {};
|
5217
5218
|
l && (f.UserId = l), c && Object.keys(c).length && (f.UserAttributes = c), Object.keys(f).length && (m.User = f), r(m, !0);
|
5218
5219
|
},
|
5219
5220
|
/* Reset user details */
|
5220
5221
|
reset: function(o) {
|
5221
|
-
var u = o.instance, l = u.user("anonymousId"), c =
|
5222
|
-
|
5222
|
+
var u = o.instance, l = u.user("anonymousId"), c = yt(l);
|
5223
|
+
si(c);
|
5223
5224
|
},
|
5224
5225
|
loaded: function() {
|
5225
5226
|
return !!t;
|
5226
5227
|
}
|
5227
5228
|
};
|
5228
5229
|
}
|
5229
|
-
var
|
5230
|
-
function
|
5230
|
+
var Ru = Nu;
|
5231
|
+
function Ni(e) {
|
5231
5232
|
return Object.keys(e).some((t) => {
|
5232
5233
|
let r = e[t];
|
5233
5234
|
if (!r)
|
@@ -5252,7 +5253,7 @@ function Oi(e) {
|
|
5252
5253
|
}
|
5253
5254
|
});
|
5254
5255
|
}
|
5255
|
-
function
|
5256
|
+
function Ri(e) {
|
5256
5257
|
const t = {};
|
5257
5258
|
return Object.keys(e).forEach((r) => {
|
5258
5259
|
var n, i;
|
@@ -5285,18 +5286,18 @@ function Ii(e) {
|
|
5285
5286
|
(o || o === 0 || typeof o == "string" || Array.isArray(o)) && (t[r] = o);
|
5286
5287
|
}), t;
|
5287
5288
|
}
|
5288
|
-
function
|
5289
|
-
return Array.isArray(t) && t[0] && Array.isArray(t[0]) ? t.map((r) =>
|
5289
|
+
function xi(e, t) {
|
5290
|
+
return Array.isArray(t) && t[0] && Array.isArray(t[0]) ? t.map((r) => xi(e, r)).join("&") : encodeURIComponent(e) + "=" + encodeURIComponent(t);
|
5290
5291
|
}
|
5291
|
-
function
|
5292
|
-
const t =
|
5293
|
-
return Object.keys(t).map((r) =>
|
5292
|
+
function cr(e) {
|
5293
|
+
const t = Ri(e);
|
5294
|
+
return Object.keys(t).map((r) => xi(r, t[r])).join("&");
|
5294
5295
|
}
|
5295
|
-
const
|
5296
|
-
function
|
5297
|
-
const r =
|
5296
|
+
const xu = globalThis.FormData;
|
5297
|
+
function ku(e, t) {
|
5298
|
+
const r = Ni(e) || t, n = Ri(e);
|
5298
5299
|
if (r) {
|
5299
|
-
const i = new
|
5300
|
+
const i = new xu();
|
5300
5301
|
return Object.keys(n).forEach((a) => {
|
5301
5302
|
if (typeof Blob < "u" && n[a] instanceof Blob) {
|
5302
5303
|
const s = n.fileName || n[a].name || a;
|
@@ -5305,9 +5306,9 @@ function mu(e, t) {
|
|
5305
5306
|
i.append(a, n[a]);
|
5306
5307
|
}), i;
|
5307
5308
|
} else
|
5308
|
-
return
|
5309
|
+
return cr(e);
|
5309
5310
|
}
|
5310
|
-
class
|
5311
|
+
class xe extends Error {
|
5311
5312
|
/**
|
5312
5313
|
* Create a new `ArcGISRequestError` object.
|
5313
5314
|
*
|
@@ -5323,14 +5324,14 @@ class Te extends Error {
|
|
5323
5324
|
Object.setPrototypeOf(this, s), t = t || "UNKNOWN_ERROR", r = r || "UNKNOWN_ERROR_CODE", this.name = "ArcGISRequestError", this.message = r === "UNKNOWN_ERROR_CODE" ? t : `${r}: ${t}`, this.originalMessage = t, this.code = r, this.response = n, this.url = i, this.options = a;
|
5324
5325
|
}
|
5325
5326
|
}
|
5326
|
-
const
|
5327
|
+
const Cu = {
|
5327
5328
|
noCorsDomains: [],
|
5328
5329
|
crossOriginNoCorsDomains: {},
|
5329
5330
|
pendingNoCorsRequests: {}
|
5330
|
-
},
|
5331
|
-
globalThis[
|
5332
|
-
const re = globalThis[
|
5333
|
-
function
|
5331
|
+
}, lr = "ARCGIS_REST_JS_NO_CORS";
|
5332
|
+
globalThis[lr] || (globalThis[lr] = Object.assign({}, Cu));
|
5333
|
+
const re = globalThis[lr];
|
5334
|
+
function Mu(e) {
|
5334
5335
|
const t = new URL(e);
|
5335
5336
|
e = t.origin + t.pathname, t.search.includes("f=json") && (e += "?f=json");
|
5336
5337
|
const r = t.origin;
|
@@ -5342,16 +5343,16 @@ function yu(e) {
|
|
5342
5343
|
re.noCorsDomains.indexOf(r) === -1 && re.noCorsDomains.push(r), re.crossOriginNoCorsDomains[r.toLowerCase()] = Date.now(), delete re.pendingNoCorsRequests[r];
|
5343
5344
|
}).catch((n) => (delete re.pendingNoCorsRequests[r], Promise.reject(new Error(`no-cors request to ${r} failed`))))), re.pendingNoCorsRequests[r];
|
5344
5345
|
}
|
5345
|
-
function
|
5346
|
+
function Du(e) {
|
5346
5347
|
e.forEach((t) => {
|
5347
|
-
t = t.toLowerCase(), /^https?:\/\//.test(t) ?
|
5348
|
+
t = t.toLowerCase(), /^https?:\/\//.test(t) ? zt(t) : (zt("http://" + t), zt("https://" + t));
|
5348
5349
|
});
|
5349
5350
|
}
|
5350
|
-
function
|
5351
|
+
function zt(e) {
|
5351
5352
|
const r = new URL(e).origin;
|
5352
5353
|
re.noCorsDomains.indexOf(r) === -1 && re.noCorsDomains.push(r);
|
5353
5354
|
}
|
5354
|
-
function
|
5355
|
+
function ki(e) {
|
5355
5356
|
let t = !1;
|
5356
5357
|
if (re.noCorsDomains.length) {
|
5357
5358
|
const r = new URL(e).origin.toLowerCase();
|
@@ -5359,18 +5360,18 @@ function Ti(e) {
|
|
5359
5360
|
}
|
5360
5361
|
return t;
|
5361
5362
|
}
|
5362
|
-
function
|
5363
|
+
function $u(e) {
|
5363
5364
|
let t = !1;
|
5364
|
-
if (
|
5365
|
+
if (ki(e)) {
|
5365
5366
|
const r = new URL(e).origin.toLowerCase(), n = re.crossOriginNoCorsDomains[r] || 0;
|
5366
5367
|
Date.now() - 60 * 6e4 > n && (t = !0);
|
5367
5368
|
}
|
5368
5369
|
return t;
|
5369
5370
|
}
|
5370
|
-
function
|
5371
|
+
function _u(e) {
|
5371
5372
|
console && console.warn && console.warn.apply(console, [e]);
|
5372
5373
|
}
|
5373
|
-
function
|
5374
|
+
function Uu() {
|
5374
5375
|
return Promise.resolve({
|
5375
5376
|
fetch: globalThis.fetch,
|
5376
5377
|
Headers: globalThis.Headers,
|
@@ -5378,7 +5379,7 @@ function Eu() {
|
|
5378
5379
|
Request: globalThis.Request
|
5379
5380
|
});
|
5380
5381
|
}
|
5381
|
-
function
|
5382
|
+
function Lu(e, t) {
|
5382
5383
|
var r;
|
5383
5384
|
if (!t && !window || !e)
|
5384
5385
|
return !1;
|
@@ -5388,8 +5389,8 @@ function Au(e, t) {
|
|
5388
5389
|
return e.startsWith(n);
|
5389
5390
|
}
|
5390
5391
|
}
|
5391
|
-
const
|
5392
|
-
function
|
5392
|
+
const zu = "@esri/arcgis-rest-js";
|
5393
|
+
function Wu() {
|
5393
5394
|
return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS || {
|
5394
5395
|
httpMethod: "POST",
|
5395
5396
|
params: {
|
@@ -5397,7 +5398,7 @@ function Iu() {
|
|
5397
5398
|
}
|
5398
5399
|
};
|
5399
5400
|
}
|
5400
|
-
class
|
5401
|
+
class Ci extends xe {
|
5401
5402
|
/**
|
5402
5403
|
* Create a new `ArcGISAuthError` object.
|
5403
5404
|
*
|
@@ -5417,7 +5418,7 @@ class ji extends Te {
|
|
5417
5418
|
const i = (a, s) => {
|
5418
5419
|
n = n + 1, t(this.url, this.options).then((o) => {
|
5419
5420
|
const u = Object.assign(Object.assign({}, this.options), { authentication: o });
|
5420
|
-
return
|
5421
|
+
return Mi(this.url, u);
|
5421
5422
|
}).then((o) => {
|
5422
5423
|
a(o);
|
5423
5424
|
}).catch((o) => {
|
@@ -5429,14 +5430,14 @@ class ji extends Te {
|
|
5429
5430
|
});
|
5430
5431
|
}
|
5431
5432
|
}
|
5432
|
-
function
|
5433
|
+
function Vu(e, t, r, n, i) {
|
5433
5434
|
if (e.code >= 400) {
|
5434
5435
|
const { message: a, code: s } = e;
|
5435
|
-
throw new
|
5436
|
+
throw new xe(a, s, e, t, n);
|
5436
5437
|
}
|
5437
5438
|
if (e.error) {
|
5438
5439
|
const { message: a, code: s, messageCode: o } = e.error, u = o || s || "UNKNOWN_ERROR_CODE";
|
5439
|
-
throw s === 498 || s === 499 ? i || new
|
5440
|
+
throw s === 498 || s === 499 ? i || new Ci(a, u, e, t, n) : new xe(a, u, e, t, n);
|
5440
5441
|
}
|
5441
5442
|
if (e.status === "failed" || e.status === "failure") {
|
5442
5443
|
let a, s = "UNKNOWN_ERROR_CODE";
|
@@ -5445,12 +5446,12 @@ function Pu(e, t, r, n, i) {
|
|
5445
5446
|
} catch {
|
5446
5447
|
a = e.statusMessage || e.message;
|
5447
5448
|
}
|
5448
|
-
throw new
|
5449
|
+
throw new xe(a, s, e, t, n);
|
5449
5450
|
}
|
5450
5451
|
return e;
|
5451
5452
|
}
|
5452
|
-
function
|
5453
|
-
const r =
|
5453
|
+
function Mi(e, t) {
|
5454
|
+
const r = Wu(), n = Object.assign(Object.assign(Object.assign({ httpMethod: "POST" }, r), t), {
|
5454
5455
|
params: Object.assign(Object.assign({}, r.params), t.params),
|
5455
5456
|
headers: Object.assign(Object.assign({}, r.headers), t.headers)
|
5456
5457
|
}), { httpMethod: i, rawResponse: a } = n, s = Object.assign({ f: "json" }, n.params);
|
@@ -5462,7 +5463,7 @@ function Ni(e, t) {
|
|
5462
5463
|
needed to support sending IWA cookies */
|
5463
5464
|
credentials: n.credentials || "same-origin"
|
5464
5465
|
};
|
5465
|
-
|
5466
|
+
ki(e) && (u.credentials = "include"), n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
|
5466
5467
|
let l;
|
5467
5468
|
if (typeof n.authentication == "string") {
|
5468
5469
|
const v = n.authentication;
|
@@ -5471,38 +5472,38 @@ function Ni(e, t) {
|
|
5471
5472
|
getToken: () => Promise.resolve(v)
|
5472
5473
|
}, !n.authentication.startsWith("AAPK") && !n.authentication.startsWith("AATK") && // doesn't look like an API Key
|
5473
5474
|
!n.suppressWarnings && // user doesn't want to suppress warnings for this request
|
5474
|
-
!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING && (
|
5475
|
+
!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING && (_u("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."), globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING = !0);
|
5475
5476
|
} else
|
5476
5477
|
l = n.authentication;
|
5477
5478
|
const c = e;
|
5478
5479
|
let m = !1;
|
5479
|
-
typeof window < "u" && (m =
|
5480
|
-
const f = !m &&
|
5480
|
+
typeof window < "u" && (m = Lu(e));
|
5481
|
+
const f = !m && $u(e);
|
5481
5482
|
n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
|
5482
5483
|
let S = Promise.resolve();
|
5483
|
-
return f && (u.credentials = "include", S =
|
5484
|
+
return f && (u.credentials = "include", S = Mu(e)), S.then(() => l ? l.getToken(e).catch((v) => (v.url = e, v.options = n, o = v, Promise.resolve(""))) : Promise.resolve("")).then((v) => {
|
5484
5485
|
v.length && (s.token = v), l && l.getDomainCredentials && (u.credentials = l.getDomainCredentials(e));
|
5485
5486
|
const O = {};
|
5486
5487
|
if (u.method === "GET") {
|
5487
5488
|
s.token && n.hideToken && // Sharing API does not support preflight check required by modern browsers https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
|
5488
5489
|
typeof window > "u" && (O["X-Esri-Authorization"] = `Bearer ${s.token}`, delete s.token);
|
5489
|
-
const d =
|
5490
|
+
const d = cr(s) === "" ? e : e + "?" + cr(s);
|
5490
5491
|
// This would exceed the maximum length for URLs by 2000 as default or as specified by the consumer and requires POST
|
5491
5492
|
n.maxUrlLength && d.length > n.maxUrlLength || !n.maxUrlLength && d.length > 2e3 || // Or if the customer requires the token to be hidden and it has not already been hidden in the header (for browsers)
|
5492
5493
|
s.token && n.hideToken ? (u.method = "POST", v.length && n.hideToken && (s.token = v, delete O["X-Esri-Authorization"])) : e = d;
|
5493
5494
|
}
|
5494
5495
|
const b = new RegExp("/items/.+/updateResources").test(e);
|
5495
|
-
return u.method === "POST" && (u.body =
|
5496
|
+
return u.method === "POST" && (u.body = ku(s, b)), u.headers = Object.assign(Object.assign({}, O), n.headers), (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = zu), !Ni(s) && !b && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), globalThis.fetch ? globalThis.fetch(e, u) : Uu().then(({ fetch: y }) => y(e, u));
|
5496
5497
|
}).then((v) => {
|
5497
5498
|
if (!v.ok)
|
5498
5499
|
return v.json().then((O) => {
|
5499
5500
|
const { status: b, statusText: y } = v, { message: d, details: P } = O.error, A = `${d}. ${P ? P.join(" ") : ""}`.trim();
|
5500
|
-
throw new
|
5501
|
+
throw new xe(A, `HTTP ${b} ${y}`, O, e, n);
|
5501
5502
|
}).catch((O) => {
|
5502
5503
|
if (O.name === "ArcGISRequestError")
|
5503
5504
|
throw O;
|
5504
5505
|
const { status: b, statusText: y } = v;
|
5505
|
-
throw new
|
5506
|
+
throw new xe(y, `HTTP ${b}`, v, e, n);
|
5506
5507
|
});
|
5507
5508
|
if (a)
|
5508
5509
|
return v;
|
@@ -5521,8 +5522,8 @@ function Ni(e, t) {
|
|
5521
5522
|
}
|
5522
5523
|
}).then((v) => {
|
5523
5524
|
if ((s.f === "json" || s.f === "geojson") && !a) {
|
5524
|
-
const O =
|
5525
|
-
if (v && /\/sharing\/rest\/(accounts|portals)\/self/i.test(e) && Array.isArray(v.authorizedCrossOriginNoCorsDomains) &&
|
5525
|
+
const O = Vu(v, c, s, n, o);
|
5526
|
+
if (v && /\/sharing\/rest\/(accounts|portals)\/self/i.test(e) && Array.isArray(v.authorizedCrossOriginNoCorsDomains) && Du(v.authorizedCrossOriginNoCorsDomains), o) {
|
5526
5527
|
const b = e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];
|
5527
5528
|
n.authentication.federatedServers[b] = {
|
5528
5529
|
token: [],
|
@@ -5535,37 +5536,37 @@ function Ni(e, t) {
|
|
5535
5536
|
return v;
|
5536
5537
|
});
|
5537
5538
|
}
|
5538
|
-
function
|
5539
|
-
const { request: r } = t, n =
|
5540
|
-
return r ? r(e, n) :
|
5539
|
+
function Di(e, t = { params: { f: "json" } }) {
|
5540
|
+
const { request: r } = t, n = dr(t, ["request"]);
|
5541
|
+
return r ? r(e, n) : Mi(e, n).catch((i) => i instanceof Ci && t.authentication && typeof t.authentication != "string" && t.authentication.canRefresh && t.authentication.refreshCredentials ? i.retry(() => t.authentication.refreshCredentials(), 1) : Promise.reject(i));
|
5541
5542
|
}
|
5542
|
-
function
|
5543
|
+
function Gu(e) {
|
5543
5544
|
return typeof e != "string" || (e = e.trim(), e[e.length - 1] === "/" && (e = e.slice(0, -1))), e;
|
5544
5545
|
}
|
5545
|
-
function
|
5546
|
-
return e.portal ?
|
5546
|
+
function fr(e = {}) {
|
5547
|
+
return e.portal ? Gu(e.portal) : e.authentication && typeof e.authentication != "string" ? e.authentication.portal : "https://www.arcgis.com/sharing/rest";
|
5547
5548
|
}
|
5548
|
-
function
|
5549
|
+
function Hu(e) {
|
5549
5550
|
return e.owner ? Promise.resolve(e.owner) : e.item && e.item.owner ? Promise.resolve(e.item.owner) : e.authentication && e.authentication.getUsername ? e.authentication.getUsername() : Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
|
5550
5551
|
}
|
5551
|
-
function
|
5552
|
+
function Fu(e) {
|
5552
5553
|
return Array.isArray(e) && Array.isArray(e[0]) && Array.isArray(e[1]);
|
5553
5554
|
}
|
5554
|
-
function
|
5555
|
+
function Ku(e) {
|
5555
5556
|
return e.join(",");
|
5556
5557
|
}
|
5557
|
-
function
|
5558
|
-
return
|
5559
|
-
const r = e.folderId ? `${
|
5560
|
-
return e.params = Object.assign(Object.assign({}, e.params), e.item), e.params.extent &&
|
5558
|
+
function qu(e) {
|
5559
|
+
return Hu(e).then((t) => {
|
5560
|
+
const r = e.folderId ? `${fr(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update` : `${fr(e)}/content/users/${t}/items/${e.item.id}/update`;
|
5561
|
+
return e.params = Object.assign(Object.assign({}, e.params), e.item), e.params.extent && Fu(e.params.extent) && (e.params.extent = Ku(e.params.extent)), Di(r, e);
|
5561
5562
|
});
|
5562
5563
|
}
|
5563
|
-
function
|
5564
|
-
const r =
|
5565
|
-
return
|
5564
|
+
function $i(e, t) {
|
5565
|
+
const r = Bu(e, t), n = Object.assign({ httpMethod: "GET" }, t);
|
5566
|
+
return Di(r, n);
|
5566
5567
|
}
|
5567
|
-
const
|
5568
|
-
function
|
5568
|
+
const Bu = (e, t) => `${typeof t == "string" ? t : fr(t)}/content/items/${e}`;
|
5569
|
+
function Yu(e, t, r) {
|
5569
5570
|
return r.reduce((n, i) => {
|
5570
5571
|
const { action: a, targetProperty: s } = i;
|
5571
5572
|
return a === "add" ? n[s] = {
|
@@ -5574,11 +5575,11 @@ function Cu(e, t, r) {
|
|
5574
5575
|
} : a === "remove" && delete n[s], n;
|
5575
5576
|
}, t);
|
5576
5577
|
}
|
5577
|
-
async function
|
5578
|
-
const { properties: i = {} } = await
|
5578
|
+
async function Ju({ id: e, authentication: t, username: r, accessChangeset: n }) {
|
5579
|
+
const { properties: i = {} } = await $i(e, {
|
5579
5580
|
authentication: t
|
5580
|
-
}), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, u =
|
5581
|
-
return
|
5581
|
+
}), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, u = dr(s, ["arcgis"]), l = Yu(r, o, n);
|
5582
|
+
return qu({
|
5582
5583
|
item: {
|
5583
5584
|
id: e,
|
5584
5585
|
properties: Object.assign(Object.assign({}, i), { telemetry: Object.assign(Object.assign({}, u), { arcgis: {
|
@@ -5588,24 +5589,24 @@ async function Mu({ id: e, authentication: t, username: r, accessChangeset: n })
|
|
5588
5589
|
authentication: t
|
5589
5590
|
});
|
5590
5591
|
}
|
5591
|
-
async function
|
5592
|
-
const { properties: { telemetry: { arcgis: { access: r = {} } = {} } = {} } } = await
|
5592
|
+
async function Xu({ id: e, authentication: t }) {
|
5593
|
+
const { properties: { telemetry: { arcgis: { access: r = {} } = {} } = {} } } = await $i(e, {
|
5593
5594
|
authentication: t
|
5594
5595
|
});
|
5595
5596
|
return { access: r };
|
5596
5597
|
}
|
5597
|
-
class
|
5598
|
+
class Qu {
|
5598
5599
|
constructor(t) {
|
5599
5600
|
this.name = "amazon";
|
5600
5601
|
const { app: r = {}, fips: n, userPoolID: i } = t;
|
5601
|
-
this.analytics =
|
5602
|
+
this.analytics = no({
|
5602
5603
|
app: r.name,
|
5603
5604
|
version: r.version,
|
5604
5605
|
plugins: [
|
5605
|
-
|
5606
|
+
Ru({
|
5606
5607
|
fips: n,
|
5607
5608
|
pinpointAppId: r.id,
|
5608
|
-
getCredentials: () =>
|
5609
|
+
getCredentials: () => na(i, { fips: n })
|
5609
5610
|
})
|
5610
5611
|
]
|
5611
5612
|
}), Object.assign(this, t);
|
@@ -5614,7 +5615,7 @@ class _u {
|
|
5614
5615
|
return Promise.resolve();
|
5615
5616
|
}
|
5616
5617
|
static async setAccessPermissions({ id: t, authentication: r, username: n, accessChangeset: i }) {
|
5617
|
-
return
|
5618
|
+
return Ju({
|
5618
5619
|
id: t,
|
5619
5620
|
authentication: r,
|
5620
5621
|
username: n,
|
@@ -5622,10 +5623,10 @@ class _u {
|
|
5622
5623
|
});
|
5623
5624
|
}
|
5624
5625
|
static async getAccessPermissions({ id: t, authentication: r }) {
|
5625
|
-
return
|
5626
|
+
return Xu({ id: t, authentication: r });
|
5626
5627
|
}
|
5627
5628
|
logPageView(t, r) {
|
5628
|
-
const n =
|
5629
|
+
const n = ca({
|
5629
5630
|
page: t,
|
5630
5631
|
previousPage: this.previousPage,
|
5631
5632
|
options: r,
|
@@ -5635,7 +5636,7 @@ class _u {
|
|
5635
5636
|
this.previousPage = { pageUrl: i, pageName: a }, this.analytics.track("pageView", n);
|
5636
5637
|
}
|
5637
5638
|
logEvent(t = {}) {
|
5638
|
-
const r =
|
5639
|
+
const r = ua({
|
5639
5640
|
event: t,
|
5640
5641
|
dimensionLookup: this.dimensions,
|
5641
5642
|
metricLookup: this.metrics
|
@@ -5643,7 +5644,7 @@ class _u {
|
|
5643
5644
|
this.analytics.track(n, r);
|
5644
5645
|
}
|
5645
5646
|
}
|
5646
|
-
const
|
5647
|
+
const Zu = Vi`/** @license
|
5647
5648
|
* Copyright 2025 Esri
|
5648
5649
|
*
|
5649
5650
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -5658,15 +5659,15 @@ const $u = $i`/** @license
|
|
5658
5659
|
* See the License for the specific language governing permissions and
|
5659
5660
|
* limitations under the License.
|
5660
5661
|
*/:host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform .5s ease-out 0s;background-color:#333333f2;color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link: var(--calcite-color-text-inverse);--calcite-ui-brand: var(--calcite-color-text-inverse);--calcite-color-text-link: var(--calcite-color-text-inverse);--calcite-color-brand-underline: var(--calcite-color-text-inverse);--calcite-color-brand: var(--calcite-color-text-inverse)}`;
|
5661
|
-
class
|
5662
|
+
class ec extends zi {
|
5662
5663
|
constructor() {
|
5663
|
-
super(...arguments), this.amazonAppId = "", this.amazonAppName = "", this.amazonUserPoolID = "", this.amazonVersion = "", this.firstUseVar = "", this.measurementIds = [], this._open = !1, this._translations =
|
5664
|
+
super(...arguments), this.amazonAppId = "", this.amazonAppName = "", this.amazonUserPoolID = "", this.amazonVersion = "", this.firstUseVar = "", this.measurementIds = [], this._open = !1, this._translations = Li({ name: "consent-manager", blocking: !0 }), this._loaded = !1, this.consentGranted = Wi();
|
5664
5665
|
}
|
5665
5666
|
static {
|
5666
5667
|
this.properties = { amazonAppId: 1, amazonAppName: 1, amazonUserPoolID: 1, amazonVersion: 1, firstUseVar: 1, measurementIds: 0, portal: 0, _open: 16, _translations: 16 };
|
5667
5668
|
}
|
5668
5669
|
static {
|
5669
|
-
this.styles =
|
5670
|
+
this.styles = Zu;
|
5670
5671
|
}
|
5671
5672
|
async getInstance() {
|
5672
5673
|
if (localStorage.getItem(this.firstUseVar) === "true" || this.portal?.eueiEnabled)
|
@@ -5690,13 +5691,13 @@ class Uu extends Di {
|
|
5690
5691
|
portal: this.portal
|
5691
5692
|
};
|
5692
5693
|
if (this.measurementIds?.length > 0) {
|
5693
|
-
const r = new
|
5694
|
+
const r = new ra({
|
5694
5695
|
measurementIds: this.measurementIds
|
5695
5696
|
});
|
5696
5697
|
t.plugins.push(r);
|
5697
5698
|
}
|
5698
5699
|
if (this.amazonUserPoolID) {
|
5699
|
-
const r = new
|
5700
|
+
const r = new Qu({
|
5700
5701
|
userPoolID: this.amazonUserPoolID,
|
5701
5702
|
app: {
|
5702
5703
|
name: this.amazonAppName,
|
@@ -5706,7 +5707,7 @@ class Uu extends Di {
|
|
5706
5707
|
});
|
5707
5708
|
t.plugins.push(r);
|
5708
5709
|
}
|
5709
|
-
this._telemetryInstance = new
|
5710
|
+
this._telemetryInstance = new Zi(t), await this._telemetryInstance.init(), this._loaded = !0;
|
5710
5711
|
}
|
5711
5712
|
}
|
5712
5713
|
_alertClosed() {
|
@@ -5718,7 +5719,7 @@ class Uu extends Di {
|
|
5718
5719
|
}), this._open = !1;
|
5719
5720
|
}
|
5720
5721
|
}
|
5721
|
-
|
5722
|
+
Ui("consent-manager", ec);
|
5722
5723
|
export {
|
5723
|
-
|
5724
|
+
ec as ConsentManager
|
5724
5725
|
};
|