@myxtra/authentication-green 2.50.0 → 2.50.3
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/{App-DQAXF-mV.js → App-DNxXN6iF.js} +737 -734
- package/dist/{Categoriesbaby-BUiBxQTo.js → Categoriesbaby-4mtiWB5W.js} +1 -1
- package/dist/{Categoriesbakery-DefzlhLZ.js → Categoriesbakery-DLn0wMKM.js} +1 -1
- package/dist/{Categoriesbbq-vwALpKui.js → Categoriesbbq-D2IB3gRE.js} +1 -1
- package/dist/{Categoriesbreakfast-BLIP_G2y.js → Categoriesbreakfast-SrzaaxMY.js} +1 -1
- package/dist/{Categoriesbrik-B8VAvlUg.js → Categoriesbrik-6_Vio8Y1.js} +1 -1
- package/dist/{Categoriescandy-Cn4dQFt6.js → Categoriescandy-DNwxOpQy.js} +1 -1
- package/dist/{Categoriescar-CnPYkqJN.js → Categoriescar-BoCr_5hS.js} +1 -1
- package/dist/{Categoriescarandbike-mcdOrBnE.js → Categoriescarandbike-m-Pb6_a5.js} +1 -1
- package/dist/{Categorieschild-Bj2o648w.js → Categorieschild-BloxO5Q4.js} +1 -1
- package/dist/{Categoriescigarette-aQ3t9Ko6.js → Categoriescigarette-C13AQkq3.js} +1 -1
- package/dist/{Categoriescleaning-CMRJqzZ7.js → Categoriescleaning-CtB3HJOo.js} +1 -1
- package/dist/{Categoriesclothing-DitS0Gfk.js → Categoriesclothing-DzPSTT0Y.js} +1 -1
- package/dist/{Categoriesconserve-BgWy_5Wn.js → Categoriesconserve-BTE_sYks.js} +1 -1
- package/dist/{Categoriesdairy-DVjsibiR.js → Categoriesdairy-CiCm7x2y.js} +1 -1
- package/dist/{Categoriesdeskandtravel-B1FmJiaN.js → Categoriesdeskandtravel-tNSOkIyb.js} +1 -1
- package/dist/{Categoriesdiet-CN2ldFrV.js → Categoriesdiet-BiWnnsM2.js} +1 -1
- package/dist/{Categoriesdryfood-DzH97eUi.js → Categoriesdryfood-D-r1j2n8.js} +1 -1
- package/dist/{Categorieseaster-BFcg5Kvx.js → Categorieseaster-L446pETy.js} +1 -1
- package/dist/{Categoriesenergy-D5lUcOYO.js → Categoriesenergy-6peLqhhR.js} +1 -1
- package/dist/{Categoriesfish-DPgPyXye.js → Categoriesfish-i5I2ZP8h.js} +1 -1
- package/dist/{Categoriesfood-ByGEXnU4.js → Categoriesfood-DWMv0j4U.js} +1 -1
- package/dist/{Categoriesfreezer-RPo3Ob-M.js → Categoriesfreezer-DLeuwJTt.js} +1 -1
- package/dist/{Categoriesfuel-B9UX6WcG.js → Categoriesfuel-Dpxvf15q.js} +1 -1
- package/dist/{Categoriesgranen-DVUagl2n.js → Categoriesgranen-Be2vxJWx.js} +1 -1
- package/dist/{Categoriesgrid-DU1mz487.js → Categoriesgrid-CybVwAwS.js} +1 -1
- package/dist/{Categorieshome-CsIEGZb4.js → Categorieshome-CvpkyrM2.js} +1 -1
- package/dist/{Categorieshygiene-BefOpuoQ.js → Categorieshygiene-B_KuSvuJ.js} +1 -1
- package/dist/{Categoriesmealbox-UuDM-5E6.js → Categoriesmealbox-bwX0rdhT.js} +1 -1
- package/dist/{Categoriesmeat-B5suOMFr.js → Categoriesmeat-DpGOMOyU.js} +1 -1
- package/dist/{Categoriesmultimedia-CAFtyrDB.js → Categoriesmultimedia-DipB3YKx.js} +1 -1
- package/dist/{Categoriesnonfood-Bphtgq6A.js → Categoriesnonfood-CL4T_lFn.js} +1 -1
- package/dist/{Categoriesonlinepromo-D80CNZUP.js → Categoriesonlinepromo-Ccd8E4r2.js} +1 -1
- package/dist/{Categoriesparty-DTUt7ERQ.js → Categoriesparty-DDR2_i4N.js} +1 -1
- package/dist/{Categoriespets-B93iGzyX.js → Categoriespets-qFqy9qRI.js} +1 -1
- package/dist/{Categoriesplaceholder-B88uCEEg.js → Categoriesplaceholder-CdCKqKEH.js} +1 -1
- package/dist/{Categoriespuzzle-DVZRNg-t.js → Categoriespuzzle-CwbcaAQi.js} +1 -1
- package/dist/{Categoriessnacks-DEq54i-q.js → Categoriessnacks-DdvVUGoc.js} +1 -1
- package/dist/{Categoriessoda-CFB2gWdt.js → Categoriessoda-CmBW-cbu.js} +1 -1
- package/dist/{Categoriessportfood-82tbmQMw.js → Categoriessportfood-HDimJKTd.js} +1 -1
- package/dist/{Categoriestins-DsM6YsP0.js → Categoriestins-DejkFGN3.js} +1 -1
- package/dist/{Categoriestoyandhobby-Be_l_S5b.js → Categoriestoyandhobby-CqF7TadA.js} +1 -1
- package/dist/{Categoriestoys-OLbVip9u.js → Categoriestoys-BxJmbcOa.js} +1 -1
- package/dist/{Categoriesvegetables-DqVMIty4.js → Categoriesvegetables-Cfb84nRl.js} +1 -1
- package/dist/{Categorieswine-B_bi6Gp6.js → Categorieswine-BbLx_GTp.js} +1 -1
- package/dist/{Fueladblue-PUHzU3Ct.js → Fueladblue-D7zCoV4W.js} +1 -1
- package/dist/{Fuelb7-BkOWEW-v.js → Fuelb7-DctCMpU6.js} +1 -1
- package/dist/{Fuelcng-C5w_JB2W.js → Fuelcng-BtlczBc0.js} +1 -1
- package/dist/{Fuele10-CrKPlOyK.js → Fuele10-v8wKwSCd.js} +1 -1
- package/dist/{Fuele5-P06yBuZM.js → Fuele5-DAF9DxZz.js} +1 -1
- package/dist/{Fuelfreetireinflation-BzJ755kf.js → Fuelfreetireinflation-Cfo3HVA5.js} +1 -1
- package/dist/{Fuelh2-Dk3R2qtr.js → Fuelh2-DPXdAT7c.js} +1 -1
- package/dist/{Functional18plus-6BsAGaHZ.js → Functional18plus-CFQ60zq6.js} +1 -1
- package/dist/{Functionalaccount-CoN-oV-H.js → Functionalaccount-Chsypj1k.js} +1 -1
- package/dist/{Functionaladdtolist-CQT-OsYx.js → Functionaladdtolist-VyhmaCZa.js} +1 -1
- package/dist/{Functionaladduser-jat9IOr8.js → Functionaladduser-BNnwpBte.js} +1 -1
- package/dist/{Functionalalphabeta-Dh0ITLQr.js → Functionalalphabeta-CSpk94VX.js} +1 -1
- package/dist/{Functionalback-Fh9Dgg1g.js → Functionalback-o_4C06E7.js} +1 -1
- package/dist/{Functionalbarcode-gf1T4gob.js → Functionalbarcode-B-UUujTa.js} +1 -1
- package/dist/{Functionalblock-CfsOFc_3.js → Functionalblock-CeOqQtll.js} +1 -1
- package/dist/{Functionalbox-D5SOu-8y.js → Functionalbox-B-7diliX.js} +1 -1
- package/dist/{Functionalcalendar-BVB4Fd7k.js → Functionalcalendar-CsLRy_xO.js} +1 -1
- package/dist/{Functionalcamera-szRXrYk7.js → Functionalcamera-DJhQoMQV.js} +1 -1
- package/dist/{Functionalcartcheckout-HKn16GNT.js → Functionalcartcheckout-Dl3B25HN.js} +1 -1
- package/dist/{Functionalcartedit-D-pe5zUc.js → Functionalcartedit-B3Pt-tiN.js} +1 -1
- package/dist/{Functionalcheck-BLVYQx9R.js → Functionalcheck-DwxmxINM.js} +1 -1
- package/dist/{Functionalchecklist-BMqKVEds.js → Functionalchecklist-MV0WSUb5.js} +1 -1
- package/dist/{Functionalchevrondown-Cni6Y728.js → Functionalchevrondown-CXApUkiP.js} +1 -1
- package/dist/{Functionalchevronright-DvmZg9DB.js → Functionalchevronright-dtDbXlh7.js} +1 -1
- package/dist/{Functionalchevronup-DASDF9p0.js → Functionalchevronup-Becqwk7V.js} +1 -1
- package/dist/{Functionalclock-DYY3UBtr.js → Functionalclock-CWQRnAar.js} +1 -1
- package/dist/{Functionalclose-BgEHNmNR.js → Functionalclose-CZ4Xc_l2.js} +1 -1
- package/dist/{Functionalcommunications-CmD-a8pF.js → Functionalcommunications-D4dLblKc.js} +1 -1
- package/dist/{Functionalconnecteddevice-H3Uc8P1C.js → Functionalconnecteddevice-C4-wbO5o.js} +1 -1
- package/dist/{Functionalconnectioncable-c24ebnoz.js → Functionalconnectioncable-BDzrFCxm.js} +1 -1
- package/dist/{Functionalcookies-C56qPuSD.js → Functionalcookies-2Wcs4oue.js} +1 -1
- package/dist/{Functionalcopy-DRiRRM6P.js → Functionalcopy-8mrST8B4.js} +1 -1
- package/dist/{Functionalcustomerservice-COOAN-ho.js → Functionalcustomerservice-BaU53T53.js} +1 -1
- package/dist/{Functionaldeliveryaddresses-CHU3Orv6.js → Functionaldeliveryaddresses-CBc0ajLp.js} +1 -1
- package/dist/{Functionaldiscount-CHhhluSm.js → Functionaldiscount-QQ0cynrq.js} +1 -1
- package/dist/{Functionaldiscountcode-CMduNT8o.js → Functionaldiscountcode-CcmtrYRX.js} +1 -1
- package/dist/{Functionaldownload-G4D-exsW.js → Functionaldownload-BCHcUgt1.js} +1 -1
- package/dist/{Functionaldrycleaning-CDKJTRaT.js → Functionaldrycleaning-Biv9d9DU.js} +1 -1
- package/dist/{Functionalecoearth-DJBklGOR.js → Functionalecoearth-BBqEMjXK.js} +1 -1
- package/dist/{Functionaledit-5lGuWPNb.js → Functionaledit-DBONegB9.js} +1 -1
- package/dist/{Functionalellipsis-D5ibFrYR.js → Functionalellipsis-DJoQD5LY.js} +1 -1
- package/dist/{Functionalerrorcircle-DWAiW4uc.js → Functionalerrorcircle-BXI0nMo7.js} +1 -1
- package/dist/{Functionalerrorcirclefilled-Ba-aOFjS.js → Functionalerrorcirclefilled-kryuh5pa.js} +1 -1
- package/dist/{Functionaleuro-BdPFdBVZ.js → Functionaleuro-0J5usXAT.js} +1 -1
- package/dist/{Functionalexit-N7TrY_S1.js → Functionalexit-BlGgylkE.js} +1 -1
- package/dist/{Functionalexport-D9hirDCl.js → Functionalexport-DkZW4wU8.js} +1 -1
- package/dist/{Functionalexternallink-Dof6CSY-.js → Functionalexternallink-BUP85Fc9.js} +1 -1
- package/dist/{Functionaleyehidden-BnQv63xD.js → Functionaleyehidden-Dd--_EYj.js} +1 -1
- package/dist/{Functionaleyeshow-C2WP66F_.js → Functionaleyeshow-Di7tYUqM.js} +1 -1
- package/dist/{Functionalfilter-B_L3veHJ.js → Functionalfilter-CeVqSYAO.js} +1 -1
- package/dist/{Functionalfirstadded-i5Gvag2D.js → Functionalfirstadded-B2GWS-wm.js} +1 -1
- package/dist/{Functionalgift-DWigaO9r.js → Functionalgift-Cf0Y6kUY.js} +1 -1
- package/dist/{Functionalhistory-D8FHvH9I.js → Functionalhistory-CHczSTL9.js} +1 -1
- package/dist/{Functionalidea-hqsmpOnh.js → Functionalidea-CgQpqsbv.js} +1 -1
- package/dist/{Functionalinappnotifications-CquK1cbl.js → Functionalinappnotifications-D677qvWj.js} +1 -1
- package/dist/{Functionalkiosk-CUKYbEoz.js → Functionalkiosk-bFpfmaPD.js} +1 -1
- package/dist/{Functionallastadded-DS8FQddD.js → Functionallastadded-C0Z1PSL0.js} +1 -1
- package/dist/{Functionallifestyle-Dz0hfamu.js → Functionallifestyle-J3PRRSBc.js} +1 -1
- package/dist/{Functionallist-wmrQgynk.js → Functionallist-2-cImzdF.js} +1 -1
- package/dist/{Functionalloading-BXE-LnzZ.js → Functionalloading-BxtwEIr3.js} +1 -1
- package/dist/{Functionallocate-Dbd2eQtq.js → Functionallocate-CTcTaNcH.js} +1 -1
- package/dist/{Functionallocation-DNS0iJ5_.js → Functionallocation-qhjKMW6u.js} +1 -1
- package/dist/{Functionallocationhome-9Kstq-O1.js → Functionallocationhome-DaI3_6IK.js} +1 -1
- package/dist/{Functionallocationpickup-C50gLocX.js → Functionallocationpickup-DF4Dd7np.js} +1 -1
- package/dist/{Functionallogin-6qit7_Xc.js → Functionallogin-BAjQSjyR.js} +1 -1
- package/dist/{Functionallogout-C6PpryQo.js → Functionallogout-Blx3vBaS.js} +1 -1
- package/dist/{Functionalmail-DsxtoZae.js → Functionalmail-CZl3v5NW.js} +1 -1
- package/dist/{Functionalmaplocation-C45y_Dzm.js → Functionalmaplocation-C5h-iPvU.js} +1 -1
- package/dist/{Functionalmenu-b_3x2PKP.js → Functionalmenu-CzEiFP2k.js} +1 -1
- package/dist/{Functionalmessage-CVOrq1JE.js → Functionalmessage-Bz_kd5AN.js} +1 -1
- package/dist/{Functionalmessagefield-CbPjlZqI.js → Functionalmessagefield-yHKpsCb3.js} +1 -1
- package/dist/{Functionalminus-m1sxsWBD.js → Functionalminus-B1pk5XEL.js} +1 -1
- package/dist/{Functionalmobilepay-DN1r60dT.js → Functionalmobilepay-CS2dXVzB.js} +1 -1
- package/dist/{Functionalmultifactorauthenticator-aCBEBD4X.js → Functionalmultifactorauthenticator-DWgsXC6n.js} +1 -1
- package/dist/{Functionalnews-D5jYh5I5.js → Functionalnews-DBCF6s8m.js} +1 -1
- package/dist/{Functionalnext-8_lCqE6Q.js → Functionalnext-BmAEsiak.js} +1 -1
- package/dist/{Functionalnoconnection-C0CJ2wiO.js → Functionalnoconnection-CiBPi_N-.js} +1 -1
- package/dist/{Functionalnumber-DPap6PVa.js → Functionalnumber-B8cSAbNT.js} +1 -1
- package/dist/{Functionalother-jb6n4NkD.js → Functionalother-DJNdRG-m.js} +1 -1
- package/dist/{Functionalpack-BM8VgT5g.js → Functionalpack-_RM5PjYt.js} +1 -1
- package/dist/{Functionalpassword-CXEZiDGa.js → Functionalpassword-BJi52STr.js} +1 -1
- package/dist/{Functionalpercentage-CcCSz9NS.js → Functionalpercentage-BbDwoG5E.js} +1 -1
- package/dist/{Functionalphone-B6VuuXVm.js → Functionalphone-Dg0XkpMG.js} +1 -1
- package/dist/{Functionalpiece-tICwyxBz.js → Functionalpiece-BaZ3Su0D.js} +1 -1
- package/dist/{Functionalpinoutlines-Bgt9K0KZ.js → Functionalpinoutlines-DYmrZKnt.js} +1 -1
- package/dist/{Functionalplus-B9WcmgkE.js → Functionalplus-BhtjhBC-.js} +1 -1
- package/dist/{Functionalpluscircle-GhMAMN-U.js → Functionalpluscircle-BOqSuyyh.js} +1 -1
- package/dist/{Functionalpresent-CwWlHbXu.js → Functionalpresent-BJvlSw54.js} +1 -1
- package/dist/{Functionalprivacy-VteAYTBy.js → Functionalprivacy-BrCG46Vi.js} +1 -1
- package/dist/{Functionalpushnotifications-BDFblk4f.js → Functionalpushnotifications-vqpMWj9m.js} +1 -1
- package/dist/{Functionalquestioncircle-iXNm6mCn.js → Functionalquestioncircle-DTVaqVgb.js} +1 -1
- package/dist/{Functionalquestioncirclefilled-D3PVb8FU.js → Functionalquestioncirclefilled-D1cpUKhJ.js} +1 -1
- package/dist/{Functionalreadtime-CSg8HS96.js → Functionalreadtime-DCp1C5xL.js} +1 -1
- package/dist/{Functionalregister-BlLcXiB6.js → Functionalregister-7cFbdpxu.js} +1 -1
- package/dist/{Functionalreset-C2ls4J90.js → Functionalreset-Y5T2bVSp.js} +1 -1
- package/dist/{Functionalsave-BCQ_3IwT.js → Functionalsave-Duu-iNsH.js} +1 -1
- package/dist/{Functionalsearch-COfRgqg2.js → Functionalsearch-DhxCyleD.js} +1 -1
- package/dist/{Functionalsettings-DbHEFABi.js → Functionalsettings-BqHsuLiN.js} +1 -1
- package/dist/{Functionalshare-1KBj2g4w.js → Functionalshare-RhOxXGwr.js} +1 -1
- package/dist/{Functionalshared-BWESnQab.js → Functionalshared-DOVpY6Ic.js} +1 -1
- package/dist/{Functionalshoppingcart-F7JJrGth.js → Functionalshoppingcart-CJXwBUoI.js} +1 -1
- package/dist/{Functionalshops-7rVW1lD4.js → Functionalshops-qguIPnjg.js} +1 -1
- package/dist/{Functionalsms-CuqAp3tA.js → Functionalsms-CDPCN6lL.js} +1 -1
- package/dist/{Functionalsorting-DP3AUl2Y.js → Functionalsorting-BxIBOv1h.js} +1 -1
- package/dist/{Functionalspinner-DWwgXjpH.js → Functionalspinner-DruQNHnK.js} +1 -1
- package/dist/{Functionalstorelayout-nIUe8k9Z.js → Functionalstorelayout-DsxHY-dN.js} +1 -1
- package/dist/{Functionalsuccesscircle-Qb0DRF7O.js → Functionalsuccesscircle-BsxjdWn9.js} +1 -1
- package/dist/{Functionalsuccesscirclefilled-FFGzkUI0.js → Functionalsuccesscirclefilled-CFsYRgNR.js} +1 -1
- package/dist/{Functionalswap-DgNxn-jS.js → Functionalswap--vuIUB44.js} +1 -1
- package/dist/{Functionalswitch-YzDZsESW.js → Functionalswitch-BDBvt3Nf.js} +1 -1
- package/dist/{Functionalthumbsup-CEyD92eg.js → Functionalthumbsup-1QkePSfM.js} +1 -1
- package/dist/{Functionaltimer-C_dGz8TK.js → Functionaltimer-Bv63_DHt.js} +1 -1
- package/dist/{Functionaltrash-BsZl1r9Y.js → Functionaltrash-DRjVUHeT.js} +1 -1
- package/dist/{Functionaltruck-Cqh3WHea.js → Functionaltruck-C2UwOE96.js} +1 -1
- package/dist/{Functionaluserinfo-Bkug2dVg.js → Functionaluserinfo-CaL7TpPF.js} +1 -1
- package/dist/{Functionalviewfile-Bxywc_Zz.js → Functionalviewfile-DUvTj9bL.js} +1 -1
- package/dist/{Functionalwarningcircle-Cjv5KbOV.js → Functionalwarningcircle-CrkXU4d7.js} +1 -1
- package/dist/{Functionalwarningcirclefilled-Cz8QASG6.js → Functionalwarningcirclefilled-BqgEvtzc.js} +1 -1
- package/dist/{Functionalwebsite-D97OElTz.js → Functionalwebsite-IYMhha7s.js} +1 -1
- package/dist/{Functionalweight-BcVsr5RH.js → Functionalweight-DRGSO9lo.js} +1 -1
- package/dist/{Toolsassortment-JzDWAO57.js → Toolsassortment-57MqI0IS.js} +1 -1
- package/dist/{Toolscoupons-VcRR9zoL.js → Toolscoupons-CQDCewFj.js} +1 -1
- package/dist/{Toolsfavoriteactive-qhuKY5IJ.js → Toolsfavoriteactive-CJeXTWL5.js} +1 -1
- package/dist/{Toolsfavoriteinactive-VE_LtqYw.js → Toolsfavoriteinactive-D6JuVqgy.js} +1 -1
- package/dist/{Toolsfuel-DQrDQ6wg.js → Toolsfuel-B9pNzESV.js} +1 -1
- package/dist/{Toolspay-VJDbPy0q.js → Toolspay-KzMObV2s.js} +1 -1
- package/dist/{Toolspromo-zhn_Kcq8.js → Toolspromo-r2Tofrkn.js} +1 -1
- package/dist/{Toolsreceipt-BR3VAXQB.js → Toolsreceipt-B9Tm3JOT.js} +1 -1
- package/dist/{Toolsrecipes2-RRs1lyrj.js → Toolsrecipes2-C0CcqaOd.js} +1 -1
- package/dist/{Toolsscan2-B65dlnnI.js → Toolsscan2-RblNDmo6.js} +1 -1
- package/dist/{Toolsshowxtranew-BSdvHC9n.js → Toolsshowxtranew-Dv_L-2MA.js} +1 -1
- package/dist/{Toolsshowxtraold-CV--Zz8L.js → Toolsshowxtraold-C2ZQcn45.js} +1 -1
- package/dist/{Toolsstats-Dw7aOFD1.js → Toolsstats-BL9nU23D.js} +1 -1
- package/dist/{Toolsstorelocator-B4zJVS7Y.js → Toolsstorelocator-DxrXZ2qw.js} +1 -1
- package/dist/{Toolswarranty-D2uezxO5.js → Toolswarranty-yKHDFXYh.js} +1 -1
- package/dist/{index-Dx1s4O7G.js → index-BtEzeetk.js} +113 -103
- package/dist/xtra-authentication.js +2 -2
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var ls = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var c = (t, e, s) => (
|
|
4
|
+
var ke = (t, e, s) => e.has(t) || ls("Cannot " + s);
|
|
5
|
+
var c = (t, e, s) => (ke(t, e, "read from private field"), s ? s.call(t) : e.get(t)), b = (t, e, s) => e.has(t) ? ls("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), y = (t, e, s, r) => (ke(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s), w = (t, e, s) => (ke(t, e, "access private method"), s);
|
|
6
6
|
var de = (t, e, s, r) => ({
|
|
7
7
|
set _(i) {
|
|
8
8
|
y(t, e, i, s);
|
|
@@ -11,7 +11,7 @@ var de = (t, e, s, r) => ({
|
|
|
11
11
|
return c(t, e, r);
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
import { r as a, j as n, u as
|
|
14
|
+
import { r as a, j as n, u as Mr, a as Rr, b as nt, g as Se, P as cs, c as Ze, d as Lr, e as zr, E as Fr, C as Dr } from "./index-BtEzeetk.js";
|
|
15
15
|
var re = class {
|
|
16
16
|
constructor() {
|
|
17
17
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
@@ -31,13 +31,13 @@ var re = class {
|
|
|
31
31
|
}, zt = typeof window > "u" || "Deno" in globalThis;
|
|
32
32
|
function G() {
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function $r(t, e) {
|
|
35
35
|
return typeof t == "function" ? t(e) : t;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Pe(t) {
|
|
38
38
|
return typeof t == "number" && t >= 0 && t !== 1 / 0;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Us(t, e) {
|
|
41
41
|
return Math.max(t + (e || 0) - Date.now(), 0);
|
|
42
42
|
}
|
|
43
43
|
function St(t, e) {
|
|
@@ -46,7 +46,7 @@ function St(t, e) {
|
|
|
46
46
|
function tt(t, e) {
|
|
47
47
|
return typeof t == "function" ? t(e) : t;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function us(t, e) {
|
|
50
50
|
const {
|
|
51
51
|
type: s = "all",
|
|
52
52
|
exact: r,
|
|
@@ -57,7 +57,7 @@ function cs(t, e) {
|
|
|
57
57
|
} = t;
|
|
58
58
|
if (l) {
|
|
59
59
|
if (r) {
|
|
60
|
-
if (e.queryHash !==
|
|
60
|
+
if (e.queryHash !== Xe(l, e.options))
|
|
61
61
|
return !1;
|
|
62
62
|
} else if (!ne(e.queryKey, l))
|
|
63
63
|
return !1;
|
|
@@ -69,7 +69,7 @@ function cs(t, e) {
|
|
|
69
69
|
}
|
|
70
70
|
return !(typeof u == "boolean" && e.isStale() !== u || i && i !== e.state.fetchStatus || o && !o(e));
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function hs(t, e) {
|
|
73
73
|
const { exact: s, status: r, predicate: i, mutationKey: o } = t;
|
|
74
74
|
if (o) {
|
|
75
75
|
if (!e.options.mutationKey)
|
|
@@ -82,28 +82,28 @@ function us(t, e) {
|
|
|
82
82
|
}
|
|
83
83
|
return !(r && e.state.status !== r || i && !i(e));
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Xe(t, e) {
|
|
86
86
|
return ((e == null ? void 0 : e.queryKeyHashFn) || Ft)(t);
|
|
87
87
|
}
|
|
88
88
|
function Ft(t) {
|
|
89
89
|
return JSON.stringify(
|
|
90
90
|
t,
|
|
91
|
-
(e, s) =>
|
|
91
|
+
(e, s) => Ne(s) ? Object.keys(s).sort().reduce((r, i) => (r[i] = s[i], r), {}) : s
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
function ne(t, e) {
|
|
95
95
|
return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((s) => ne(t[s], e[s])) : !1;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Qs(t, e) {
|
|
98
98
|
if (t === e)
|
|
99
99
|
return t;
|
|
100
|
-
const s =
|
|
101
|
-
if (s ||
|
|
100
|
+
const s = ds(t) && ds(e);
|
|
101
|
+
if (s || Ne(t) && Ne(e)) {
|
|
102
102
|
const r = s ? t : Object.keys(t), i = r.length, o = s ? e : Object.keys(e), l = o.length, u = s ? [] : {};
|
|
103
103
|
let h = 0;
|
|
104
104
|
for (let d = 0; d < l; d++) {
|
|
105
105
|
const f = s ? d : o[d];
|
|
106
|
-
(!s && r.includes(f) || s) && t[f] === void 0 && e[f] === void 0 ? (u[f] = void 0, h++) : (u[f] =
|
|
106
|
+
(!s && r.includes(f) || s) && t[f] === void 0 && e[f] === void 0 ? (u[f] = void 0, h++) : (u[f] = Qs(t[f], e[f]), u[f] === t[f] && t[f] !== void 0 && h++);
|
|
107
107
|
}
|
|
108
108
|
return i === l && h === i ? t : u;
|
|
109
109
|
}
|
|
@@ -117,45 +117,45 @@ function ge(t, e) {
|
|
|
117
117
|
return !1;
|
|
118
118
|
return !0;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function ds(t) {
|
|
121
121
|
return Array.isArray(t) && t.length === Object.keys(t).length;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
if (!
|
|
123
|
+
function Ne(t) {
|
|
124
|
+
if (!fs(t))
|
|
125
125
|
return !1;
|
|
126
126
|
const e = t.constructor;
|
|
127
127
|
if (e === void 0)
|
|
128
128
|
return !0;
|
|
129
129
|
const s = e.prototype;
|
|
130
|
-
return !(!
|
|
130
|
+
return !(!fs(s) || !s.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(t) !== Object.prototype);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function fs(t) {
|
|
133
133
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ur(t) {
|
|
136
136
|
return new Promise((e) => {
|
|
137
137
|
setTimeout(e, t);
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
function Te(t, e, s) {
|
|
141
|
-
return typeof s.structuralSharing == "function" ? s.structuralSharing(t, e) : s.structuralSharing !== !1 ?
|
|
141
|
+
return typeof s.structuralSharing == "function" ? s.structuralSharing(t, e) : s.structuralSharing !== !1 ? Qs(t, e) : e;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Qr(t, e, s = 0) {
|
|
144
144
|
const r = [...t, e];
|
|
145
145
|
return s && r.length > s ? r.slice(1) : r;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Hr(t, e, s = 0) {
|
|
148
148
|
const r = [e, ...t];
|
|
149
149
|
return s && r.length > s ? r.slice(0, -1) : r;
|
|
150
150
|
}
|
|
151
|
-
var
|
|
152
|
-
function Qs(t, e) {
|
|
153
|
-
return !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === Xe ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
|
|
154
|
-
}
|
|
151
|
+
var Ye = Symbol();
|
|
155
152
|
function Hs(t, e) {
|
|
153
|
+
return !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === Ye ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
|
|
154
|
+
}
|
|
155
|
+
function Vs(t, e) {
|
|
156
156
|
return typeof t == "function" ? t(...e) : !!t;
|
|
157
157
|
}
|
|
158
|
-
var Ot, pt, qt,
|
|
158
|
+
var Ot, pt, qt, Ps, Vr = (Ps = class extends re {
|
|
159
159
|
constructor() {
|
|
160
160
|
super();
|
|
161
161
|
b(this, Ot);
|
|
@@ -196,7 +196,7 @@ var Ot, pt, qt, As, Qr = (As = class extends re {
|
|
|
196
196
|
var e;
|
|
197
197
|
return typeof c(this, Ot) == "boolean" ? c(this, Ot) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
|
|
198
198
|
}
|
|
199
|
-
}, Ot = new WeakMap(), pt = new WeakMap(), qt = new WeakMap(),
|
|
199
|
+
}, Ot = new WeakMap(), pt = new WeakMap(), qt = new WeakMap(), Ps), Je = new Vr(), Gt, mt, Kt, Ns, qr = (Ns = class extends re {
|
|
200
200
|
constructor() {
|
|
201
201
|
super();
|
|
202
202
|
b(this, Gt, !0);
|
|
@@ -230,7 +230,7 @@ var Ot, pt, qt, As, Qr = (As = class extends re {
|
|
|
230
230
|
isOnline() {
|
|
231
231
|
return c(this, Gt);
|
|
232
232
|
}
|
|
233
|
-
}, Gt = new WeakMap(), mt = new WeakMap(), Kt = new WeakMap(), Ns), ve = new
|
|
233
|
+
}, Gt = new WeakMap(), mt = new WeakMap(), Kt = new WeakMap(), Ns), ve = new qr();
|
|
234
234
|
function Me() {
|
|
235
235
|
let t, e;
|
|
236
236
|
const s = new Promise((i, o) => {
|
|
@@ -253,30 +253,30 @@ function Me() {
|
|
|
253
253
|
}), e(i);
|
|
254
254
|
}, s;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Gr(t) {
|
|
257
257
|
return Math.min(1e3 * 2 ** t, 3e4);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function qs(t) {
|
|
260
260
|
return (t ?? "online") === "online" ? ve.isOnline() : !0;
|
|
261
261
|
}
|
|
262
|
-
var
|
|
262
|
+
var Gs = class extends Error {
|
|
263
263
|
constructor(t) {
|
|
264
264
|
super("CancelledError"), this.revert = t == null ? void 0 : t.revert, this.silent = t == null ? void 0 : t.silent;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
|
-
function
|
|
268
|
-
return t instanceof
|
|
267
|
+
function Ee(t) {
|
|
268
|
+
return t instanceof Gs;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Ks(t) {
|
|
271
271
|
let e = !1, s = 0, r = !1, i;
|
|
272
272
|
const o = Me(), l = (v) => {
|
|
273
273
|
var C;
|
|
274
|
-
r || (g(new
|
|
274
|
+
r || (g(new Gs(v)), (C = t.abort) == null || C.call(t));
|
|
275
275
|
}, u = () => {
|
|
276
276
|
e = !0;
|
|
277
277
|
}, h = () => {
|
|
278
278
|
e = !1;
|
|
279
|
-
}, d = () =>
|
|
279
|
+
}, d = () => Je.isFocused() && (t.networkMode === "always" || ve.isOnline()) && t.canRun(), f = () => qs(t.networkMode) && t.canRun(), p = (v) => {
|
|
280
280
|
var C;
|
|
281
281
|
r || (r = !0, (C = t.onSuccess) == null || C.call(t, v), i == null || i(), o.resolve(v));
|
|
282
282
|
}, g = (v) => {
|
|
@@ -284,8 +284,8 @@ function Gs(t) {
|
|
|
284
284
|
r || (r = !0, (C = t.onError) == null || C.call(t, v), i == null || i(), o.reject(v));
|
|
285
285
|
}, m = () => new Promise((v) => {
|
|
286
286
|
var C;
|
|
287
|
-
i = (
|
|
288
|
-
(r || d()) && v(
|
|
287
|
+
i = (E) => {
|
|
288
|
+
(r || d()) && v(E);
|
|
289
289
|
}, (C = t.onPause) == null || C.call(t);
|
|
290
290
|
}).then(() => {
|
|
291
291
|
var v;
|
|
@@ -297,20 +297,20 @@ function Gs(t) {
|
|
|
297
297
|
const C = s === 0 ? t.initialPromise : void 0;
|
|
298
298
|
try {
|
|
299
299
|
v = C ?? t.fn();
|
|
300
|
-
} catch (
|
|
301
|
-
v = Promise.reject(
|
|
300
|
+
} catch (E) {
|
|
301
|
+
v = Promise.reject(E);
|
|
302
302
|
}
|
|
303
|
-
Promise.resolve(v).then(p).catch((
|
|
303
|
+
Promise.resolve(v).then(p).catch((E) => {
|
|
304
304
|
var D;
|
|
305
305
|
if (r)
|
|
306
306
|
return;
|
|
307
|
-
const j = t.retry ?? (zt ? 0 : 3), A = t.retryDelay ??
|
|
307
|
+
const j = t.retry ?? (zt ? 0 : 3), A = t.retryDelay ?? Gr, M = typeof A == "function" ? A(s, E) : A, F = j === !0 || typeof j == "number" && s < j || typeof j == "function" && j(s, E);
|
|
308
308
|
if (e || !F) {
|
|
309
|
-
g(
|
|
309
|
+
g(E);
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
|
-
s++, (D = t.onFail) == null || D.call(t, s,
|
|
313
|
-
e ? g(
|
|
312
|
+
s++, (D = t.onFail) == null || D.call(t, s, E), Ur(M).then(() => d() ? void 0 : m()).then(() => {
|
|
313
|
+
e ? g(E) : x();
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
};
|
|
@@ -324,13 +324,13 @@ function Gs(t) {
|
|
|
324
324
|
start: () => (f() ? x() : m().then(x), o)
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var Kr = (t) => setTimeout(t, 0);
|
|
328
|
+
function Wr() {
|
|
329
329
|
let t = [], e = 0, s = (u) => {
|
|
330
330
|
u();
|
|
331
331
|
}, r = (u) => {
|
|
332
332
|
u();
|
|
333
|
-
}, i =
|
|
333
|
+
}, i = Kr;
|
|
334
334
|
const o = (u) => {
|
|
335
335
|
e ? t.push(u) : i(() => {
|
|
336
336
|
s(u);
|
|
@@ -384,7 +384,7 @@ function Gr() {
|
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
|
-
var U =
|
|
387
|
+
var U = Wr(), At, Ts, Ws = (Ts = class {
|
|
388
388
|
constructor() {
|
|
389
389
|
b(this, At);
|
|
390
390
|
}
|
|
@@ -392,7 +392,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
392
392
|
this.clearGcTimeout();
|
|
393
393
|
}
|
|
394
394
|
scheduleGc() {
|
|
395
|
-
this.clearGcTimeout(),
|
|
395
|
+
this.clearGcTimeout(), Pe(this.gcTime) && y(this, At, setTimeout(() => {
|
|
396
396
|
this.optionalRemove();
|
|
397
397
|
}, this.gcTime));
|
|
398
398
|
}
|
|
@@ -405,18 +405,18 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
405
405
|
clearGcTimeout() {
|
|
406
406
|
c(this, At) && (clearTimeout(c(this, At)), y(this, At, void 0));
|
|
407
407
|
}
|
|
408
|
-
}, At = new WeakMap(),
|
|
408
|
+
}, At = new WeakMap(), Ts), Wt, Zt, J, Pt, Q, ae, Nt, I, ot, Ms, Zr = (Ms = class extends Ws {
|
|
409
409
|
constructor(e) {
|
|
410
410
|
super();
|
|
411
411
|
b(this, I);
|
|
412
412
|
b(this, Wt);
|
|
413
413
|
b(this, Zt);
|
|
414
414
|
b(this, J);
|
|
415
|
-
b(this,
|
|
415
|
+
b(this, Pt);
|
|
416
416
|
b(this, Q);
|
|
417
417
|
b(this, ae);
|
|
418
|
-
b(this,
|
|
419
|
-
y(this,
|
|
418
|
+
b(this, Nt);
|
|
419
|
+
y(this, Nt, !1), y(this, ae, e.defaultOptions), this.setOptions(e.options), this.observers = [], y(this, Pt, e.client), y(this, J, c(this, Pt).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, y(this, Wt, Xr(this.options)), this.state = e.state ?? c(this, Wt), this.scheduleGc();
|
|
420
420
|
}
|
|
421
421
|
get meta() {
|
|
422
422
|
return this.options.meta;
|
|
@@ -460,7 +460,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
460
460
|
);
|
|
461
461
|
}
|
|
462
462
|
isDisabled() {
|
|
463
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
463
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ye || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
|
|
464
464
|
}
|
|
465
465
|
isStatic() {
|
|
466
466
|
return this.getObserversCount() > 0 ? this.observers.some(
|
|
@@ -473,7 +473,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
473
473
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
|
474
474
|
}
|
|
475
475
|
isStaleByTime(e = 0) {
|
|
476
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 :
|
|
476
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Us(this.state.dataUpdatedAt, e);
|
|
477
477
|
}
|
|
478
478
|
onFocus() {
|
|
479
479
|
var s;
|
|
@@ -489,7 +489,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
489
489
|
this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), c(this, J).notify({ type: "observerAdded", query: this, observer: e }));
|
|
490
490
|
}
|
|
491
491
|
removeObserver(e) {
|
|
492
|
-
this.observers.includes(e) && (this.observers = this.observers.filter((s) => s !== e), this.observers.length || (c(this, Q) && (c(this,
|
|
492
|
+
this.observers.includes(e) && (this.observers = this.observers.filter((s) => s !== e), this.observers.length || (c(this, Q) && (c(this, Nt) ? c(this, Q).cancel({ revert: !0 }) : c(this, Q).cancelRetry()), this.scheduleGc()), c(this, J).notify({ type: "observerRemoved", query: this, observer: e }));
|
|
493
493
|
}
|
|
494
494
|
getObserversCount() {
|
|
495
495
|
return this.observers.length;
|
|
@@ -512,15 +512,15 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
512
512
|
const r = new AbortController(), i = (p) => {
|
|
513
513
|
Object.defineProperty(p, "signal", {
|
|
514
514
|
enumerable: !0,
|
|
515
|
-
get: () => (y(this,
|
|
515
|
+
get: () => (y(this, Nt, !0), r.signal)
|
|
516
516
|
});
|
|
517
517
|
}, o = () => {
|
|
518
|
-
const p =
|
|
519
|
-
client: c(this,
|
|
518
|
+
const p = Hs(this.options, s), g = {
|
|
519
|
+
client: c(this, Pt),
|
|
520
520
|
queryKey: this.queryKey,
|
|
521
521
|
meta: this.meta
|
|
522
522
|
};
|
|
523
|
-
return i(g), y(this,
|
|
523
|
+
return i(g), y(this, Nt, !1), this.options.persister ? this.options.persister(
|
|
524
524
|
p,
|
|
525
525
|
g,
|
|
526
526
|
this
|
|
@@ -529,7 +529,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
529
529
|
fetchOptions: s,
|
|
530
530
|
options: this.options,
|
|
531
531
|
queryKey: this.queryKey,
|
|
532
|
-
client: c(this,
|
|
532
|
+
client: c(this, Pt),
|
|
533
533
|
state: this.state,
|
|
534
534
|
fetchFn: o
|
|
535
535
|
};
|
|
@@ -539,10 +539,10 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
539
539
|
), y(this, Zt, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((d = l.fetchOptions) == null ? void 0 : d.meta)) && w(this, I, ot).call(this, { type: "fetch", meta: (f = l.fetchOptions) == null ? void 0 : f.meta });
|
|
540
540
|
const u = (p) => {
|
|
541
541
|
var g, m, x, v;
|
|
542
|
-
|
|
542
|
+
Ee(p) && p.silent || w(this, I, ot).call(this, {
|
|
543
543
|
type: "error",
|
|
544
544
|
error: p
|
|
545
|
-
}),
|
|
545
|
+
}), Ee(p) || ((m = (g = c(this, J).config).onError) == null || m.call(
|
|
546
546
|
g,
|
|
547
547
|
p,
|
|
548
548
|
this
|
|
@@ -553,7 +553,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
553
553
|
this
|
|
554
554
|
)), this.scheduleGc();
|
|
555
555
|
};
|
|
556
|
-
return y(this, Q,
|
|
556
|
+
return y(this, Q, Ks({
|
|
557
557
|
initialPromise: s == null ? void 0 : s.initialPromise,
|
|
558
558
|
fn: l.fetchFn,
|
|
559
559
|
abort: r.abort.bind(r),
|
|
@@ -592,7 +592,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
592
592
|
canRun: () => !0
|
|
593
593
|
})), c(this, Q).start();
|
|
594
594
|
}
|
|
595
|
-
}, Wt = new WeakMap(), Zt = new WeakMap(), J = new WeakMap(),
|
|
595
|
+
}, Wt = new WeakMap(), Zt = new WeakMap(), J = new WeakMap(), Pt = new WeakMap(), Q = new WeakMap(), ae = new WeakMap(), Nt = new WeakMap(), I = new WeakSet(), ot = function(e) {
|
|
596
596
|
const s = (r) => {
|
|
597
597
|
switch (e.type) {
|
|
598
598
|
case "failed":
|
|
@@ -614,7 +614,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
614
614
|
case "fetch":
|
|
615
615
|
return {
|
|
616
616
|
...r,
|
|
617
|
-
...
|
|
617
|
+
...Zs(r.data, this.options),
|
|
618
618
|
fetchMeta: e.meta ?? null
|
|
619
619
|
};
|
|
620
620
|
case "success":
|
|
@@ -634,7 +634,7 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
634
634
|
};
|
|
635
635
|
case "error":
|
|
636
636
|
const i = e.error;
|
|
637
|
-
return
|
|
637
|
+
return Ee(i) && i.revert && c(this, Zt) ? { ...c(this, Zt), fetchStatus: "idle" } : {
|
|
638
638
|
...r,
|
|
639
639
|
error: i,
|
|
640
640
|
errorUpdateCount: r.errorUpdateCount + 1,
|
|
@@ -661,19 +661,19 @@ var U = Gr(), At, Ps, Ks = (Ps = class {
|
|
|
661
661
|
r.onQueryUpdate();
|
|
662
662
|
}), c(this, J).notify({ query: this, type: "updated", action: e });
|
|
663
663
|
});
|
|
664
|
-
},
|
|
665
|
-
function
|
|
664
|
+
}, Ms);
|
|
665
|
+
function Zs(t, e) {
|
|
666
666
|
return {
|
|
667
667
|
fetchFailureCount: 0,
|
|
668
668
|
fetchFailureReason: null,
|
|
669
|
-
fetchStatus:
|
|
669
|
+
fetchStatus: qs(e.networkMode) ? "fetching" : "paused",
|
|
670
670
|
...t === void 0 && {
|
|
671
671
|
error: null,
|
|
672
672
|
status: "pending"
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Xr(t) {
|
|
677
677
|
const e = typeof t.initialData == "function" ? t.initialData() : t.initialData, s = e !== void 0, r = s ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
|
|
678
678
|
return {
|
|
679
679
|
data: e,
|
|
@@ -690,16 +690,16 @@ function Wr(t) {
|
|
|
690
690
|
fetchStatus: "idle"
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
var st,
|
|
693
|
+
var st, Rs, Yr = (Rs = class extends re {
|
|
694
694
|
constructor(e = {}) {
|
|
695
695
|
super();
|
|
696
696
|
b(this, st);
|
|
697
697
|
this.config = e, y(this, st, /* @__PURE__ */ new Map());
|
|
698
698
|
}
|
|
699
699
|
build(e, s, r) {
|
|
700
|
-
const i = s.queryKey, o = s.queryHash ??
|
|
700
|
+
const i = s.queryKey, o = s.queryHash ?? Xe(i, s);
|
|
701
701
|
let l = this.get(o);
|
|
702
|
-
return l || (l = new
|
|
702
|
+
return l || (l = new Zr({
|
|
703
703
|
client: e,
|
|
704
704
|
queryKey: i,
|
|
705
705
|
queryHash: o,
|
|
@@ -734,12 +734,12 @@ var st, Ms, Zr = (Ms = class extends re {
|
|
|
734
734
|
find(e) {
|
|
735
735
|
const s = { exact: !0, ...e };
|
|
736
736
|
return this.getAll().find(
|
|
737
|
-
(r) =>
|
|
737
|
+
(r) => us(s, r)
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
740
|
findAll(e = {}) {
|
|
741
741
|
const s = this.getAll();
|
|
742
|
-
return Object.keys(e).length > 0 ? s.filter((r) =>
|
|
742
|
+
return Object.keys(e).length > 0 ? s.filter((r) => us(e, r)) : s;
|
|
743
743
|
}
|
|
744
744
|
notify(e) {
|
|
745
745
|
U.batch(() => {
|
|
@@ -762,14 +762,14 @@ var st, Ms, Zr = (Ms = class extends re {
|
|
|
762
762
|
});
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
|
-
}, st = new WeakMap(),
|
|
765
|
+
}, st = new WeakMap(), Rs), rt, V, Tt, it, ft, Ls, Jr = (Ls = class extends Ws {
|
|
766
766
|
constructor(e) {
|
|
767
767
|
super();
|
|
768
768
|
b(this, it);
|
|
769
769
|
b(this, rt);
|
|
770
770
|
b(this, V);
|
|
771
771
|
b(this, Tt);
|
|
772
|
-
this.mutationId = e.mutationId, y(this, V, e.mutationCache), y(this, rt, []), this.state = e.state ||
|
|
772
|
+
this.mutationId = e.mutationId, y(this, V, e.mutationCache), y(this, rt, []), this.state = e.state || Xs(), this.setOptions(e.options), this.scheduleGc();
|
|
773
773
|
}
|
|
774
774
|
setOptions(e) {
|
|
775
775
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -800,14 +800,14 @@ var st, Ms, Zr = (Ms = class extends re {
|
|
|
800
800
|
this.execute(this.state.variables);
|
|
801
801
|
}
|
|
802
802
|
async execute(e) {
|
|
803
|
-
var o, l, u, h, d, f, p, g, m, x, v, C,
|
|
803
|
+
var o, l, u, h, d, f, p, g, m, x, v, C, E, j, A, M, F, D, et, $;
|
|
804
804
|
const s = () => {
|
|
805
805
|
w(this, it, ft).call(this, { type: "continue" });
|
|
806
806
|
};
|
|
807
|
-
y(this, Tt,
|
|
807
|
+
y(this, Tt, Ks({
|
|
808
808
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
|
|
809
|
-
onFail: (
|
|
810
|
-
w(this, it, ft).call(this, { type: "failed", failureCount:
|
|
809
|
+
onFail: (N, T) => {
|
|
810
|
+
w(this, it, ft).call(this, { type: "failed", failureCount: N, error: T });
|
|
811
811
|
},
|
|
812
812
|
onPause: () => {
|
|
813
813
|
w(this, it, ft).call(this, { type: "pause" });
|
|
@@ -836,50 +836,50 @@ var st, Ms, Zr = (Ms = class extends re {
|
|
|
836
836
|
isPaused: i
|
|
837
837
|
});
|
|
838
838
|
}
|
|
839
|
-
const
|
|
839
|
+
const N = await c(this, Tt).start();
|
|
840
840
|
return await ((f = (d = c(this, V).config).onSuccess) == null ? void 0 : f.call(
|
|
841
841
|
d,
|
|
842
|
-
|
|
842
|
+
N,
|
|
843
843
|
e,
|
|
844
844
|
this.state.context,
|
|
845
845
|
this
|
|
846
|
-
)), await ((g = (p = this.options).onSuccess) == null ? void 0 : g.call(p,
|
|
846
|
+
)), await ((g = (p = this.options).onSuccess) == null ? void 0 : g.call(p, N, e, this.state.context)), await ((x = (m = c(this, V).config).onSettled) == null ? void 0 : x.call(
|
|
847
847
|
m,
|
|
848
|
-
|
|
848
|
+
N,
|
|
849
849
|
null,
|
|
850
850
|
this.state.variables,
|
|
851
851
|
this.state.context,
|
|
852
852
|
this
|
|
853
|
-
)), await ((C = (v = this.options).onSettled) == null ? void 0 : C.call(v,
|
|
854
|
-
} catch (
|
|
853
|
+
)), await ((C = (v = this.options).onSettled) == null ? void 0 : C.call(v, N, null, e, this.state.context)), w(this, it, ft).call(this, { type: "success", data: N }), N;
|
|
854
|
+
} catch (N) {
|
|
855
855
|
try {
|
|
856
|
-
throw await ((j = (
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
throw await ((j = (E = c(this, V).config).onError) == null ? void 0 : j.call(
|
|
857
|
+
E,
|
|
858
|
+
N,
|
|
859
859
|
e,
|
|
860
860
|
this.state.context,
|
|
861
861
|
this
|
|
862
862
|
)), await ((M = (A = this.options).onError) == null ? void 0 : M.call(
|
|
863
863
|
A,
|
|
864
|
-
|
|
864
|
+
N,
|
|
865
865
|
e,
|
|
866
866
|
this.state.context
|
|
867
867
|
)), await ((D = (F = c(this, V).config).onSettled) == null ? void 0 : D.call(
|
|
868
868
|
F,
|
|
869
869
|
void 0,
|
|
870
|
-
|
|
870
|
+
N,
|
|
871
871
|
this.state.variables,
|
|
872
872
|
this.state.context,
|
|
873
873
|
this
|
|
874
874
|
)), await (($ = (et = this.options).onSettled) == null ? void 0 : $.call(
|
|
875
875
|
et,
|
|
876
876
|
void 0,
|
|
877
|
-
|
|
877
|
+
N,
|
|
878
878
|
e,
|
|
879
879
|
this.state.context
|
|
880
|
-
)),
|
|
880
|
+
)), N;
|
|
881
881
|
} finally {
|
|
882
|
-
w(this, it, ft).call(this, { type: "error", error:
|
|
882
|
+
w(this, it, ft).call(this, { type: "error", error: N });
|
|
883
883
|
}
|
|
884
884
|
} finally {
|
|
885
885
|
c(this, V).runNext(this);
|
|
@@ -948,8 +948,8 @@ var st, Ms, Zr = (Ms = class extends re {
|
|
|
948
948
|
action: e
|
|
949
949
|
});
|
|
950
950
|
});
|
|
951
|
-
},
|
|
952
|
-
function
|
|
951
|
+
}, Ls);
|
|
952
|
+
function Xs() {
|
|
953
953
|
return {
|
|
954
954
|
context: void 0,
|
|
955
955
|
data: void 0,
|
|
@@ -962,7 +962,7 @@ function Zs() {
|
|
|
962
962
|
submittedAt: 0
|
|
963
963
|
};
|
|
964
964
|
}
|
|
965
|
-
var ct, B, oe,
|
|
965
|
+
var ct, B, oe, zs, Ir = (zs = class extends re {
|
|
966
966
|
constructor(e = {}) {
|
|
967
967
|
super();
|
|
968
968
|
b(this, ct);
|
|
@@ -971,7 +971,7 @@ var ct, B, oe, Ls, Yr = (Ls = class extends re {
|
|
|
971
971
|
this.config = e, y(this, ct, /* @__PURE__ */ new Set()), y(this, B, /* @__PURE__ */ new Map()), y(this, oe, 0);
|
|
972
972
|
}
|
|
973
973
|
build(e, s, r) {
|
|
974
|
-
const i = new
|
|
974
|
+
const i = new Jr({
|
|
975
975
|
mutationCache: this,
|
|
976
976
|
mutationId: ++de(this, oe)._,
|
|
977
977
|
options: e.defaultMutationOptions(s),
|
|
@@ -1034,11 +1034,11 @@ var ct, B, oe, Ls, Yr = (Ls = class extends re {
|
|
|
1034
1034
|
find(e) {
|
|
1035
1035
|
const s = { exact: !0, ...e };
|
|
1036
1036
|
return this.getAll().find(
|
|
1037
|
-
(r) =>
|
|
1037
|
+
(r) => hs(s, r)
|
|
1038
1038
|
);
|
|
1039
1039
|
}
|
|
1040
1040
|
findAll(e = {}) {
|
|
1041
|
-
return this.getAll().filter((s) =>
|
|
1041
|
+
return this.getAll().filter((s) => hs(e, s));
|
|
1042
1042
|
}
|
|
1043
1043
|
notify(e) {
|
|
1044
1044
|
U.batch(() => {
|
|
@@ -1055,12 +1055,12 @@ var ct, B, oe, Ls, Yr = (Ls = class extends re {
|
|
|
1055
1055
|
)
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
|
-
}, ct = new WeakMap(), B = new WeakMap(), oe = new WeakMap(),
|
|
1058
|
+
}, ct = new WeakMap(), B = new WeakMap(), oe = new WeakMap(), zs);
|
|
1059
1059
|
function fe(t) {
|
|
1060
1060
|
var e;
|
|
1061
1061
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function ps(t) {
|
|
1064
1064
|
return {
|
|
1065
1065
|
onFetch: (e, s) => {
|
|
1066
1066
|
var f, p, g, m, x;
|
|
@@ -1075,7 +1075,7 @@ function fs(t) {
|
|
|
1075
1075
|
v = !0;
|
|
1076
1076
|
}), e.signal)
|
|
1077
1077
|
});
|
|
1078
|
-
},
|
|
1078
|
+
}, E = Hs(e.options, e.fetchOptions), j = async (A, M, F) => {
|
|
1079
1079
|
if (v)
|
|
1080
1080
|
return Promise.reject();
|
|
1081
1081
|
if (M == null && A.pages.length)
|
|
@@ -1088,16 +1088,16 @@ function fs(t) {
|
|
|
1088
1088
|
meta: e.options.meta
|
|
1089
1089
|
};
|
|
1090
1090
|
C(D);
|
|
1091
|
-
const et = await
|
|
1091
|
+
const et = await E(
|
|
1092
1092
|
D
|
|
1093
|
-
), { maxPages: $ } = e.options,
|
|
1093
|
+
), { maxPages: $ } = e.options, N = F ? Hr : Qr;
|
|
1094
1094
|
return {
|
|
1095
|
-
pages:
|
|
1096
|
-
pageParams:
|
|
1095
|
+
pages: N(A.pages, et, $),
|
|
1096
|
+
pageParams: N(A.pageParams, M, $)
|
|
1097
1097
|
};
|
|
1098
1098
|
};
|
|
1099
1099
|
if (i && o.length) {
|
|
1100
|
-
const A = i === "backward", M = A ?
|
|
1100
|
+
const A = i === "backward", M = A ? Br : ms, F = {
|
|
1101
1101
|
pages: o,
|
|
1102
1102
|
pageParams: l
|
|
1103
1103
|
}, D = M(r, F);
|
|
@@ -1105,7 +1105,7 @@ function fs(t) {
|
|
|
1105
1105
|
} else {
|
|
1106
1106
|
const A = t ?? o.length;
|
|
1107
1107
|
do {
|
|
1108
|
-
const M = h === 0 ? l[0] ?? r.initialPageParam :
|
|
1108
|
+
const M = h === 0 ? l[0] ?? r.initialPageParam : ms(r, u);
|
|
1109
1109
|
if (h > 0 && M == null)
|
|
1110
1110
|
break;
|
|
1111
1111
|
u = await j(u, M), h++;
|
|
@@ -1130,7 +1130,7 @@ function fs(t) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
};
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function ms(t, { pages: e, pageParams: s }) {
|
|
1134
1134
|
const r = e.length - 1;
|
|
1135
1135
|
return e.length > 0 ? t.getNextPageParam(
|
|
1136
1136
|
e[r],
|
|
@@ -1139,11 +1139,11 @@ function ps(t, { pages: e, pageParams: s }) {
|
|
|
1139
1139
|
s
|
|
1140
1140
|
) : void 0;
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function Br(t, { pages: e, pageParams: s }) {
|
|
1143
1143
|
var r;
|
|
1144
1144
|
return e.length > 0 ? (r = t.getPreviousPageParam) == null ? void 0 : r.call(t, e[0], e, s[0], s) : void 0;
|
|
1145
1145
|
}
|
|
1146
|
-
var z, yt, gt, Xt, Yt, vt, Jt, It,
|
|
1146
|
+
var z, yt, gt, Xt, Yt, vt, Jt, It, Fs, Ys = (Fs = class {
|
|
1147
1147
|
constructor(t = {}) {
|
|
1148
1148
|
b(this, z);
|
|
1149
1149
|
b(this, yt);
|
|
@@ -1153,10 +1153,10 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1153
1153
|
b(this, vt);
|
|
1154
1154
|
b(this, Jt);
|
|
1155
1155
|
b(this, It);
|
|
1156
|
-
y(this, z, t.queryCache || new
|
|
1156
|
+
y(this, z, t.queryCache || new Yr()), y(this, yt, t.mutationCache || new Ir()), y(this, gt, t.defaultOptions || {}), y(this, Xt, /* @__PURE__ */ new Map()), y(this, Yt, /* @__PURE__ */ new Map()), y(this, vt, 0);
|
|
1157
1157
|
}
|
|
1158
1158
|
mount() {
|
|
1159
|
-
de(this, vt)._++, c(this, vt) === 1 && (y(this, Jt,
|
|
1159
|
+
de(this, vt)._++, c(this, vt) === 1 && (y(this, Jt, Je.subscribe(async (t) => {
|
|
1160
1160
|
t && (await this.resumePausedMutations(), c(this, z).onFocus());
|
|
1161
1161
|
})), y(this, It, ve.subscribe(async (t) => {
|
|
1162
1162
|
t && (await this.resumePausedMutations(), c(this, z).onOnline());
|
|
@@ -1197,7 +1197,7 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1197
1197
|
setQueryData(t, e, s) {
|
|
1198
1198
|
const r = this.defaultQueryOptions({ queryKey: t }), i = c(this, z).get(
|
|
1199
1199
|
r.queryHash
|
|
1200
|
-
), o = i == null ? void 0 : i.state.data, l =
|
|
1200
|
+
), o = i == null ? void 0 : i.state.data, l = $r(e, o);
|
|
1201
1201
|
if (l !== void 0)
|
|
1202
1202
|
return c(this, z).build(this, r).setData(l, { ...s, manual: !0 });
|
|
1203
1203
|
}
|
|
@@ -1277,13 +1277,13 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1277
1277
|
return this.fetchQuery(t).then(G).catch(G);
|
|
1278
1278
|
}
|
|
1279
1279
|
fetchInfiniteQuery(t) {
|
|
1280
|
-
return t.behavior =
|
|
1280
|
+
return t.behavior = ps(t.pages), this.fetchQuery(t);
|
|
1281
1281
|
}
|
|
1282
1282
|
prefetchInfiniteQuery(t) {
|
|
1283
1283
|
return this.fetchInfiniteQuery(t).then(G).catch(G);
|
|
1284
1284
|
}
|
|
1285
1285
|
ensureInfiniteQueryData(t) {
|
|
1286
|
-
return t.behavior =
|
|
1286
|
+
return t.behavior = ps(t.pages), this.ensureQueryData(t);
|
|
1287
1287
|
}
|
|
1288
1288
|
resumePausedMutations() {
|
|
1289
1289
|
return ve.isOnline() ? c(this, yt).resumePausedMutations() : Promise.resolve();
|
|
@@ -1333,10 +1333,10 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1333
1333
|
...t,
|
|
1334
1334
|
_defaulted: !0
|
|
1335
1335
|
};
|
|
1336
|
-
return e.queryHash || (e.queryHash =
|
|
1336
|
+
return e.queryHash || (e.queryHash = Xe(
|
|
1337
1337
|
e.queryKey,
|
|
1338
1338
|
e
|
|
1339
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn ===
|
|
1339
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Ye && (e.enabled = !1), e;
|
|
1340
1340
|
}
|
|
1341
1341
|
defaultMutationOptions(t) {
|
|
1342
1342
|
return t != null && t._defaulted ? t : {
|
|
@@ -1349,10 +1349,10 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1349
1349
|
clear() {
|
|
1350
1350
|
c(this, z).clear(), c(this, yt).clear();
|
|
1351
1351
|
}
|
|
1352
|
-
}, z = new WeakMap(), yt = new WeakMap(), gt = new WeakMap(), Xt = new WeakMap(), Yt = new WeakMap(), vt = new WeakMap(), Jt = new WeakMap(), It = new WeakMap(),
|
|
1352
|
+
}, z = new WeakMap(), yt = new WeakMap(), gt = new WeakMap(), Xt = new WeakMap(), Yt = new WeakMap(), vt = new WeakMap(), Jt = new WeakMap(), It = new WeakMap(), Fs), K, _, le, q, Mt, Bt, Ct, bt, ce, te, ee, Rt, Lt, xt, se, P, ie, Re, Le, ze, Fe, De, $e, Ue, Js, Ds, ti = (Ds = class extends re {
|
|
1353
1353
|
constructor(e, s) {
|
|
1354
1354
|
super();
|
|
1355
|
-
b(this,
|
|
1355
|
+
b(this, P);
|
|
1356
1356
|
b(this, K);
|
|
1357
1357
|
b(this, _);
|
|
1358
1358
|
b(this, le);
|
|
@@ -1378,7 +1378,7 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1378
1378
|
this.refetch = this.refetch.bind(this);
|
|
1379
1379
|
}
|
|
1380
1380
|
onSubscribe() {
|
|
1381
|
-
this.listeners.size === 1 && (c(this, _).addObserver(this),
|
|
1381
|
+
this.listeners.size === 1 && (c(this, _).addObserver(this), ys(c(this, _), this.options) ? w(this, P, ie).call(this) : this.updateResult(), w(this, P, Fe).call(this));
|
|
1382
1382
|
}
|
|
1383
1383
|
onUnsubscribe() {
|
|
1384
1384
|
this.hasListeners() || this.destroy();
|
|
@@ -1398,7 +1398,7 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1398
1398
|
);
|
|
1399
1399
|
}
|
|
1400
1400
|
destroy() {
|
|
1401
|
-
this.listeners = /* @__PURE__ */ new Set(), w(this,
|
|
1401
|
+
this.listeners = /* @__PURE__ */ new Set(), w(this, P, De).call(this), w(this, P, $e).call(this), c(this, _).removeObserver(this);
|
|
1402
1402
|
}
|
|
1403
1403
|
setOptions(e) {
|
|
1404
1404
|
const s = this.options, r = c(this, _);
|
|
@@ -1406,24 +1406,24 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1406
1406
|
throw new Error(
|
|
1407
1407
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
1408
1408
|
);
|
|
1409
|
-
w(this,
|
|
1409
|
+
w(this, P, Ue).call(this), c(this, _).setOptions(this.options), s._defaulted && !ge(this.options, s) && c(this, K).getQueryCache().notify({
|
|
1410
1410
|
type: "observerOptionsUpdated",
|
|
1411
1411
|
query: c(this, _),
|
|
1412
1412
|
observer: this
|
|
1413
1413
|
});
|
|
1414
1414
|
const i = this.hasListeners();
|
|
1415
|
-
i &&
|
|
1415
|
+
i && gs(
|
|
1416
1416
|
c(this, _),
|
|
1417
1417
|
r,
|
|
1418
1418
|
this.options,
|
|
1419
1419
|
s
|
|
1420
|
-
) && w(this,
|
|
1421
|
-
const o = w(this,
|
|
1422
|
-
i && (c(this, _) !== r || tt(this.options.enabled, c(this, _)) !== tt(s.enabled, c(this, _)) || o !== c(this, xt)) && w(this,
|
|
1420
|
+
) && w(this, P, ie).call(this), this.updateResult(), i && (c(this, _) !== r || tt(this.options.enabled, c(this, _)) !== tt(s.enabled, c(this, _)) || St(this.options.staleTime, c(this, _)) !== St(s.staleTime, c(this, _))) && w(this, P, Re).call(this);
|
|
1421
|
+
const o = w(this, P, Le).call(this);
|
|
1422
|
+
i && (c(this, _) !== r || tt(this.options.enabled, c(this, _)) !== tt(s.enabled, c(this, _)) || o !== c(this, xt)) && w(this, P, ze).call(this, o);
|
|
1423
1423
|
}
|
|
1424
1424
|
getOptimisticResult(e) {
|
|
1425
1425
|
const s = c(this, K).getQueryCache().build(c(this, K), e), r = this.createResult(s, e);
|
|
1426
|
-
return
|
|
1426
|
+
return si(this, r) && (y(this, q, r), y(this, Bt, this.options), y(this, Mt, c(this, _).state)), r;
|
|
1427
1427
|
}
|
|
1428
1428
|
getCurrentResult() {
|
|
1429
1429
|
return c(this, q);
|
|
@@ -1449,29 +1449,29 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1449
1449
|
return r.fetch().then(() => this.createResult(r, s));
|
|
1450
1450
|
}
|
|
1451
1451
|
fetch(e) {
|
|
1452
|
-
return w(this,
|
|
1452
|
+
return w(this, P, ie).call(this, {
|
|
1453
1453
|
...e,
|
|
1454
1454
|
cancelRefetch: e.cancelRefetch ?? !0
|
|
1455
1455
|
}).then(() => (this.updateResult(), c(this, q)));
|
|
1456
1456
|
}
|
|
1457
1457
|
createResult(e, s) {
|
|
1458
|
-
var
|
|
1458
|
+
var N;
|
|
1459
1459
|
const r = c(this, _), i = this.options, o = c(this, q), l = c(this, Mt), u = c(this, Bt), d = e !== r ? e.state : c(this, le), { state: f } = e;
|
|
1460
1460
|
let p = { ...f }, g = !1, m;
|
|
1461
1461
|
if (s._optimisticResults) {
|
|
1462
|
-
const T = this.hasListeners(), R = !T &&
|
|
1462
|
+
const T = this.hasListeners(), R = !T && ys(e, s), H = T && gs(e, r, s, i);
|
|
1463
1463
|
(R || H) && (p = {
|
|
1464
1464
|
...p,
|
|
1465
|
-
...
|
|
1465
|
+
...Zs(f.data, e.options)
|
|
1466
1466
|
}), s._optimisticResults === "isRestoring" && (p.fetchStatus = "idle");
|
|
1467
1467
|
}
|
|
1468
1468
|
let { error: x, errorUpdatedAt: v, status: C } = p;
|
|
1469
1469
|
m = p.data;
|
|
1470
|
-
let
|
|
1470
|
+
let E = !1;
|
|
1471
1471
|
if (s.placeholderData !== void 0 && m === void 0 && C === "pending") {
|
|
1472
1472
|
let T;
|
|
1473
|
-
o != null && o.isPlaceholderData && s.placeholderData === (u == null ? void 0 : u.placeholderData) ? (T = o.data,
|
|
1474
|
-
(
|
|
1473
|
+
o != null && o.isPlaceholderData && s.placeholderData === (u == null ? void 0 : u.placeholderData) ? (T = o.data, E = !0) : T = typeof s.placeholderData == "function" ? s.placeholderData(
|
|
1474
|
+
(N = c(this, ee)) == null ? void 0 : N.state.data,
|
|
1475
1475
|
c(this, ee)
|
|
1476
1476
|
) : s.placeholderData, T !== void 0 && (C = "success", m = Te(
|
|
1477
1477
|
o == null ? void 0 : o.data,
|
|
@@ -1479,7 +1479,7 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1479
1479
|
s
|
|
1480
1480
|
), g = !0);
|
|
1481
1481
|
}
|
|
1482
|
-
if (s.select && m !== void 0 && !
|
|
1482
|
+
if (s.select && m !== void 0 && !E)
|
|
1483
1483
|
if (o && m === (l == null ? void 0 : l.data) && s.select === c(this, ce))
|
|
1484
1484
|
m = c(this, te);
|
|
1485
1485
|
else
|
|
@@ -1512,16 +1512,16 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1512
1512
|
isPaused: p.fetchStatus === "paused",
|
|
1513
1513
|
isPlaceholderData: g,
|
|
1514
1514
|
isRefetchError: M && D,
|
|
1515
|
-
isStale:
|
|
1515
|
+
isStale: Ie(e, s),
|
|
1516
1516
|
refetch: this.refetch,
|
|
1517
1517
|
promise: c(this, Ct)
|
|
1518
1518
|
};
|
|
1519
1519
|
if (this.options.experimental_prefetchInRender) {
|
|
1520
|
-
const T = (
|
|
1521
|
-
$.status === "error" ?
|
|
1520
|
+
const T = (Et) => {
|
|
1521
|
+
$.status === "error" ? Et.reject($.error) : $.data !== void 0 && Et.resolve($.data);
|
|
1522
1522
|
}, R = () => {
|
|
1523
|
-
const
|
|
1524
|
-
T(
|
|
1523
|
+
const Et = y(this, Ct, $.promise = Me());
|
|
1524
|
+
T(Et);
|
|
1525
1525
|
}, H = c(this, Ct);
|
|
1526
1526
|
switch (H.status) {
|
|
1527
1527
|
case "pending":
|
|
@@ -1556,38 +1556,38 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1556
1556
|
return c(this, q)[h] !== e[h] && l.has(h);
|
|
1557
1557
|
});
|
|
1558
1558
|
};
|
|
1559
|
-
w(this,
|
|
1559
|
+
w(this, P, Js).call(this, { listeners: r() });
|
|
1560
1560
|
}
|
|
1561
1561
|
onQueryUpdate() {
|
|
1562
|
-
this.updateResult(), this.hasListeners() && w(this,
|
|
1562
|
+
this.updateResult(), this.hasListeners() && w(this, P, Fe).call(this);
|
|
1563
1563
|
}
|
|
1564
|
-
}, K = new WeakMap(), _ = new WeakMap(), le = new WeakMap(), q = new WeakMap(), Mt = new WeakMap(), Bt = new WeakMap(), Ct = new WeakMap(), bt = new WeakMap(), ce = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), Rt = new WeakMap(), Lt = new WeakMap(), xt = new WeakMap(), se = new WeakMap(),
|
|
1565
|
-
w(this,
|
|
1564
|
+
}, K = new WeakMap(), _ = new WeakMap(), le = new WeakMap(), q = new WeakMap(), Mt = new WeakMap(), Bt = new WeakMap(), Ct = new WeakMap(), bt = new WeakMap(), ce = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), Rt = new WeakMap(), Lt = new WeakMap(), xt = new WeakMap(), se = new WeakMap(), P = new WeakSet(), ie = function(e) {
|
|
1565
|
+
w(this, P, Ue).call(this);
|
|
1566
1566
|
let s = c(this, _).fetch(
|
|
1567
1567
|
this.options,
|
|
1568
1568
|
e
|
|
1569
1569
|
);
|
|
1570
1570
|
return e != null && e.throwOnError || (s = s.catch(G)), s;
|
|
1571
1571
|
}, Re = function() {
|
|
1572
|
-
w(this,
|
|
1572
|
+
w(this, P, De).call(this);
|
|
1573
1573
|
const e = St(
|
|
1574
1574
|
this.options.staleTime,
|
|
1575
1575
|
c(this, _)
|
|
1576
1576
|
);
|
|
1577
|
-
if (zt || c(this, q).isStale || !
|
|
1577
|
+
if (zt || c(this, q).isStale || !Pe(e))
|
|
1578
1578
|
return;
|
|
1579
|
-
const r =
|
|
1579
|
+
const r = Us(c(this, q).dataUpdatedAt, e) + 1;
|
|
1580
1580
|
y(this, Rt, setTimeout(() => {
|
|
1581
1581
|
c(this, q).isStale || this.updateResult();
|
|
1582
1582
|
}, r));
|
|
1583
1583
|
}, Le = function() {
|
|
1584
1584
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(c(this, _)) : this.options.refetchInterval) ?? !1;
|
|
1585
1585
|
}, ze = function(e) {
|
|
1586
|
-
w(this,
|
|
1587
|
-
(this.options.refetchIntervalInBackground ||
|
|
1586
|
+
w(this, P, $e).call(this), y(this, xt, e), !(zt || tt(this.options.enabled, c(this, _)) === !1 || !Pe(c(this, xt)) || c(this, xt) === 0) && y(this, Lt, setInterval(() => {
|
|
1587
|
+
(this.options.refetchIntervalInBackground || Je.isFocused()) && w(this, P, ie).call(this);
|
|
1588
1588
|
}, c(this, xt)));
|
|
1589
1589
|
}, Fe = function() {
|
|
1590
|
-
w(this,
|
|
1590
|
+
w(this, P, Re).call(this), w(this, P, ze).call(this, w(this, P, Le).call(this));
|
|
1591
1591
|
}, De = function() {
|
|
1592
1592
|
c(this, Rt) && (clearTimeout(c(this, Rt)), y(this, Rt, void 0));
|
|
1593
1593
|
}, $e = function() {
|
|
@@ -1598,7 +1598,7 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1598
1598
|
return;
|
|
1599
1599
|
const s = c(this, _);
|
|
1600
1600
|
y(this, _, e), y(this, le, e.state), this.hasListeners() && (s == null || s.removeObserver(this), e.addObserver(this));
|
|
1601
|
-
},
|
|
1601
|
+
}, Js = function(e) {
|
|
1602
1602
|
U.batch(() => {
|
|
1603
1603
|
e.listeners && this.listeners.forEach((s) => {
|
|
1604
1604
|
s(c(this, q));
|
|
@@ -1607,30 +1607,30 @@ var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
|
1607
1607
|
type: "observerResultsUpdated"
|
|
1608
1608
|
});
|
|
1609
1609
|
});
|
|
1610
|
-
},
|
|
1611
|
-
function
|
|
1610
|
+
}, Ds);
|
|
1611
|
+
function ei(t, e) {
|
|
1612
1612
|
return tt(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1615
|
-
return
|
|
1614
|
+
function ys(t, e) {
|
|
1615
|
+
return ei(t, e) || t.state.data !== void 0 && Qe(t, e, e.refetchOnMount);
|
|
1616
1616
|
}
|
|
1617
1617
|
function Qe(t, e, s) {
|
|
1618
1618
|
if (tt(e.enabled, t) !== !1 && St(e.staleTime, t) !== "static") {
|
|
1619
1619
|
const r = typeof s == "function" ? s(t) : s;
|
|
1620
|
-
return r === "always" || r !== !1 &&
|
|
1620
|
+
return r === "always" || r !== !1 && Ie(t, e);
|
|
1621
1621
|
}
|
|
1622
1622
|
return !1;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1625
|
-
return (t !== e || tt(r.enabled, t) === !1) && (!s.suspense || t.state.status !== "error") &&
|
|
1624
|
+
function gs(t, e, s, r) {
|
|
1625
|
+
return (t !== e || tt(r.enabled, t) === !1) && (!s.suspense || t.state.status !== "error") && Ie(t, s);
|
|
1626
1626
|
}
|
|
1627
|
-
function
|
|
1627
|
+
function Ie(t, e) {
|
|
1628
1628
|
return tt(e.enabled, t) !== !1 && t.isStaleByTime(St(e.staleTime, t));
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function si(t, e) {
|
|
1631
1631
|
return !ge(t.getCurrentResult(), e);
|
|
1632
1632
|
}
|
|
1633
|
-
var wt, jt, W, ut, ht, ye, He,
|
|
1633
|
+
var wt, jt, W, ut, ht, ye, He, $s, ri = ($s = class extends re {
|
|
1634
1634
|
constructor(e, s) {
|
|
1635
1635
|
super();
|
|
1636
1636
|
b(this, ht);
|
|
@@ -1672,7 +1672,7 @@ var wt, jt, W, ut, ht, ye, He, Ds, ei = (Ds = class extends re {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}, wt = new WeakMap(), jt = new WeakMap(), W = new WeakMap(), ut = new WeakMap(), ht = new WeakSet(), ye = function() {
|
|
1674
1674
|
var s;
|
|
1675
|
-
const e = ((s = c(this, W)) == null ? void 0 : s.state) ??
|
|
1675
|
+
const e = ((s = c(this, W)) == null ? void 0 : s.state) ?? Xs();
|
|
1676
1676
|
y(this, jt, {
|
|
1677
1677
|
...e,
|
|
1678
1678
|
isPending: e.status === "pending",
|
|
@@ -1699,21 +1699,21 @@ var wt, jt, W, ut, ht, ye, He, Ds, ei = (Ds = class extends re {
|
|
|
1699
1699
|
f(c(this, jt));
|
|
1700
1700
|
});
|
|
1701
1701
|
});
|
|
1702
|
-
},
|
|
1702
|
+
}, $s), Is = a.createContext(
|
|
1703
1703
|
void 0
|
|
1704
|
-
),
|
|
1705
|
-
const e = a.useContext(
|
|
1704
|
+
), Be = (t) => {
|
|
1705
|
+
const e = a.useContext(Is);
|
|
1706
1706
|
if (!e)
|
|
1707
1707
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1708
1708
|
return e;
|
|
1709
|
-
},
|
|
1709
|
+
}, ii = ({
|
|
1710
1710
|
client: t,
|
|
1711
1711
|
children: e
|
|
1712
1712
|
}) => (a.useEffect(() => (t.mount(), () => {
|
|
1713
1713
|
t.unmount();
|
|
1714
|
-
}), [t]), /* @__PURE__ */ n.jsx(
|
|
1715
|
-
|
|
1716
|
-
function
|
|
1714
|
+
}), [t]), /* @__PURE__ */ n.jsx(Is.Provider, { value: t, children: e })), Bs = a.createContext(!1), ni = () => a.useContext(Bs);
|
|
1715
|
+
Bs.Provider;
|
|
1716
|
+
function ai() {
|
|
1717
1717
|
let t = !1;
|
|
1718
1718
|
return {
|
|
1719
1719
|
clearReset: () => {
|
|
@@ -1725,33 +1725,33 @@ function ii() {
|
|
|
1725
1725
|
isReset: () => t
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
|
-
var
|
|
1728
|
+
var oi = a.createContext(ai()), li = () => a.useContext(oi), ci = (t, e) => {
|
|
1729
1729
|
(t.suspense || t.throwOnError || t.experimental_prefetchInRender) && (e.isReset() || (t.retryOnMount = !1));
|
|
1730
|
-
},
|
|
1730
|
+
}, ui = (t) => {
|
|
1731
1731
|
a.useEffect(() => {
|
|
1732
1732
|
t.clearReset();
|
|
1733
1733
|
}, [t]);
|
|
1734
|
-
},
|
|
1734
|
+
}, hi = ({
|
|
1735
1735
|
result: t,
|
|
1736
1736
|
errorResetBoundary: e,
|
|
1737
1737
|
throwOnError: s,
|
|
1738
1738
|
query: r,
|
|
1739
1739
|
suspense: i
|
|
1740
|
-
}) => t.isError && !e.isReset() && !t.isFetching && r && (i && t.data === void 0 ||
|
|
1740
|
+
}) => t.isError && !e.isReset() && !t.isFetching && r && (i && t.data === void 0 || Vs(s, [t.error, r])), di = (t) => {
|
|
1741
1741
|
if (t.suspense) {
|
|
1742
1742
|
const e = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), s = t.staleTime;
|
|
1743
1743
|
t.staleTime = typeof s == "function" ? (...r) => e(s(...r)) : e(s), typeof t.gcTime == "number" && (t.gcTime = Math.max(t.gcTime, 1e3));
|
|
1744
1744
|
}
|
|
1745
|
-
},
|
|
1745
|
+
}, fi = (t, e) => t.isLoading && t.isFetching && !e, pi = (t, e) => (t == null ? void 0 : t.suspense) && e.isPending, vs = (t, e, s) => e.fetchOptimistic(t).catch(() => {
|
|
1746
1746
|
s.clearReset();
|
|
1747
1747
|
});
|
|
1748
|
-
function
|
|
1748
|
+
function mi(t, e, s) {
|
|
1749
1749
|
var p, g, m, x, v;
|
|
1750
|
-
const r =
|
|
1750
|
+
const r = Be(), i = ni(), o = li(), l = r.defaultQueryOptions(t);
|
|
1751
1751
|
(g = (p = r.getDefaultOptions().queries) == null ? void 0 : p._experimental_beforeQuery) == null || g.call(
|
|
1752
1752
|
p,
|
|
1753
1753
|
l
|
|
1754
|
-
), l._optimisticResults = i ? "isRestoring" : "optimistic",
|
|
1754
|
+
), l._optimisticResults = i ? "isRestoring" : "optimistic", di(l), ci(l, o), ui(o);
|
|
1755
1755
|
const u = !r.getQueryCache().get(l.queryHash), [h] = a.useState(
|
|
1756
1756
|
() => new e(
|
|
1757
1757
|
r,
|
|
@@ -1761,8 +1761,8 @@ function fi(t, e, s) {
|
|
|
1761
1761
|
if (a.useSyncExternalStore(
|
|
1762
1762
|
a.useCallback(
|
|
1763
1763
|
(C) => {
|
|
1764
|
-
const
|
|
1765
|
-
return h.updateResult(),
|
|
1764
|
+
const E = f ? h.subscribe(U.batchCalls(C)) : G;
|
|
1765
|
+
return h.updateResult(), E;
|
|
1766
1766
|
},
|
|
1767
1767
|
[h, f]
|
|
1768
1768
|
),
|
|
@@ -1770,9 +1770,9 @@ function fi(t, e, s) {
|
|
|
1770
1770
|
() => h.getCurrentResult()
|
|
1771
1771
|
), a.useEffect(() => {
|
|
1772
1772
|
h.setOptions(l);
|
|
1773
|
-
}, [l, h]),
|
|
1774
|
-
throw
|
|
1775
|
-
if (
|
|
1773
|
+
}, [l, h]), pi(l, d))
|
|
1774
|
+
throw vs(l, h, o);
|
|
1775
|
+
if (hi({
|
|
1776
1776
|
result: d,
|
|
1777
1777
|
errorResetBoundary: o,
|
|
1778
1778
|
throwOnError: l.throwOnError,
|
|
@@ -1784,10 +1784,10 @@ function fi(t, e, s) {
|
|
|
1784
1784
|
m,
|
|
1785
1785
|
l,
|
|
1786
1786
|
d
|
|
1787
|
-
), l.experimental_prefetchInRender && !zt &&
|
|
1787
|
+
), l.experimental_prefetchInRender && !zt && fi(d, i)) {
|
|
1788
1788
|
const C = u ? (
|
|
1789
1789
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
1790
|
-
|
|
1790
|
+
vs(l, h, o)
|
|
1791
1791
|
) : (
|
|
1792
1792
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
1793
1793
|
(v = r.getQueryCache().get(l.queryHash)) == null ? void 0 : v.promise
|
|
@@ -1798,12 +1798,12 @@ function fi(t, e, s) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
return l.notifyOnChangeProps ? d : h.trackResult(d);
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return
|
|
1801
|
+
function ts(t, e) {
|
|
1802
|
+
return mi(t, ti);
|
|
1803
1803
|
}
|
|
1804
|
-
function
|
|
1805
|
-
const s =
|
|
1806
|
-
() => new
|
|
1804
|
+
function yi(t, e) {
|
|
1805
|
+
const s = Be(), [r] = a.useState(
|
|
1806
|
+
() => new ri(
|
|
1807
1807
|
s,
|
|
1808
1808
|
t
|
|
1809
1809
|
)
|
|
@@ -1824,39 +1824,39 @@ function pi(t, e) {
|
|
|
1824
1824
|
},
|
|
1825
1825
|
[r]
|
|
1826
1826
|
);
|
|
1827
|
-
if (i.error &&
|
|
1827
|
+
if (i.error && Vs(r.options.throwOnError, [i.error]))
|
|
1828
1828
|
throw i.error;
|
|
1829
1829
|
return { ...i, mutate: o, mutateAsync: i.mutate };
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function tr(t) {
|
|
1832
1832
|
var e, s, r = "";
|
|
1833
1833
|
if (typeof t == "string" || typeof t == "number") r += t;
|
|
1834
1834
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
1835
1835
|
var i = t.length;
|
|
1836
|
-
for (e = 0; e < i; e++) t[e] && (s =
|
|
1836
|
+
for (e = 0; e < i; e++) t[e] && (s = tr(t[e])) && (r && (r += " "), r += s);
|
|
1837
1837
|
} else for (s in t) t[s] && (r && (r += " "), r += s);
|
|
1838
1838
|
return r;
|
|
1839
1839
|
}
|
|
1840
1840
|
function O() {
|
|
1841
|
-
for (var t, e, s = 0, r = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (e =
|
|
1841
|
+
for (var t, e, s = 0, r = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (e = tr(t)) && (r && (r += " "), r += e);
|
|
1842
1842
|
return r;
|
|
1843
1843
|
}
|
|
1844
|
-
var
|
|
1844
|
+
var gi = Object.defineProperty, vi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Ce = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Cs = (t, e, s) => e in t ? gi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, S = (t, e) => {
|
|
1845
1845
|
for (var s in e || (e = {}))
|
|
1846
|
-
|
|
1846
|
+
er.call(e, s) && Cs(t, s, e[s]);
|
|
1847
1847
|
if (Ce)
|
|
1848
1848
|
for (var s of Ce(e))
|
|
1849
|
-
|
|
1849
|
+
sr.call(e, s) && Cs(t, s, e[s]);
|
|
1850
1850
|
return t;
|
|
1851
|
-
},
|
|
1851
|
+
}, k = (t, e) => vi(t, Ci(e)), L = (t, e) => {
|
|
1852
1852
|
var s = {};
|
|
1853
1853
|
for (var r in t)
|
|
1854
|
-
|
|
1854
|
+
er.call(t, r) && e.indexOf(r) < 0 && (s[r] = t[r]);
|
|
1855
1855
|
if (t != null && Ce)
|
|
1856
1856
|
for (var r of Ce(t))
|
|
1857
|
-
e.indexOf(r) < 0 &&
|
|
1857
|
+
e.indexOf(r) < 0 && sr.call(t, r) && (s[r] = t[r]);
|
|
1858
1858
|
return s;
|
|
1859
|
-
},
|
|
1859
|
+
}, bi = ({ firstName: t, lastName: e, variant: s = "small" }) => {
|
|
1860
1860
|
const r = `${t.charAt(0)}${e.charAt(0)}`;
|
|
1861
1861
|
return /* @__PURE__ */ n.jsx(
|
|
1862
1862
|
"span",
|
|
@@ -1867,7 +1867,7 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1867
1867
|
children: /* @__PURE__ */ n.jsx("span", { className: "avatar__initials", children: r })
|
|
1868
1868
|
}
|
|
1869
1869
|
);
|
|
1870
|
-
},
|
|
1870
|
+
}, kt = a.forwardRef(
|
|
1871
1871
|
(t, e) => {
|
|
1872
1872
|
var s = t, {
|
|
1873
1873
|
iconLeft: r,
|
|
@@ -1889,7 +1889,7 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1889
1889
|
const p = !!r || !!i;
|
|
1890
1890
|
return /* @__PURE__ */ n.jsxs(
|
|
1891
1891
|
"button",
|
|
1892
|
-
|
|
1892
|
+
k(S({
|
|
1893
1893
|
ref: e
|
|
1894
1894
|
}, f), {
|
|
1895
1895
|
className: O(
|
|
@@ -1909,9 +1909,9 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1909
1909
|
);
|
|
1910
1910
|
}
|
|
1911
1911
|
);
|
|
1912
|
-
|
|
1912
|
+
kt.displayName = "Button";
|
|
1913
1913
|
a.createContext(void 0);
|
|
1914
|
-
var
|
|
1914
|
+
var xi = a.forwardRef(
|
|
1915
1915
|
(t, e) => {
|
|
1916
1916
|
var s = t, { prefix: r, suffix: i, className: o } = s, l = L(s, ["prefix", "suffix", "className"]);
|
|
1917
1917
|
return /* @__PURE__ */ n.jsxs("div", { className: "input__wrapper", children: [
|
|
@@ -1932,19 +1932,19 @@ var Ci = a.forwardRef(
|
|
|
1932
1932
|
] });
|
|
1933
1933
|
}
|
|
1934
1934
|
);
|
|
1935
|
-
|
|
1935
|
+
xi.displayName = "TextField";
|
|
1936
1936
|
a.createContext(void 0);
|
|
1937
|
-
var
|
|
1938
|
-
const t = a.useContext(
|
|
1937
|
+
var rr = a.createContext(null), ir = a.createContext(null), es = () => {
|
|
1938
|
+
const t = a.useContext(rr);
|
|
1939
1939
|
if (!t)
|
|
1940
1940
|
throw new Error("This component must be used inside <NotificationBanner>.");
|
|
1941
1941
|
return t;
|
|
1942
|
-
},
|
|
1943
|
-
const t = a.useContext(
|
|
1942
|
+
}, wi = () => {
|
|
1943
|
+
const t = a.useContext(ir);
|
|
1944
1944
|
if (!t)
|
|
1945
1945
|
throw new Error("This component must be used inside <NotificationBanner.Actions>.");
|
|
1946
1946
|
return t;
|
|
1947
|
-
},
|
|
1947
|
+
}, nr = (t) => {
|
|
1948
1948
|
var e = t, {
|
|
1949
1949
|
variant: s = "info",
|
|
1950
1950
|
children: r,
|
|
@@ -1954,34 +1954,34 @@ var sr = a.createContext(null), rr = a.createContext(null), ts = () => {
|
|
|
1954
1954
|
"children",
|
|
1955
1955
|
"className"
|
|
1956
1956
|
]);
|
|
1957
|
-
return /* @__PURE__ */ n.jsx(
|
|
1957
|
+
return /* @__PURE__ */ n.jsx(rr.Provider, { value: !0, children: /* @__PURE__ */ n.jsx("div", k(S({ className: O("notification-banner", s, i) }, o), { children: r })) });
|
|
1958
1958
|
};
|
|
1959
|
-
|
|
1960
|
-
var
|
|
1959
|
+
nr.displayName = "NotificationBanner";
|
|
1960
|
+
var ji = (t) => {
|
|
1961
1961
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1962
|
-
return
|
|
1963
|
-
},
|
|
1962
|
+
return es(), /* @__PURE__ */ n.jsx("div", k(S({ className: O("banner-content", r) }, i), { children: s }));
|
|
1963
|
+
}, Si = (t) => {
|
|
1964
1964
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1965
|
-
return
|
|
1966
|
-
},
|
|
1965
|
+
return es(), /* @__PURE__ */ n.jsx("p", k(S({ className: O("description", r) }, i), { children: s }));
|
|
1966
|
+
}, _i = (t) => {
|
|
1967
1967
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1968
|
-
return
|
|
1969
|
-
},
|
|
1968
|
+
return es(), /* @__PURE__ */ n.jsx(ir.Provider, { value: !0, children: /* @__PURE__ */ n.jsx("div", k(S({ className: O("actions", r) }, i), { children: s })) });
|
|
1969
|
+
}, ki = (t) => {
|
|
1970
1970
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1971
|
-
return
|
|
1971
|
+
return wi(), /* @__PURE__ */ n.jsx(kt, k(S({ variant: "icon--secondary", className: r }, i), { children: s }));
|
|
1972
1972
|
};
|
|
1973
|
-
Object.assign(
|
|
1974
|
-
Content:
|
|
1975
|
-
Description:
|
|
1976
|
-
Actions:
|
|
1977
|
-
Button:
|
|
1973
|
+
Object.assign(nr, {
|
|
1974
|
+
Content: ji,
|
|
1975
|
+
Description: Si,
|
|
1976
|
+
Actions: _i,
|
|
1977
|
+
Button: ki
|
|
1978
1978
|
});
|
|
1979
|
-
var
|
|
1979
|
+
var Ei = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__header__action", children: t }), Oi = (t) => {
|
|
1980
1980
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1981
|
-
return /* @__PURE__ */ n.jsx("div",
|
|
1982
|
-
},
|
|
1981
|
+
return /* @__PURE__ */ n.jsx("div", k(S({ className: O("card__body", r) }, i), { children: s }));
|
|
1982
|
+
}, Ai = (t) => /* @__PURE__ */ n.jsx(
|
|
1983
1983
|
"svg",
|
|
1984
|
-
|
|
1984
|
+
k(S({
|
|
1985
1985
|
width: "24",
|
|
1986
1986
|
height: "24",
|
|
1987
1987
|
viewBox: "0 0 24 24",
|
|
@@ -1999,9 +1999,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
1999
1999
|
}
|
|
2000
2000
|
)
|
|
2001
2001
|
})
|
|
2002
|
-
),
|
|
2002
|
+
), ss = Ai, Pi = (t) => /* @__PURE__ */ n.jsx(
|
|
2003
2003
|
"svg",
|
|
2004
|
-
|
|
2004
|
+
k(S({
|
|
2005
2005
|
width: "24",
|
|
2006
2006
|
height: "24",
|
|
2007
2007
|
viewBox: "0 0 24 24",
|
|
@@ -2019,9 +2019,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2019
2019
|
}
|
|
2020
2020
|
)
|
|
2021
2021
|
})
|
|
2022
|
-
),
|
|
2022
|
+
), Ni = Pi, Ti = (t) => /* @__PURE__ */ n.jsx(
|
|
2023
2023
|
"svg",
|
|
2024
|
-
|
|
2024
|
+
k(S({
|
|
2025
2025
|
width: "24",
|
|
2026
2026
|
height: "24",
|
|
2027
2027
|
viewBox: "0 0 24 24",
|
|
@@ -2038,9 +2038,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2038
2038
|
}
|
|
2039
2039
|
)
|
|
2040
2040
|
})
|
|
2041
|
-
),
|
|
2041
|
+
), ar = Ti, Mi = (t) => /* @__PURE__ */ n.jsx(
|
|
2042
2042
|
"svg",
|
|
2043
|
-
|
|
2043
|
+
k(S({
|
|
2044
2044
|
width: "24",
|
|
2045
2045
|
height: "24",
|
|
2046
2046
|
viewBox: "0 0 24 24",
|
|
@@ -2057,9 +2057,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2057
2057
|
}
|
|
2058
2058
|
)
|
|
2059
2059
|
})
|
|
2060
|
-
),
|
|
2060
|
+
), Ri = Mi, Li = (t) => /* @__PURE__ */ n.jsx(
|
|
2061
2061
|
"svg",
|
|
2062
|
-
|
|
2062
|
+
k(S({
|
|
2063
2063
|
width: "24",
|
|
2064
2064
|
height: "24",
|
|
2065
2065
|
viewBox: "0 0 24 24",
|
|
@@ -2076,9 +2076,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2076
2076
|
}
|
|
2077
2077
|
)
|
|
2078
2078
|
})
|
|
2079
|
-
),
|
|
2079
|
+
), zi = Li, Fi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2080
2080
|
"svg",
|
|
2081
|
-
|
|
2081
|
+
k(S({
|
|
2082
2082
|
width: "24",
|
|
2083
2083
|
height: "24",
|
|
2084
2084
|
fill: "none",
|
|
@@ -2113,9 +2113,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2113
2113
|
/* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_19_444", children: /* @__PURE__ */ n.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2114
2114
|
]
|
|
2115
2115
|
})
|
|
2116
|
-
),
|
|
2116
|
+
), Di = Fi, $i = (t) => /* @__PURE__ */ n.jsxs(
|
|
2117
2117
|
"svg",
|
|
2118
|
-
|
|
2118
|
+
k(S({
|
|
2119
2119
|
width: "24",
|
|
2120
2120
|
height: "24",
|
|
2121
2121
|
viewBox: "0 0 24 24",
|
|
@@ -2145,9 +2145,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2145
2145
|
)
|
|
2146
2146
|
]
|
|
2147
2147
|
})
|
|
2148
|
-
),
|
|
2148
|
+
), Ui = $i, Qi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2149
2149
|
"svg",
|
|
2150
|
-
|
|
2150
|
+
k(S({
|
|
2151
2151
|
width: "24",
|
|
2152
2152
|
height: "24",
|
|
2153
2153
|
viewBox: "0 0 24 24",
|
|
@@ -2197,11 +2197,11 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2197
2197
|
)
|
|
2198
2198
|
]
|
|
2199
2199
|
})
|
|
2200
|
-
),
|
|
2200
|
+
), Hi = Qi, Vi = (t) => {
|
|
2201
2201
|
var e = t, { className: s } = e, r = L(e, ["className"]);
|
|
2202
2202
|
return /* @__PURE__ */ n.jsxs(
|
|
2203
2203
|
"svg",
|
|
2204
|
-
|
|
2204
|
+
k(S({
|
|
2205
2205
|
width: "20",
|
|
2206
2206
|
height: "20",
|
|
2207
2207
|
viewBox: "0 0 20 20",
|
|
@@ -2226,9 +2226,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2226
2226
|
]
|
|
2227
2227
|
})
|
|
2228
2228
|
);
|
|
2229
|
-
},
|
|
2229
|
+
}, qi = Vi, Gi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2230
2230
|
"svg",
|
|
2231
|
-
|
|
2231
|
+
k(S({
|
|
2232
2232
|
width: "24",
|
|
2233
2233
|
height: "24",
|
|
2234
2234
|
fill: "none",
|
|
@@ -2260,11 +2260,11 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2260
2260
|
/* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_762_2934", children: /* @__PURE__ */ n.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2261
2261
|
]
|
|
2262
2262
|
})
|
|
2263
|
-
),
|
|
2263
|
+
), Ki = Gi, Wi = (t) => {
|
|
2264
2264
|
const e = (s) => `${s}${t.suffix ? `_${t.suffix}` : ""}`;
|
|
2265
2265
|
return /* @__PURE__ */ n.jsxs(
|
|
2266
2266
|
"svg",
|
|
2267
|
-
|
|
2267
|
+
k(S({
|
|
2268
2268
|
width: "24",
|
|
2269
2269
|
height: "24",
|
|
2270
2270
|
viewBox: "0 0 24 24",
|
|
@@ -2431,9 +2431,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2431
2431
|
]
|
|
2432
2432
|
})
|
|
2433
2433
|
);
|
|
2434
|
-
},
|
|
2434
|
+
}, or = Wi, Zi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2435
2435
|
"svg",
|
|
2436
|
-
|
|
2436
|
+
k(S({
|
|
2437
2437
|
fill: "none",
|
|
2438
2438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2439
2439
|
viewBox: "0 0 24 24",
|
|
@@ -2493,9 +2493,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2493
2493
|
)
|
|
2494
2494
|
]
|
|
2495
2495
|
})
|
|
2496
|
-
),
|
|
2496
|
+
), Xi = Zi, Yi = (t) => /* @__PURE__ */ n.jsx(
|
|
2497
2497
|
"svg",
|
|
2498
|
-
|
|
2498
|
+
k(S({
|
|
2499
2499
|
fill: "none",
|
|
2500
2500
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2501
2501
|
viewBox: "0 0 21 16",
|
|
@@ -2513,9 +2513,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2513
2513
|
}
|
|
2514
2514
|
)
|
|
2515
2515
|
})
|
|
2516
|
-
),
|
|
2516
|
+
), Ji = Yi, Ii = (t) => /* @__PURE__ */ n.jsxs(
|
|
2517
2517
|
"svg",
|
|
2518
|
-
|
|
2518
|
+
k(S({
|
|
2519
2519
|
width: "24",
|
|
2520
2520
|
height: "24",
|
|
2521
2521
|
fill: "none",
|
|
@@ -2540,7 +2540,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2540
2540
|
/* @__PURE__ */ n.jsx("circle", { r: ".8", transform: "matrix(1 0 0 -1 20.8 20.7)", fill: "currentColor" })
|
|
2541
2541
|
]
|
|
2542
2542
|
})
|
|
2543
|
-
),
|
|
2543
|
+
), Bi = Ii, tn = (t) => {
|
|
2544
2544
|
var e = t, {
|
|
2545
2545
|
variant: s,
|
|
2546
2546
|
icon: r,
|
|
@@ -2558,7 +2558,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2558
2558
|
]);
|
|
2559
2559
|
return /* @__PURE__ */ n.jsx(
|
|
2560
2560
|
"div",
|
|
2561
|
-
|
|
2561
|
+
k(S({}, h), {
|
|
2562
2562
|
className: O(
|
|
2563
2563
|
"card__empty-state",
|
|
2564
2564
|
s === "error" && "card__empty-state--error",
|
|
@@ -2566,7 +2566,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2566
2566
|
u
|
|
2567
2567
|
),
|
|
2568
2568
|
children: /* @__PURE__ */ n.jsxs("div", { className: "card__empty-state__wrapper", children: [
|
|
2569
|
-
/* @__PURE__ */ n.jsx("i", { className: "card__empty-state__icon", "aria-hidden": !0, children: s === "error" ? /* @__PURE__ */ n.jsx(
|
|
2569
|
+
/* @__PURE__ */ n.jsx("i", { className: "card__empty-state__icon", "aria-hidden": !0, children: s === "error" ? /* @__PURE__ */ n.jsx(Ki, {}) : r }),
|
|
2570
2570
|
/* @__PURE__ */ n.jsxs("div", { className: "card__empty-state__content", children: [
|
|
2571
2571
|
/* @__PURE__ */ n.jsx("p", { className: "card__empty-state__title", children: o }),
|
|
2572
2572
|
/* @__PURE__ */ n.jsx("p", { className: "card__empty-state__description", children: l })
|
|
@@ -2574,7 +2574,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2574
2574
|
] })
|
|
2575
2575
|
})
|
|
2576
2576
|
);
|
|
2577
|
-
},
|
|
2577
|
+
}, en = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__footer", children: t }), sn = (t) => {
|
|
2578
2578
|
var e = t, {
|
|
2579
2579
|
variant: s = "default",
|
|
2580
2580
|
sticky: r,
|
|
@@ -2588,7 +2588,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2588
2588
|
]);
|
|
2589
2589
|
return /* @__PURE__ */ n.jsx(
|
|
2590
2590
|
"div",
|
|
2591
|
-
|
|
2591
|
+
k(S({}, l), {
|
|
2592
2592
|
className: O(
|
|
2593
2593
|
"card__header",
|
|
2594
2594
|
s && `card__header--${s}`,
|
|
@@ -2598,10 +2598,10 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2598
2598
|
children: o
|
|
2599
2599
|
})
|
|
2600
2600
|
);
|
|
2601
|
-
},
|
|
2601
|
+
}, rn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__image", children: t }), nn = ({ children: t, className: e }) => /* @__PURE__ */ n.jsx("div", { className: O("card__body__item", e), children: t }), an = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__body__subtitle", children: t }), on = ({ icon: t, children: e }) => /* @__PURE__ */ n.jsxs("div", { className: "card__header__title", children: [
|
|
2602
2602
|
t && /* @__PURE__ */ n.jsx("span", { className: "card__header__title__icon", children: t }),
|
|
2603
2603
|
e
|
|
2604
|
-
] }),
|
|
2604
|
+
] }), lr = a.forwardRef(
|
|
2605
2605
|
(t, e) => {
|
|
2606
2606
|
var s = t, { type: r, children: i, className: o, variant: l = "default", disabled: u = !1 } = s, h = L(s, ["type", "children", "className", "variant", "disabled"]);
|
|
2607
2607
|
return a.createElement(
|
|
@@ -2619,32 +2619,32 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2619
2619
|
);
|
|
2620
2620
|
}
|
|
2621
2621
|
);
|
|
2622
|
-
|
|
2623
|
-
var
|
|
2624
|
-
Header:
|
|
2625
|
-
Action:
|
|
2626
|
-
Title:
|
|
2627
|
-
Subtitle:
|
|
2628
|
-
Body:
|
|
2629
|
-
Image:
|
|
2630
|
-
Item:
|
|
2631
|
-
Footer:
|
|
2632
|
-
EmptyState:
|
|
2633
|
-
}),
|
|
2622
|
+
lr.displayName = "Card";
|
|
2623
|
+
var ln = Object.assign(lr, {
|
|
2624
|
+
Header: sn,
|
|
2625
|
+
Action: Ei,
|
|
2626
|
+
Title: on,
|
|
2627
|
+
Subtitle: an,
|
|
2628
|
+
Body: Oi,
|
|
2629
|
+
Image: rn,
|
|
2630
|
+
Item: nn,
|
|
2631
|
+
Footer: en,
|
|
2632
|
+
EmptyState: tn
|
|
2633
|
+
}), cn = (t) => {
|
|
2634
2634
|
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2635
|
-
return /* @__PURE__ */ n.jsx("div",
|
|
2636
|
-
},
|
|
2635
|
+
return /* @__PURE__ */ n.jsx("div", k(S({ className: O("checkbox__content", s) }, i), { children: r }));
|
|
2636
|
+
}, un = (t) => {
|
|
2637
2637
|
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2638
|
-
return /* @__PURE__ */ n.jsx("span",
|
|
2639
|
-
},
|
|
2640
|
-
const t = a.useContext(
|
|
2638
|
+
return /* @__PURE__ */ n.jsx("span", k(S({ className: O("checkbox__hint", s) }, i), { children: r }));
|
|
2639
|
+
}, cr = a.createContext(void 0), hn = ({ id: t, name: e, children: s }) => /* @__PURE__ */ n.jsx(cr.Provider, { value: { id: t, name: e }, children: s }), dn = () => {
|
|
2640
|
+
const t = a.useContext(cr);
|
|
2641
2641
|
if (!t)
|
|
2642
2642
|
throw new Error("Checkbox compound components can not be rendered outside of Checkbox");
|
|
2643
2643
|
return t;
|
|
2644
|
-
},
|
|
2644
|
+
}, fn = (t) => {
|
|
2645
2645
|
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2646
|
-
const { id: o } =
|
|
2647
|
-
return /* @__PURE__ */ n.jsx("label",
|
|
2646
|
+
const { id: o } = dn();
|
|
2647
|
+
return /* @__PURE__ */ n.jsx("label", k(S({ htmlFor: o, className: O("checkbox__label", s) }, i), { children: r }));
|
|
2648
2648
|
}, Dt = (t) => {
|
|
2649
2649
|
var e = t, {
|
|
2650
2650
|
id: s,
|
|
@@ -2684,45 +2684,45 @@ var an = Object.assign(or, {
|
|
|
2684
2684
|
value: u ? "true" : ""
|
|
2685
2685
|
}, f)
|
|
2686
2686
|
),
|
|
2687
|
-
i ? /* @__PURE__ */ n.jsx(
|
|
2688
|
-
/* @__PURE__ */ n.jsx(
|
|
2687
|
+
i ? /* @__PURE__ */ n.jsx(qi, { className: "checkbox__spinner", "aria-hidden": !0 }) : /* @__PURE__ */ n.jsx(Ni, { className: "checkbox__check", "aria-hidden": !0, strokeDasharray: "75" }),
|
|
2688
|
+
/* @__PURE__ */ n.jsx(hn, { id: s, name: r, children: d })
|
|
2689
2689
|
]
|
|
2690
2690
|
}
|
|
2691
2691
|
);
|
|
2692
2692
|
};
|
|
2693
|
-
Dt.Content =
|
|
2694
|
-
Dt.Label =
|
|
2695
|
-
Dt.Hint =
|
|
2693
|
+
Dt.Content = cn;
|
|
2694
|
+
Dt.Label = fn;
|
|
2695
|
+
Dt.Hint = un;
|
|
2696
2696
|
Dt.Error = Error;
|
|
2697
|
-
var
|
|
2697
|
+
var pn = (t) => {
|
|
2698
2698
|
var e = t, { type: s = "div", className: r, children: i } = e, o = L(e, ["type", "className", "children"]);
|
|
2699
2699
|
return a.createElement(s, S({ className: O("dialog__body", r) }, o), i);
|
|
2700
|
-
},
|
|
2701
|
-
const t = a.useContext(
|
|
2700
|
+
}, mn = a.createContext(void 0), yn = () => {
|
|
2701
|
+
const t = a.useContext(mn);
|
|
2702
2702
|
if (!t)
|
|
2703
2703
|
throw new Error("Dialog compound components can not be rendered outside of Dialog");
|
|
2704
2704
|
return t;
|
|
2705
|
-
},
|
|
2705
|
+
}, gn = a.forwardRef((t, e) => {
|
|
2706
2706
|
var s = t, { className: r } = s, i = L(s, ["className"]);
|
|
2707
|
-
const { onClose: o } =
|
|
2707
|
+
const { onClose: o } = yn();
|
|
2708
2708
|
return /* @__PURE__ */ n.jsx(
|
|
2709
|
-
|
|
2709
|
+
kt,
|
|
2710
2710
|
S({
|
|
2711
2711
|
type: "submit",
|
|
2712
2712
|
ref: e,
|
|
2713
2713
|
formMethod: "dialog",
|
|
2714
2714
|
onClick: o,
|
|
2715
|
-
iconLeft: /* @__PURE__ */ n.jsx(
|
|
2715
|
+
iconLeft: /* @__PURE__ */ n.jsx(ar, {}),
|
|
2716
2716
|
variant: "icon--secondary",
|
|
2717
2717
|
className: O("dialog__close button--icon", r)
|
|
2718
2718
|
}, i)
|
|
2719
2719
|
);
|
|
2720
2720
|
});
|
|
2721
|
-
|
|
2722
|
-
var
|
|
2721
|
+
gn.displayName = "Close";
|
|
2722
|
+
var vn = (t) => {
|
|
2723
2723
|
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2724
|
-
return /* @__PURE__ */ n.jsx("div",
|
|
2725
|
-
},
|
|
2724
|
+
return /* @__PURE__ */ n.jsx("div", k(S({ className: O("dialog__footer", s) }, i), { children: r }));
|
|
2725
|
+
}, Cn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "dialog__header", children: t }), bn = () => document.body.style.removeProperty("overflow"), xn = (t) => {
|
|
2726
2726
|
var e = t, { className: s, children: r, shouldAnimate: i = !0 } = e, o = L(e, ["className", "children", "shouldAnimate"]);
|
|
2727
2727
|
const { ref: l, defaultOpen: u, isModal: h, onClose: d } = ue();
|
|
2728
2728
|
return a.useEffect(() => {
|
|
@@ -2738,7 +2738,7 @@ var yn = (t) => {
|
|
|
2738
2738
|
/* @__PURE__ */ n.jsx("div", { className: "custom-backdrop", "aria-hidden": "true" }),
|
|
2739
2739
|
/* @__PURE__ */ n.jsx(
|
|
2740
2740
|
"div",
|
|
2741
|
-
|
|
2741
|
+
k(S({
|
|
2742
2742
|
ref: l,
|
|
2743
2743
|
role: "dialog",
|
|
2744
2744
|
"aria-modal": !!h,
|
|
@@ -2750,14 +2750,14 @@ var yn = (t) => {
|
|
|
2750
2750
|
})
|
|
2751
2751
|
)
|
|
2752
2752
|
] }) : null;
|
|
2753
|
-
},
|
|
2753
|
+
}, ur = a.createContext(void 0), wn = ({ defaultOpen: t, onClose: e, isModal: s, children: r }) => {
|
|
2754
2754
|
const [i, o] = a.useState(t), l = a.useRef(null), u = a.useRef(e), h = a.useCallback(() => {
|
|
2755
|
-
|
|
2755
|
+
bn(), o(!1), u.current && (u == null || u.current());
|
|
2756
2756
|
}, []), d = a.useCallback(() => {
|
|
2757
2757
|
o(!0);
|
|
2758
2758
|
}, []);
|
|
2759
2759
|
return /* @__PURE__ */ n.jsx(
|
|
2760
|
-
|
|
2760
|
+
ur.Provider,
|
|
2761
2761
|
{
|
|
2762
2762
|
value: {
|
|
2763
2763
|
ref: l,
|
|
@@ -2770,41 +2770,41 @@ var yn = (t) => {
|
|
|
2770
2770
|
}
|
|
2771
2771
|
);
|
|
2772
2772
|
}, ue = () => {
|
|
2773
|
-
const t = a.useContext(
|
|
2773
|
+
const t = a.useContext(ur);
|
|
2774
2774
|
if (!t)
|
|
2775
2775
|
throw new Error("Dialog compound components can not be rendered outside of Dialog");
|
|
2776
2776
|
return t;
|
|
2777
|
-
},
|
|
2777
|
+
}, jn = (t) => {
|
|
2778
2778
|
var e = t, { children: s } = e, r = L(e, ["children"]);
|
|
2779
2779
|
const { onClose: i } = ue();
|
|
2780
|
-
return /* @__PURE__ */ n.jsx(
|
|
2781
|
-
},
|
|
2780
|
+
return /* @__PURE__ */ n.jsx(kt, k(S({ onClick: i }, r), { children: s }));
|
|
2781
|
+
}, hr = a.forwardRef(
|
|
2782
2782
|
(t, e) => {
|
|
2783
2783
|
var s = t, { className: r } = s, i = L(s, ["className"]);
|
|
2784
2784
|
const { onClose: o } = ue();
|
|
2785
2785
|
return /* @__PURE__ */ n.jsx(
|
|
2786
|
-
|
|
2786
|
+
kt,
|
|
2787
2787
|
S({
|
|
2788
2788
|
type: "submit",
|
|
2789
2789
|
ref: e,
|
|
2790
2790
|
formMethod: "dialog",
|
|
2791
2791
|
onClick: o,
|
|
2792
|
-
iconLeft: /* @__PURE__ */ n.jsx(
|
|
2792
|
+
iconLeft: /* @__PURE__ */ n.jsx(ar, {}),
|
|
2793
2793
|
variant: "icon--secondary",
|
|
2794
2794
|
className: O("dialog__close button--icon", r)
|
|
2795
2795
|
}, i)
|
|
2796
2796
|
);
|
|
2797
2797
|
}
|
|
2798
2798
|
);
|
|
2799
|
-
|
|
2800
|
-
var
|
|
2799
|
+
hr.displayName = "Close";
|
|
2800
|
+
var Sn = (t) => {
|
|
2801
2801
|
var e = t, { icon: s, children: r, className: i } = e, o = L(e, ["icon", "children", "className"]);
|
|
2802
2802
|
const { ref: l } = ue(), u = a.useRef(null);
|
|
2803
2803
|
return a.useEffect(() => {
|
|
2804
2804
|
l != null && l.current && l.current.focus();
|
|
2805
2805
|
}, [l]), /* @__PURE__ */ n.jsxs(
|
|
2806
2806
|
"div",
|
|
2807
|
-
|
|
2807
|
+
k(S({
|
|
2808
2808
|
tabIndex: 0,
|
|
2809
2809
|
ref: u,
|
|
2810
2810
|
id: "dialogTitle",
|
|
@@ -2816,20 +2816,20 @@ var wn = (t) => {
|
|
|
2816
2816
|
]
|
|
2817
2817
|
})
|
|
2818
2818
|
);
|
|
2819
|
-
},
|
|
2819
|
+
}, _n = (t) => {
|
|
2820
2820
|
var e = t, { children: s } = e, r = L(e, ["children"]);
|
|
2821
2821
|
const { onOpen: i } = ue();
|
|
2822
|
-
return /* @__PURE__ */ n.jsx(
|
|
2823
|
-
}, Z = ({ defaultOpen: t, isModal: e, children: s, onClose: r }) => /* @__PURE__ */ n.jsx(
|
|
2824
|
-
Z.Trigger =
|
|
2825
|
-
Z.Root =
|
|
2826
|
-
Z.Title =
|
|
2827
|
-
Z.Header =
|
|
2828
|
-
Z.Body =
|
|
2829
|
-
Z.Footer =
|
|
2830
|
-
Z.Button =
|
|
2831
|
-
Z.Close =
|
|
2832
|
-
var
|
|
2822
|
+
return /* @__PURE__ */ n.jsx(kt, k(S({ onClick: i }, r), { children: s }));
|
|
2823
|
+
}, Z = ({ defaultOpen: t, isModal: e, children: s, onClose: r }) => /* @__PURE__ */ n.jsx(wn, { defaultOpen: !!t, isModal: e, onClose: r, children: s });
|
|
2824
|
+
Z.Trigger = _n;
|
|
2825
|
+
Z.Root = xn;
|
|
2826
|
+
Z.Title = Sn;
|
|
2827
|
+
Z.Header = Cn;
|
|
2828
|
+
Z.Body = pn;
|
|
2829
|
+
Z.Footer = vn;
|
|
2830
|
+
Z.Button = jn;
|
|
2831
|
+
Z.Close = hr;
|
|
2832
|
+
var dr = a.createContext(void 0), kn = ({
|
|
2833
2833
|
id: t,
|
|
2834
2834
|
position: e,
|
|
2835
2835
|
isOpen: s,
|
|
@@ -2841,7 +2841,7 @@ var hr = a.createContext(void 0), Sn = ({
|
|
|
2841
2841
|
contentRef: h,
|
|
2842
2842
|
children: d
|
|
2843
2843
|
}) => /* @__PURE__ */ n.jsx(
|
|
2844
|
-
|
|
2844
|
+
dr.Provider,
|
|
2845
2845
|
{
|
|
2846
2846
|
value: {
|
|
2847
2847
|
id: t,
|
|
@@ -2856,12 +2856,12 @@ var hr = a.createContext(void 0), Sn = ({
|
|
|
2856
2856
|
},
|
|
2857
2857
|
children: d
|
|
2858
2858
|
}
|
|
2859
|
-
),
|
|
2860
|
-
const t = a.useContext(
|
|
2859
|
+
), fr = () => {
|
|
2860
|
+
const t = a.useContext(dr);
|
|
2861
2861
|
if (t === void 0)
|
|
2862
2862
|
throw new Error("useMenu must be used within a MenuProvider");
|
|
2863
2863
|
return t;
|
|
2864
|
-
},
|
|
2864
|
+
}, En = ({ as: t, children: e }) => {
|
|
2865
2865
|
const {
|
|
2866
2866
|
id: s,
|
|
2867
2867
|
position: r,
|
|
@@ -2872,13 +2872,13 @@ var hr = a.createContext(void 0), Sn = ({
|
|
|
2872
2872
|
clearActiveItemIndex: h,
|
|
2873
2873
|
triggerRef: d,
|
|
2874
2874
|
contentRef: f
|
|
2875
|
-
} =
|
|
2875
|
+
} = fr(), p = (g) => {
|
|
2876
2876
|
var m;
|
|
2877
2877
|
if (!i)
|
|
2878
2878
|
return;
|
|
2879
2879
|
if (g.key === "Escape")
|
|
2880
2880
|
return h(), o(!1), (m = d.current) == null ? void 0 : m.focus();
|
|
2881
|
-
const x = g.shiftKey, v =
|
|
2881
|
+
const x = g.shiftKey, v = mr(f.current).length - 1;
|
|
2882
2882
|
switch (g.key) {
|
|
2883
2883
|
case "Tab": {
|
|
2884
2884
|
if (x && l !== 0)
|
|
@@ -2927,11 +2927,11 @@ var hr = a.createContext(void 0), Sn = ({
|
|
|
2927
2927
|
}
|
|
2928
2928
|
)
|
|
2929
2929
|
);
|
|
2930
|
-
},
|
|
2930
|
+
}, On = (t) => {
|
|
2931
2931
|
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
2932
|
-
return /* @__PURE__ */ n.jsx("li",
|
|
2933
|
-
},
|
|
2934
|
-
const { id: s, isOpen: r, setIsOpen: i, clearActiveItemIndex: o, setActiveItemIndex: l, triggerRef: u } =
|
|
2932
|
+
return /* @__PURE__ */ n.jsx("li", k(S({}, i), { className: O("menu__list-item", r), children: s }));
|
|
2933
|
+
}, pr = ({ children: t, className: e }) => {
|
|
2934
|
+
const { id: s, isOpen: r, setIsOpen: i, clearActiveItemIndex: o, setActiveItemIndex: l, triggerRef: u } = fr(), h = () => {
|
|
2935
2935
|
o(), i((f) => !f), r || l(0);
|
|
2936
2936
|
}, d = (f) => {
|
|
2937
2937
|
if (r) {
|
|
@@ -2950,19 +2950,19 @@ var hr = a.createContext(void 0), Sn = ({
|
|
|
2950
2950
|
"aria-controls": `${s}-content`
|
|
2951
2951
|
});
|
|
2952
2952
|
};
|
|
2953
|
-
|
|
2954
|
-
var
|
|
2953
|
+
pr.displayName = "Trigger";
|
|
2954
|
+
var mr = (t) => t ? t.tagName === "UL" ? t.children : Array.from(t.getElementsByTagName("ul")).reduce((s, r) => [...s, ...Array.from(r.getElementsByTagName("li"))], []) : [], Y = (t) => {
|
|
2955
2955
|
var e = t, { type: s, id: r, position: i = "bottom-end", children: o, className: l } = e, u = L(e, ["type", "id", "position", "children", "className"]);
|
|
2956
2956
|
const h = a.useRef(null), d = a.useRef(null), f = a.useRef(null), [p, g] = a.useState(!1), [m, x] = a.useState(), [v, C] = a.useState(m);
|
|
2957
|
-
m !== v && m !== void 0 && f.current && (
|
|
2958
|
-
const
|
|
2957
|
+
m !== v && m !== void 0 && f.current && (mr(f.current)[m].firstChild.focus(), C(m));
|
|
2958
|
+
const E = () => {
|
|
2959
2959
|
x(void 0), C(void 0);
|
|
2960
2960
|
}, j = (A) => {
|
|
2961
2961
|
var M;
|
|
2962
|
-
((M = h.current) == null ? void 0 : M.contains(A.relatedTarget)) || (
|
|
2962
|
+
((M = h.current) == null ? void 0 : M.contains(A.relatedTarget)) || (E(), g(!1));
|
|
2963
2963
|
};
|
|
2964
2964
|
return /* @__PURE__ */ n.jsx(
|
|
2965
|
-
|
|
2965
|
+
kn,
|
|
2966
2966
|
{
|
|
2967
2967
|
id: r,
|
|
2968
2968
|
position: i,
|
|
@@ -2970,12 +2970,12 @@ var pr = (t) => t ? t.tagName === "UL" ? t.children : Array.from(t.getElementsBy
|
|
|
2970
2970
|
setIsOpen: g,
|
|
2971
2971
|
activeItemIndex: m,
|
|
2972
2972
|
setActiveItemIndex: x,
|
|
2973
|
-
clearActiveItemIndex:
|
|
2973
|
+
clearActiveItemIndex: E,
|
|
2974
2974
|
triggerRef: d,
|
|
2975
2975
|
contentRef: f,
|
|
2976
2976
|
children: a.createElement(
|
|
2977
2977
|
s,
|
|
2978
|
-
|
|
2978
|
+
k(S({}, u), {
|
|
2979
2979
|
id: r,
|
|
2980
2980
|
ref: h,
|
|
2981
2981
|
className: `menu ${l || ""}`,
|
|
@@ -2986,423 +2986,423 @@ var pr = (t) => t ? t.tagName === "UL" ? t.children : Array.from(t.getElementsBy
|
|
|
2986
2986
|
}
|
|
2987
2987
|
);
|
|
2988
2988
|
};
|
|
2989
|
-
Y.Trigger =
|
|
2990
|
-
Y.Content =
|
|
2991
|
-
Y.Item =
|
|
2989
|
+
Y.Trigger = pr;
|
|
2990
|
+
Y.Content = En;
|
|
2991
|
+
Y.Item = On;
|
|
2992
2992
|
a.createContext(void 0);
|
|
2993
|
-
var
|
|
2994
|
-
[...new Set(
|
|
2993
|
+
var An = (/* @__PURE__ */ new Map()).set("BE", "32").set("FR", "33").set("NL", "31").set("LU", "352").set("DE", "49").set("CA", "1").set("PR", "1").set("TC", "1").set("US", "1").set("BS", "1242").set("BB", "1246").set("AI", "1264").set("AG", "1268").set("KY", "1345").set("BM", "1441").set("GD", "1473").set("MS", "1664").set("GU", "1671").set("LC", "1758").set("DM", "1767").set("VC", "1784").set("DO", "1809").set("TT", "1868").set("KN", "1869").set("JM", "1876").set("EG", "20").set("SS", "211").set("MA", "212").set("DZ", "213").set("TN", "216").set("LY", "218").set("GM", "220").set("SN", "221").set("MR", "222").set("ML", "223").set("GN", "224").set("CI", "225").set("BF", "226").set("NE", "227").set("TG", "228").set("BJ", "229").set("MU", "230").set("LR", "231").set("SL", "232").set("GH", "233").set("NG", "234").set("TD", "235").set("CF", "236").set("CM", "237").set("CV", "238").set("ST", "239").set("GQ", "240").set("GA", "241").set("CG", "242").set("CD", "243").set("AO", "244").set("GW", "245").set("SC", "248").set("SD", "249").set("RW", "250").set("ET", "251").set("SO", "252").set("DJ", "253").set("KE", "254").set("TZ", "255").set("UG", "256").set("BI", "257").set("MZ", "258").set("ZM", "260").set("MG", "261").set("RE", "262").set("ZW", "263").set("NA", "264").set("MW", "265").set("LS", "266").set("BW", "267").set("SZ", "268").set("KM", "269").set("ZA", "27").set("VG", "284").set("ER", "291").set("AW", "297").set("FO", "298").set("GL", "299").set("GR", "30").set("ES", "34").set("GI", "350").set("PT", "351").set("IE", "353").set("IS", "354").set("AL", "355").set("MT", "356").set("CY", "357").set("FI", "358").set("BG", "359").set("HU", "36").set("LT", "370").set("LV", "371").set("EE", "372").set("MD", "373").set("AM", "374").set("BY", "375").set("AD", "376").set("MC", "377").set("SM", "378").set("UA", "380").set("RS", "381").set("ME", "382").set("HR", "385").set("SI", "386").set("BA", "387").set("MK", "389").set("IT", "39").set("RO", "40").set("CH", "41").set("CZ", "420").set("SK", "421").set("LI", "423").set("AT", "43").set("GB", "44").set("DK", "45").set("SE", "46").set("NO", "47").set("PL", "48").set("FK", "500").set("BZ", "501").set("GT", "502").set("SV", "503").set("HN", "504").set("NI", "505").set("CR", "506").set("PA", "507").set("PM", "508").set("HT", "509").set("PE", "51").set("MX", "52").set("CU", "53").set("AR", "54").set("BR", "55").set("CL", "56").set("CO", "57").set("VE", "58").set("GP", "590").set("BO", "591").set("GY", "592").set("EC", "593").set("FG", "594").set("PY", "595").set("MQ", "596").set("SR", "597").set("UY", "598").set("CW", "599").set("AN", "599").set("MY", "60").set("AU", "61").set("ID", "62").set("PH", "63").set("NZ", "64").set("SG", "65").set("TH", "66").set("TP", "670").set("BN", "673").set("PG", "675").set("TO", "676").set("SB", "677").set("VU", "678").set("FJ", "679").set("PW", "680").set("CK", "682").set("NU", "683").set("AS", "684").set("WS", "685").set("KI", "686").set("NC", "687").set("TV", "688").set("PF", "689").set("FM", "691").set("KZ", "7").set("RU", "7").set("JP", "81").set("KR", "82").set("VN", "84").set("KP", "850").set("HK", "852").set("MO", "853").set("KH", "855").set("LA", "856").set("CN", "86").set("BD", "880").set("TW", "886").set("TR", "90").set("IN", "91").set("PK", "92").set("AF", "93").set("LK", "94").set("MM", "95").set("MV", "960").set("LB", "961").set("JO", "962").set("SY", "963").set("IQ", "964").set("KW", "965").set("SA", "966").set("YE", "967").set("OM", "968").set("PS", "970").set("AE", "971").set("IL", "972").set("BH", "973").set("QA", "974").set("BT", "975").set("MN", "976").set("NP", "977").set("IR", "98").set("TK", "992").set("TM", "993").set("AZ", "994").set("GE", "995").set("KG", "996").set("UZ", "998");
|
|
2994
|
+
[...new Set(An.values())].map((t) => ({
|
|
2995
2995
|
label: `+${t}`,
|
|
2996
2996
|
value: t
|
|
2997
2997
|
}));
|
|
2998
2998
|
a.createContext(void 0);
|
|
2999
2999
|
a.createContext(void 0);
|
|
3000
3000
|
var be = /* @__PURE__ */ ((t) => (t[t.categoriesVegetables = 0] = "categoriesVegetables", t[t.categoriesMeat = 1] = "categoriesMeat", t[t.categoriesFish = 2] = "categoriesFish", t[t.categoriesDairy = 3] = "categoriesDairy", t[t.categoriesBreakfast = 4] = "categoriesBreakfast", t[t.categoriesSnacks = 5] = "categoriesSnacks", t[t.categoriesCandy = 6] = "categoriesCandy", t[t.categoriesNonFood = 7] = "categoriesNonFood", t[t.categoriesDryFood = 8] = "categoriesDryFood", t[t.categoriesTins = 9] = "categoriesTins", t[t.categoriesGrid = 10] = "categoriesGrid", t[t.categoriesSoda = 11] = "categoriesSoda", t[t.categoriesBakery = 12] = "categoriesBakery", t[t.categoriesWine = 13] = "categoriesWine", t[t.categoriesBaby = 14] = "categoriesBaby", t[t.categoriesDiet = 15] = "categoriesDiet", t[t.categoriesHygiene = 16] = "categoriesHygiene", t[t.categoriesCleaning = 17] = "categoriesCleaning", t[t.categoriesPets = 18] = "categoriesPets", t[t.categoriesFreezer = 19] = "categoriesFreezer", t[t.categoriesBbq = 20] = "categoriesBbq", t[t.categoriesMealbox = 21] = "categoriesMealbox", t[t.categoriesBrik = 22] = "categoriesBrik", t[t.categoriesGranen = 23] = "categoriesGranen", t[t.categoriesConserve = 24] = "categoriesConserve", t[t.categoriesHome = 25] = "categoriesHome", t[t.categoriesEaster = 26] = "categoriesEaster", t[t.categoriesOnlinePromo = 27] = "categoriesOnlinePromo", t[t.categoriesSportFood = 28] = "categoriesSportFood", t[t.categoriesClothing = 29] = "categoriesClothing", t[t.categoriesEnergy = 30] = "categoriesEnergy", t[t.categoriesDeskAndTravel = 31] = "categoriesDeskAndTravel", t[t.categoriesCigarette = 32] = "categoriesCigarette", t[t.categoriesFood = 33] = "categoriesFood", t[t.categoriesChild = 34] = "categoriesChild", t[t.categoriesPuzzle = 35] = "categoriesPuzzle", t[t.categoriesToys = 36] = "categoriesToys", t[t.categoriesCar = 37] = "categoriesCar", t[t.categoriesPlaceholder = 38] = "categoriesPlaceholder", t[t.categoriesFuel = 39] = "categoriesFuel", t[t.categoriesCarAndBike = 40] = "categoriesCarAndBike", t[t.categoriesToyAndHobby = 41] = "categoriesToyAndHobby", t[t.categoriesMultimedia = 42] = "categoriesMultimedia", t[t.categoriesParty = 43] = "categoriesParty", t[t.toolsPay = 44] = "toolsPay", t[t.toolsReceipt = 45] = "toolsReceipt", t[t.toolsFuel = 46] = "toolsFuel", t[t.toolsStoreLocator = 47] = "toolsStoreLocator", t[t.toolsStats = 48] = "toolsStats", t[t.toolsShowXtraOld = 49] = "toolsShowXtraOld", t[t.toolsShowXtraNew = 50] = "toolsShowXtraNew", t[t.toolsScan2 = 51] = "toolsScan2", t[t.toolsRecipes2 = 52] = "toolsRecipes2", t[t.toolsWarranty = 53] = "toolsWarranty", t[t.toolsCoupons = 54] = "toolsCoupons", t[t.toolsFavoriteInactive = 55] = "toolsFavoriteInactive", t[t.toolsFavoriteActive = 56] = "toolsFavoriteActive", t[t.toolsAssortment = 57] = "toolsAssortment", t[t.toolsPromo = 58] = "toolsPromo", t[t.fuelCng = 59] = "fuelCng", t[t.fuelE5 = 60] = "fuelE5", t[t.fuelAdblue = 61] = "fuelAdblue", t[t.fuelB7 = 62] = "fuelB7", t[t.fuelH2 = 63] = "fuelH2", t[t.fuelE10 = 64] = "fuelE10", t[t.fuelFreeTireInflation = 65] = "fuelFreeTireInflation", t[t.functionalClose = 66] = "functionalClose", t[t.functionalBack = 67] = "functionalBack", t[t.functionalSearch = 68] = "functionalSearch", t[t.functionalEdit = 69] = "functionalEdit", t[t.functionalShare = 70] = "functionalShare", t[t.functionalLocation = 71] = "functionalLocation", t[t.functionalTrash = 72] = "functionalTrash", t[t.functionalCamera = 73] = "functionalCamera", t[t.functionalPhone = 74] = "functionalPhone", t[t.functionalPushNotifications = 75] = "functionalPushNotifications", t[t.functionalMail = 76] = "functionalMail", t[t.functionalGift = 77] = "functionalGift", t[t.functionalPresent = 78] = "functionalPresent", t[t.functionalLoading = 79] = "functionalLoading", t[t.functionalChevronRight = 80] = "functionalChevronRight", t[t.functionalCheck = 81] = "functionalCheck", t[t.functionalChevronDown = 82] = "functionalChevronDown", t[t.functionalChevronUp = 83] = "functionalChevronUp", t[t.functionalPlus = 84] = "functionalPlus", t[t.functionalReset = 85] = "functionalReset", t[t.functionalDownload = 86] = "functionalDownload", t[t.functionalExport = 87] = "functionalExport", t[t.functionalCustomerService = 88] = "functionalCustomerService", t[t.functionalTruck = 89] = "functionalTruck", t[t.functionalBox = 90] = "functionalBox", t[t.functionalEllipsis = 91] = "functionalEllipsis", t[t.functionalLocationHome = 92] = "functionalLocationHome", t[t.functionalLocationPickup = 93] = "functionalLocationPickup", t[t.functionalAccount = 94] = "functionalAccount", t[t.functionalPrivacy = 95] = "functionalPrivacy", t[t.functionalSettings = 96] = "functionalSettings", t[t.functionalUserInfo = 97] = "functionalUserInfo", t[t.functionalPinOutlines = 98] = "functionalPinOutlines", t[t.functionalCalendar = 99] = "functionalCalendar", t[t.functionalMinus = 100] = "functionalMinus", t[t.functionalLifestyle = 101] = "functionalLifestyle", t[t.functionalSms = 102] = "functionalSms", t[t.functionalSwitch = 103] = "functionalSwitch", t[t.functionalSorting = 104] = "functionalSorting", t[t.functionalWarningCircle = 105] = "functionalWarningCircle", t[t.functionalQuestionCircle = 106] = "functionalQuestionCircle", t[t.functionalErrorCircle = 107] = "functionalErrorCircle", t[t.functionalSuccessCircle = 108] = "functionalSuccessCircle", t[t.functionalMessage = 109] = "functionalMessage", t[t.functionalExternalLink = 110] = "functionalExternalLink", t[t.functionalAddToList = 111] = "functionalAddToList", t[t.functionalShoppingcart = 112] = "functionalShoppingcart", t[t.functionalFilter = 113] = "functionalFilter", t[t.functionalLocate = 114] = "functionalLocate", t[t.functionalBarcode = 115] = "functionalBarcode", t[t.functionalClock = 116] = "functionalClock", t[t.functionalHistory = 117] = "functionalHistory", t[t.functionalShops = 118] = "functionalShops", t[t.functionalAddUser = 119] = "functionalAddUser", t[t.functionalOther = 120] = "functionalOther", t[t.functionalInAppNotifications = 121] = "functionalInAppNotifications", t[t.functionalExit = 122] = "functionalExit", t[t.functionalShared = 123] = "functionalShared", t[t.functionalThumbsup = 124] = "functionalThumbsup", t[t.functionalDiscount = 125] = "functionalDiscount", t[t.functionalPercentage = 126] = "functionalPercentage", t[t.functionalList = 127] = "functionalList", t[t.functionalMapLocation = 128] = "functionalMapLocation", t[t.functionalNoConnection = 129] = "functionalNoConnection", t[t.functionalSwap = 130] = "functionalSwap", t[t.functionalPiece = 131] = "functionalPiece", t[t.functionalWeight = 132] = "functionalWeight", t[t.functionalPack = 133] = "functionalPack", t[t.functionalCommunications = 134] = "functionalCommunications", t[t.functionalDeliveryAddresses = 135] = "functionalDeliveryAddresses", t[t["functional18+"] = 136] = "functional18+", t[t.functionalReadtime = 137] = "functionalReadtime", t[t.functionalCopy = 138] = "functionalCopy", t[t.functionalMessageField = 139] = "functionalMessageField", t[t.functionalNext = 140] = "functionalNext", t[t.functionalSave = 141] = "functionalSave", t[t.functionalLogin = 142] = "functionalLogin", t[t.functionalLogout = 143] = "functionalLogout", t[t.functionalWebsite = 144] = "functionalWebsite", t[t.functionalMenu = 145] = "functionalMenu", t[t.functionalRegister = 146] = "functionalRegister", t[t.functionalNews = 147] = "functionalNews", t[t.functionalTimer = 148] = "functionalTimer", t[t.functionalEyeShow = 149] = "functionalEyeShow", t[t.functionalMobilePay = 150] = "functionalMobilePay", t[t.functionalConnectionCable = 151] = "functionalConnectionCable", t[t.functionalDryCleaning = 152] = "functionalDryCleaning", t[t.functionalKiosk = 153] = "functionalKiosk", t[t.functionalConnectedDevice = 154] = "functionalConnectedDevice", t[t.functionalCookies = 155] = "functionalCookies", t[t.functionalViewFile = 156] = "functionalViewFile", t[t.functionalLastAdded = 157] = "functionalLastAdded", t[t.functionalFirstAdded = 158] = "functionalFirstAdded", t[t.functionalStoreLayout = 159] = "functionalStoreLayout", t[t.functionalBlock = 160] = "functionalBlock", t[t.functionalChecklist = 161] = "functionalChecklist", t[t.functionalCartCheckout = 162] = "functionalCartCheckout", t[t.functionalCartEdit = 163] = "functionalCartEdit", t[t.functionalEyeHidden = 164] = "functionalEyeHidden", t[t.functionalWarningCircleFilled = 165] = "functionalWarningCircleFilled", t[t.functionalQuestionCircleFilled = 166] = "functionalQuestionCircleFilled", t[t.functionalErrorCircleFilled = 167] = "functionalErrorCircleFilled", t[t.functionalSuccessCircleFilled = 168] = "functionalSuccessCircleFilled", t[t.functionalPlusCircle = 169] = "functionalPlusCircle", t[t.functionalSpinner = 170] = "functionalSpinner", t[t.functionalEcoEarth = 171] = "functionalEcoEarth", t[t.functionalAlphaBeta = 172] = "functionalAlphaBeta", t[t.functionalEuro = 173] = "functionalEuro", t[t.functionalNumber = 174] = "functionalNumber", t[t.functionalIdea = 175] = "functionalIdea", t[t.functionalMultifactorAuthenticator = 176] = "functionalMultifactorAuthenticator", t[t.functionalPassword = 177] = "functionalPassword", t[t.functionalDiscountCode = 178] = "functionalDiscountCode", t))(be || {});
|
|
3001
|
-
const
|
|
3001
|
+
const Pn = {
|
|
3002
3002
|
categoriesVegetables: a.lazy(
|
|
3003
|
-
() => import("./Categoriesvegetables-
|
|
3003
|
+
() => import("./Categoriesvegetables-Cfb84nRl.js")
|
|
3004
3004
|
),
|
|
3005
|
-
categoriesMeat: a.lazy(() => import("./Categoriesmeat-
|
|
3006
|
-
categoriesFish: a.lazy(() => import("./Categoriesfish-
|
|
3007
|
-
categoriesDairy: a.lazy(() => import("./Categoriesdairy-
|
|
3005
|
+
categoriesMeat: a.lazy(() => import("./Categoriesmeat-DpGOMOyU.js")),
|
|
3006
|
+
categoriesFish: a.lazy(() => import("./Categoriesfish-i5I2ZP8h.js")),
|
|
3007
|
+
categoriesDairy: a.lazy(() => import("./Categoriesdairy-CiCm7x2y.js")),
|
|
3008
3008
|
categoriesBreakfast: a.lazy(
|
|
3009
|
-
() => import("./Categoriesbreakfast-
|
|
3009
|
+
() => import("./Categoriesbreakfast-SrzaaxMY.js")
|
|
3010
3010
|
),
|
|
3011
3011
|
categoriesSnacks: a.lazy(
|
|
3012
|
-
() => import("./Categoriessnacks-
|
|
3012
|
+
() => import("./Categoriessnacks-DdvVUGoc.js")
|
|
3013
3013
|
),
|
|
3014
|
-
categoriesCandy: a.lazy(() => import("./Categoriescandy-
|
|
3014
|
+
categoriesCandy: a.lazy(() => import("./Categoriescandy-DNwxOpQy.js")),
|
|
3015
3015
|
categoriesNonFood: a.lazy(
|
|
3016
|
-
() => import("./Categoriesnonfood-
|
|
3016
|
+
() => import("./Categoriesnonfood-CL4T_lFn.js")
|
|
3017
3017
|
),
|
|
3018
3018
|
categoriesDryFood: a.lazy(
|
|
3019
|
-
() => import("./Categoriesdryfood-
|
|
3019
|
+
() => import("./Categoriesdryfood-D-r1j2n8.js")
|
|
3020
3020
|
),
|
|
3021
|
-
categoriesTins: a.lazy(() => import("./Categoriestins-
|
|
3022
|
-
categoriesGrid: a.lazy(() => import("./Categoriesgrid-
|
|
3023
|
-
categoriesSoda: a.lazy(() => import("./Categoriessoda-
|
|
3021
|
+
categoriesTins: a.lazy(() => import("./Categoriestins-DejkFGN3.js")),
|
|
3022
|
+
categoriesGrid: a.lazy(() => import("./Categoriesgrid-CybVwAwS.js")),
|
|
3023
|
+
categoriesSoda: a.lazy(() => import("./Categoriessoda-CmBW-cbu.js")),
|
|
3024
3024
|
categoriesBakery: a.lazy(
|
|
3025
|
-
() => import("./Categoriesbakery-
|
|
3025
|
+
() => import("./Categoriesbakery-DLn0wMKM.js")
|
|
3026
3026
|
),
|
|
3027
|
-
categoriesWine: a.lazy(() => import("./Categorieswine-
|
|
3028
|
-
categoriesBaby: a.lazy(() => import("./Categoriesbaby-
|
|
3029
|
-
categoriesDiet: a.lazy(() => import("./Categoriesdiet-
|
|
3027
|
+
categoriesWine: a.lazy(() => import("./Categorieswine-BbLx_GTp.js")),
|
|
3028
|
+
categoriesBaby: a.lazy(() => import("./Categoriesbaby-4mtiWB5W.js")),
|
|
3029
|
+
categoriesDiet: a.lazy(() => import("./Categoriesdiet-BiWnnsM2.js")),
|
|
3030
3030
|
categoriesHygiene: a.lazy(
|
|
3031
|
-
() => import("./Categorieshygiene-
|
|
3031
|
+
() => import("./Categorieshygiene-B_KuSvuJ.js")
|
|
3032
3032
|
),
|
|
3033
3033
|
categoriesCleaning: a.lazy(
|
|
3034
|
-
() => import("./Categoriescleaning-
|
|
3034
|
+
() => import("./Categoriescleaning-CtB3HJOo.js")
|
|
3035
3035
|
),
|
|
3036
|
-
categoriesPets: a.lazy(() => import("./Categoriespets-
|
|
3036
|
+
categoriesPets: a.lazy(() => import("./Categoriespets-qFqy9qRI.js")),
|
|
3037
3037
|
categoriesFreezer: a.lazy(
|
|
3038
|
-
() => import("./Categoriesfreezer-
|
|
3038
|
+
() => import("./Categoriesfreezer-DLeuwJTt.js")
|
|
3039
3039
|
),
|
|
3040
|
-
categoriesBbq: a.lazy(() => import("./Categoriesbbq-
|
|
3040
|
+
categoriesBbq: a.lazy(() => import("./Categoriesbbq-D2IB3gRE.js")),
|
|
3041
3041
|
categoriesMealbox: a.lazy(
|
|
3042
|
-
() => import("./Categoriesmealbox-
|
|
3042
|
+
() => import("./Categoriesmealbox-bwX0rdhT.js")
|
|
3043
3043
|
),
|
|
3044
|
-
categoriesBrik: a.lazy(() => import("./Categoriesbrik-
|
|
3044
|
+
categoriesBrik: a.lazy(() => import("./Categoriesbrik-6_Vio8Y1.js")),
|
|
3045
3045
|
categoriesGranen: a.lazy(
|
|
3046
|
-
() => import("./Categoriesgranen-
|
|
3046
|
+
() => import("./Categoriesgranen-Be2vxJWx.js")
|
|
3047
3047
|
),
|
|
3048
3048
|
categoriesConserve: a.lazy(
|
|
3049
|
-
() => import("./Categoriesconserve-
|
|
3049
|
+
() => import("./Categoriesconserve-BTE_sYks.js")
|
|
3050
3050
|
),
|
|
3051
|
-
categoriesHome: a.lazy(() => import("./Categorieshome-
|
|
3051
|
+
categoriesHome: a.lazy(() => import("./Categorieshome-CvpkyrM2.js")),
|
|
3052
3052
|
categoriesEaster: a.lazy(
|
|
3053
|
-
() => import("./Categorieseaster-
|
|
3053
|
+
() => import("./Categorieseaster-L446pETy.js")
|
|
3054
3054
|
),
|
|
3055
3055
|
categoriesOnlinePromo: a.lazy(
|
|
3056
|
-
() => import("./Categoriesonlinepromo-
|
|
3056
|
+
() => import("./Categoriesonlinepromo-Ccd8E4r2.js")
|
|
3057
3057
|
),
|
|
3058
3058
|
categoriesSportFood: a.lazy(
|
|
3059
|
-
() => import("./Categoriessportfood-
|
|
3059
|
+
() => import("./Categoriessportfood-HDimJKTd.js")
|
|
3060
3060
|
),
|
|
3061
3061
|
categoriesClothing: a.lazy(
|
|
3062
|
-
() => import("./Categoriesclothing-
|
|
3062
|
+
() => import("./Categoriesclothing-DzPSTT0Y.js")
|
|
3063
3063
|
),
|
|
3064
3064
|
categoriesEnergy: a.lazy(
|
|
3065
|
-
() => import("./Categoriesenergy-
|
|
3065
|
+
() => import("./Categoriesenergy-6peLqhhR.js")
|
|
3066
3066
|
),
|
|
3067
3067
|
categoriesDeskAndTravel: a.lazy(
|
|
3068
|
-
() => import("./Categoriesdeskandtravel-
|
|
3068
|
+
() => import("./Categoriesdeskandtravel-tNSOkIyb.js")
|
|
3069
3069
|
),
|
|
3070
3070
|
categoriesCigarette: a.lazy(
|
|
3071
|
-
() => import("./Categoriescigarette-
|
|
3071
|
+
() => import("./Categoriescigarette-C13AQkq3.js")
|
|
3072
3072
|
),
|
|
3073
|
-
categoriesFood: a.lazy(() => import("./Categoriesfood-
|
|
3074
|
-
categoriesChild: a.lazy(() => import("./Categorieschild-
|
|
3073
|
+
categoriesFood: a.lazy(() => import("./Categoriesfood-DWMv0j4U.js")),
|
|
3074
|
+
categoriesChild: a.lazy(() => import("./Categorieschild-BloxO5Q4.js")),
|
|
3075
3075
|
categoriesPuzzle: a.lazy(
|
|
3076
|
-
() => import("./Categoriespuzzle-
|
|
3076
|
+
() => import("./Categoriespuzzle-CwbcaAQi.js")
|
|
3077
3077
|
),
|
|
3078
|
-
categoriesToys: a.lazy(() => import("./Categoriestoys-
|
|
3079
|
-
categoriesCar: a.lazy(() => import("./Categoriescar-
|
|
3078
|
+
categoriesToys: a.lazy(() => import("./Categoriestoys-BxJmbcOa.js")),
|
|
3079
|
+
categoriesCar: a.lazy(() => import("./Categoriescar-BoCr_5hS.js")),
|
|
3080
3080
|
categoriesPlaceholder: a.lazy(
|
|
3081
|
-
() => import("./Categoriesplaceholder-
|
|
3081
|
+
() => import("./Categoriesplaceholder-CdCKqKEH.js")
|
|
3082
3082
|
),
|
|
3083
|
-
categoriesFuel: a.lazy(() => import("./Categoriesfuel-
|
|
3083
|
+
categoriesFuel: a.lazy(() => import("./Categoriesfuel-Dpxvf15q.js")),
|
|
3084
3084
|
categoriesCarAndBike: a.lazy(
|
|
3085
|
-
() => import("./Categoriescarandbike-
|
|
3085
|
+
() => import("./Categoriescarandbike-m-Pb6_a5.js")
|
|
3086
3086
|
),
|
|
3087
3087
|
categoriesToyAndHobby: a.lazy(
|
|
3088
|
-
() => import("./Categoriestoyandhobby-
|
|
3088
|
+
() => import("./Categoriestoyandhobby-CqF7TadA.js")
|
|
3089
3089
|
),
|
|
3090
3090
|
categoriesMultimedia: a.lazy(
|
|
3091
|
-
() => import("./Categoriesmultimedia-
|
|
3091
|
+
() => import("./Categoriesmultimedia-DipB3YKx.js")
|
|
3092
3092
|
),
|
|
3093
|
-
categoriesParty: a.lazy(() => import("./Categoriesparty-
|
|
3094
|
-
toolsPay: a.lazy(() => import("./Toolspay-
|
|
3095
|
-
toolsReceipt: a.lazy(() => import("./Toolsreceipt-
|
|
3096
|
-
toolsFuel: a.lazy(() => import("./Toolsfuel-
|
|
3093
|
+
categoriesParty: a.lazy(() => import("./Categoriesparty-DDR2_i4N.js")),
|
|
3094
|
+
toolsPay: a.lazy(() => import("./Toolspay-KzMObV2s.js")),
|
|
3095
|
+
toolsReceipt: a.lazy(() => import("./Toolsreceipt-B9Tm3JOT.js")),
|
|
3096
|
+
toolsFuel: a.lazy(() => import("./Toolsfuel-B9pNzESV.js")),
|
|
3097
3097
|
toolsStoreLocator: a.lazy(
|
|
3098
|
-
() => import("./Toolsstorelocator-
|
|
3098
|
+
() => import("./Toolsstorelocator-DxrXZ2qw.js")
|
|
3099
3099
|
),
|
|
3100
|
-
toolsStats: a.lazy(() => import("./Toolsstats-
|
|
3100
|
+
toolsStats: a.lazy(() => import("./Toolsstats-BL9nU23D.js")),
|
|
3101
3101
|
toolsShowXtraOld: a.lazy(
|
|
3102
|
-
() => import("./Toolsshowxtraold-
|
|
3102
|
+
() => import("./Toolsshowxtraold-C2ZQcn45.js")
|
|
3103
3103
|
),
|
|
3104
3104
|
toolsShowXtraNew: a.lazy(
|
|
3105
|
-
() => import("./Toolsshowxtranew-
|
|
3105
|
+
() => import("./Toolsshowxtranew-Dv_L-2MA.js")
|
|
3106
3106
|
),
|
|
3107
|
-
toolsScan2: a.lazy(() => import("./Toolsscan2-
|
|
3108
|
-
toolsRecipes2: a.lazy(() => import("./Toolsrecipes2-
|
|
3109
|
-
toolsWarranty: a.lazy(() => import("./Toolswarranty-
|
|
3110
|
-
toolsCoupons: a.lazy(() => import("./Toolscoupons-
|
|
3107
|
+
toolsScan2: a.lazy(() => import("./Toolsscan2-RblNDmo6.js")),
|
|
3108
|
+
toolsRecipes2: a.lazy(() => import("./Toolsrecipes2-C0CcqaOd.js")),
|
|
3109
|
+
toolsWarranty: a.lazy(() => import("./Toolswarranty-yKHDFXYh.js")),
|
|
3110
|
+
toolsCoupons: a.lazy(() => import("./Toolscoupons-CQDCewFj.js")),
|
|
3111
3111
|
toolsFavoriteInactive: a.lazy(
|
|
3112
|
-
() => import("./Toolsfavoriteinactive-
|
|
3112
|
+
() => import("./Toolsfavoriteinactive-D6JuVqgy.js")
|
|
3113
3113
|
),
|
|
3114
3114
|
toolsFavoriteActive: a.lazy(
|
|
3115
|
-
() => import("./Toolsfavoriteactive-
|
|
3115
|
+
() => import("./Toolsfavoriteactive-CJeXTWL5.js")
|
|
3116
3116
|
),
|
|
3117
|
-
toolsAssortment: a.lazy(() => import("./Toolsassortment-
|
|
3118
|
-
toolsPromo: a.lazy(() => import("./Toolspromo-
|
|
3119
|
-
fuelCng: a.lazy(() => import("./Fuelcng-
|
|
3120
|
-
fuelE5: a.lazy(() => import("./Fuele5-
|
|
3121
|
-
fuelAdblue: a.lazy(() => import("./Fueladblue-
|
|
3122
|
-
fuelB7: a.lazy(() => import("./Fuelb7-
|
|
3123
|
-
fuelH2: a.lazy(() => import("./Fuelh2-
|
|
3124
|
-
fuelE10: a.lazy(() => import("./Fuele10-
|
|
3117
|
+
toolsAssortment: a.lazy(() => import("./Toolsassortment-57MqI0IS.js")),
|
|
3118
|
+
toolsPromo: a.lazy(() => import("./Toolspromo-r2Tofrkn.js")),
|
|
3119
|
+
fuelCng: a.lazy(() => import("./Fuelcng-BtlczBc0.js")),
|
|
3120
|
+
fuelE5: a.lazy(() => import("./Fuele5-DAF9DxZz.js")),
|
|
3121
|
+
fuelAdblue: a.lazy(() => import("./Fueladblue-D7zCoV4W.js")),
|
|
3122
|
+
fuelB7: a.lazy(() => import("./Fuelb7-DctCMpU6.js")),
|
|
3123
|
+
fuelH2: a.lazy(() => import("./Fuelh2-DPXdAT7c.js")),
|
|
3124
|
+
fuelE10: a.lazy(() => import("./Fuele10-v8wKwSCd.js")),
|
|
3125
3125
|
fuelFreeTireInflation: a.lazy(
|
|
3126
|
-
() => import("./Fuelfreetireinflation-
|
|
3126
|
+
() => import("./Fuelfreetireinflation-Cfo3HVA5.js")
|
|
3127
3127
|
),
|
|
3128
|
-
functionalClose: a.lazy(() => import("./Functionalclose-
|
|
3129
|
-
functionalBack: a.lazy(() => import("./Functionalback-
|
|
3128
|
+
functionalClose: a.lazy(() => import("./Functionalclose-CZ4Xc_l2.js")),
|
|
3129
|
+
functionalBack: a.lazy(() => import("./Functionalback-o_4C06E7.js")),
|
|
3130
3130
|
functionalSearch: a.lazy(
|
|
3131
|
-
() => import("./Functionalsearch-
|
|
3131
|
+
() => import("./Functionalsearch-DhxCyleD.js")
|
|
3132
3132
|
),
|
|
3133
|
-
functionalEdit: a.lazy(() => import("./Functionaledit-
|
|
3134
|
-
functionalShare: a.lazy(() => import("./Functionalshare-
|
|
3133
|
+
functionalEdit: a.lazy(() => import("./Functionaledit-DBONegB9.js")),
|
|
3134
|
+
functionalShare: a.lazy(() => import("./Functionalshare-RhOxXGwr.js")),
|
|
3135
3135
|
functionalLocation: a.lazy(
|
|
3136
|
-
() => import("./Functionallocation-
|
|
3136
|
+
() => import("./Functionallocation-qhjKMW6u.js")
|
|
3137
3137
|
),
|
|
3138
|
-
functionalTrash: a.lazy(() => import("./Functionaltrash-
|
|
3138
|
+
functionalTrash: a.lazy(() => import("./Functionaltrash-DRjVUHeT.js")),
|
|
3139
3139
|
functionalCamera: a.lazy(
|
|
3140
|
-
() => import("./Functionalcamera-
|
|
3140
|
+
() => import("./Functionalcamera-DJhQoMQV.js")
|
|
3141
3141
|
),
|
|
3142
|
-
functionalPhone: a.lazy(() => import("./Functionalphone-
|
|
3142
|
+
functionalPhone: a.lazy(() => import("./Functionalphone-Dg0XkpMG.js")),
|
|
3143
3143
|
functionalPushNotifications: a.lazy(
|
|
3144
|
-
() => import("./Functionalpushnotifications-
|
|
3144
|
+
() => import("./Functionalpushnotifications-vqpMWj9m.js")
|
|
3145
3145
|
),
|
|
3146
|
-
functionalMail: a.lazy(() => import("./Functionalmail-
|
|
3147
|
-
functionalGift: a.lazy(() => import("./Functionalgift-
|
|
3146
|
+
functionalMail: a.lazy(() => import("./Functionalmail-CZl3v5NW.js")),
|
|
3147
|
+
functionalGift: a.lazy(() => import("./Functionalgift-Cf0Y6kUY.js")),
|
|
3148
3148
|
functionalPresent: a.lazy(
|
|
3149
|
-
() => import("./Functionalpresent-
|
|
3149
|
+
() => import("./Functionalpresent-BJvlSw54.js")
|
|
3150
3150
|
),
|
|
3151
3151
|
functionalLoading: a.lazy(
|
|
3152
|
-
() => import("./Functionalloading-
|
|
3152
|
+
() => import("./Functionalloading-BxtwEIr3.js")
|
|
3153
3153
|
),
|
|
3154
3154
|
functionalChevronRight: a.lazy(
|
|
3155
|
-
() => import("./Functionalchevronright-
|
|
3155
|
+
() => import("./Functionalchevronright-dtDbXlh7.js")
|
|
3156
3156
|
),
|
|
3157
|
-
functionalCheck: a.lazy(() => import("./Functionalcheck-
|
|
3157
|
+
functionalCheck: a.lazy(() => import("./Functionalcheck-DwxmxINM.js")),
|
|
3158
3158
|
functionalChevronDown: a.lazy(
|
|
3159
|
-
() => import("./Functionalchevrondown-
|
|
3159
|
+
() => import("./Functionalchevrondown-CXApUkiP.js")
|
|
3160
3160
|
),
|
|
3161
3161
|
functionalChevronUp: a.lazy(
|
|
3162
|
-
() => import("./Functionalchevronup-
|
|
3162
|
+
() => import("./Functionalchevronup-Becqwk7V.js")
|
|
3163
3163
|
),
|
|
3164
|
-
functionalPlus: a.lazy(() => import("./Functionalplus-
|
|
3165
|
-
functionalReset: a.lazy(() => import("./Functionalreset-
|
|
3164
|
+
functionalPlus: a.lazy(() => import("./Functionalplus-BhtjhBC-.js")),
|
|
3165
|
+
functionalReset: a.lazy(() => import("./Functionalreset-Y5T2bVSp.js")),
|
|
3166
3166
|
functionalDownload: a.lazy(
|
|
3167
|
-
() => import("./Functionaldownload-
|
|
3167
|
+
() => import("./Functionaldownload-BCHcUgt1.js")
|
|
3168
3168
|
),
|
|
3169
3169
|
functionalExport: a.lazy(
|
|
3170
|
-
() => import("./Functionalexport-
|
|
3170
|
+
() => import("./Functionalexport-DkZW4wU8.js")
|
|
3171
3171
|
),
|
|
3172
3172
|
functionalCustomerService: a.lazy(
|
|
3173
|
-
() => import("./Functionalcustomerservice-
|
|
3173
|
+
() => import("./Functionalcustomerservice-BaU53T53.js")
|
|
3174
3174
|
),
|
|
3175
|
-
functionalTruck: a.lazy(() => import("./Functionaltruck-
|
|
3176
|
-
functionalBox: a.lazy(() => import("./Functionalbox-
|
|
3175
|
+
functionalTruck: a.lazy(() => import("./Functionaltruck-C2UwOE96.js")),
|
|
3176
|
+
functionalBox: a.lazy(() => import("./Functionalbox-B-7diliX.js")),
|
|
3177
3177
|
functionalEllipsis: a.lazy(
|
|
3178
|
-
() => import("./Functionalellipsis-
|
|
3178
|
+
() => import("./Functionalellipsis-DJoQD5LY.js")
|
|
3179
3179
|
),
|
|
3180
3180
|
functionalLocationHome: a.lazy(
|
|
3181
|
-
() => import("./Functionallocationhome-
|
|
3181
|
+
() => import("./Functionallocationhome-DaI3_6IK.js")
|
|
3182
3182
|
),
|
|
3183
3183
|
functionalLocationPickup: a.lazy(
|
|
3184
|
-
() => import("./Functionallocationpickup-
|
|
3184
|
+
() => import("./Functionallocationpickup-DF4Dd7np.js")
|
|
3185
3185
|
),
|
|
3186
3186
|
functionalAccount: a.lazy(
|
|
3187
|
-
() => import("./Functionalaccount-
|
|
3187
|
+
() => import("./Functionalaccount-Chsypj1k.js")
|
|
3188
3188
|
),
|
|
3189
3189
|
functionalPrivacy: a.lazy(
|
|
3190
|
-
() => import("./Functionalprivacy-
|
|
3190
|
+
() => import("./Functionalprivacy-BrCG46Vi.js")
|
|
3191
3191
|
),
|
|
3192
3192
|
functionalSettings: a.lazy(
|
|
3193
|
-
() => import("./Functionalsettings-
|
|
3193
|
+
() => import("./Functionalsettings-BqHsuLiN.js")
|
|
3194
3194
|
),
|
|
3195
3195
|
functionalUserInfo: a.lazy(
|
|
3196
|
-
() => import("./Functionaluserinfo-
|
|
3196
|
+
() => import("./Functionaluserinfo-CaL7TpPF.js")
|
|
3197
3197
|
),
|
|
3198
3198
|
functionalPinOutlines: a.lazy(
|
|
3199
|
-
() => import("./Functionalpinoutlines-
|
|
3199
|
+
() => import("./Functionalpinoutlines-DYmrZKnt.js")
|
|
3200
3200
|
),
|
|
3201
3201
|
functionalCalendar: a.lazy(
|
|
3202
|
-
() => import("./Functionalcalendar-
|
|
3202
|
+
() => import("./Functionalcalendar-CsLRy_xO.js")
|
|
3203
3203
|
),
|
|
3204
|
-
functionalMinus: a.lazy(() => import("./Functionalminus-
|
|
3204
|
+
functionalMinus: a.lazy(() => import("./Functionalminus-B1pk5XEL.js")),
|
|
3205
3205
|
functionalLifestyle: a.lazy(
|
|
3206
|
-
() => import("./Functionallifestyle-
|
|
3206
|
+
() => import("./Functionallifestyle-J3PRRSBc.js")
|
|
3207
3207
|
),
|
|
3208
|
-
functionalSms: a.lazy(() => import("./Functionalsms-
|
|
3208
|
+
functionalSms: a.lazy(() => import("./Functionalsms-CDPCN6lL.js")),
|
|
3209
3209
|
functionalSwitch: a.lazy(
|
|
3210
|
-
() => import("./Functionalswitch-
|
|
3210
|
+
() => import("./Functionalswitch-BDBvt3Nf.js")
|
|
3211
3211
|
),
|
|
3212
3212
|
functionalSorting: a.lazy(
|
|
3213
|
-
() => import("./Functionalsorting-
|
|
3213
|
+
() => import("./Functionalsorting-BxIBOv1h.js")
|
|
3214
3214
|
),
|
|
3215
3215
|
functionalWarningCircle: a.lazy(
|
|
3216
|
-
() => import("./Functionalwarningcircle-
|
|
3216
|
+
() => import("./Functionalwarningcircle-CrkXU4d7.js")
|
|
3217
3217
|
),
|
|
3218
3218
|
functionalQuestionCircle: a.lazy(
|
|
3219
|
-
() => import("./Functionalquestioncircle-
|
|
3219
|
+
() => import("./Functionalquestioncircle-DTVaqVgb.js")
|
|
3220
3220
|
),
|
|
3221
3221
|
functionalErrorCircle: a.lazy(
|
|
3222
|
-
() => import("./Functionalerrorcircle-
|
|
3222
|
+
() => import("./Functionalerrorcircle-BXI0nMo7.js")
|
|
3223
3223
|
),
|
|
3224
3224
|
functionalSuccessCircle: a.lazy(
|
|
3225
|
-
() => import("./Functionalsuccesscircle-
|
|
3225
|
+
() => import("./Functionalsuccesscircle-BsxjdWn9.js")
|
|
3226
3226
|
),
|
|
3227
3227
|
functionalMessage: a.lazy(
|
|
3228
|
-
() => import("./Functionalmessage-
|
|
3228
|
+
() => import("./Functionalmessage-Bz_kd5AN.js")
|
|
3229
3229
|
),
|
|
3230
3230
|
functionalExternalLink: a.lazy(
|
|
3231
|
-
() => import("./Functionalexternallink-
|
|
3231
|
+
() => import("./Functionalexternallink-BUP85Fc9.js")
|
|
3232
3232
|
),
|
|
3233
3233
|
functionalAddToList: a.lazy(
|
|
3234
|
-
() => import("./Functionaladdtolist-
|
|
3234
|
+
() => import("./Functionaladdtolist-VyhmaCZa.js")
|
|
3235
3235
|
),
|
|
3236
3236
|
functionalShoppingcart: a.lazy(
|
|
3237
|
-
() => import("./Functionalshoppingcart-
|
|
3237
|
+
() => import("./Functionalshoppingcart-CJXwBUoI.js")
|
|
3238
3238
|
),
|
|
3239
3239
|
functionalFilter: a.lazy(
|
|
3240
|
-
() => import("./Functionalfilter-
|
|
3240
|
+
() => import("./Functionalfilter-CeVqSYAO.js")
|
|
3241
3241
|
),
|
|
3242
3242
|
functionalLocate: a.lazy(
|
|
3243
|
-
() => import("./Functionallocate-
|
|
3243
|
+
() => import("./Functionallocate-CTcTaNcH.js")
|
|
3244
3244
|
),
|
|
3245
3245
|
functionalBarcode: a.lazy(
|
|
3246
|
-
() => import("./Functionalbarcode-
|
|
3246
|
+
() => import("./Functionalbarcode-B-UUujTa.js")
|
|
3247
3247
|
),
|
|
3248
|
-
functionalClock: a.lazy(() => import("./Functionalclock-
|
|
3248
|
+
functionalClock: a.lazy(() => import("./Functionalclock-CWQRnAar.js")),
|
|
3249
3249
|
functionalHistory: a.lazy(
|
|
3250
|
-
() => import("./Functionalhistory-
|
|
3250
|
+
() => import("./Functionalhistory-CHczSTL9.js")
|
|
3251
3251
|
),
|
|
3252
|
-
functionalShops: a.lazy(() => import("./Functionalshops-
|
|
3252
|
+
functionalShops: a.lazy(() => import("./Functionalshops-qguIPnjg.js")),
|
|
3253
3253
|
functionalAddUser: a.lazy(
|
|
3254
|
-
() => import("./Functionaladduser-
|
|
3254
|
+
() => import("./Functionaladduser-BNnwpBte.js")
|
|
3255
3255
|
),
|
|
3256
|
-
functionalOther: a.lazy(() => import("./Functionalother-
|
|
3256
|
+
functionalOther: a.lazy(() => import("./Functionalother-DJNdRG-m.js")),
|
|
3257
3257
|
functionalInAppNotifications: a.lazy(
|
|
3258
|
-
() => import("./Functionalinappnotifications-
|
|
3258
|
+
() => import("./Functionalinappnotifications-D677qvWj.js")
|
|
3259
3259
|
),
|
|
3260
|
-
functionalExit: a.lazy(() => import("./Functionalexit-
|
|
3260
|
+
functionalExit: a.lazy(() => import("./Functionalexit-BlGgylkE.js")),
|
|
3261
3261
|
functionalShared: a.lazy(
|
|
3262
|
-
() => import("./Functionalshared-
|
|
3262
|
+
() => import("./Functionalshared-DOVpY6Ic.js")
|
|
3263
3263
|
),
|
|
3264
3264
|
functionalThumbsup: a.lazy(
|
|
3265
|
-
() => import("./Functionalthumbsup-
|
|
3265
|
+
() => import("./Functionalthumbsup-1QkePSfM.js")
|
|
3266
3266
|
),
|
|
3267
3267
|
functionalDiscount: a.lazy(
|
|
3268
|
-
() => import("./Functionaldiscount-
|
|
3268
|
+
() => import("./Functionaldiscount-QQ0cynrq.js")
|
|
3269
3269
|
),
|
|
3270
3270
|
functionalPercentage: a.lazy(
|
|
3271
|
-
() => import("./Functionalpercentage-
|
|
3271
|
+
() => import("./Functionalpercentage-BbDwoG5E.js")
|
|
3272
3272
|
),
|
|
3273
|
-
functionalList: a.lazy(() => import("./Functionallist-
|
|
3273
|
+
functionalList: a.lazy(() => import("./Functionallist-2-cImzdF.js")),
|
|
3274
3274
|
functionalMapLocation: a.lazy(
|
|
3275
|
-
() => import("./Functionalmaplocation-
|
|
3275
|
+
() => import("./Functionalmaplocation-C5h-iPvU.js")
|
|
3276
3276
|
),
|
|
3277
3277
|
functionalNoConnection: a.lazy(
|
|
3278
|
-
() => import("./Functionalnoconnection-
|
|
3278
|
+
() => import("./Functionalnoconnection-CiBPi_N-.js")
|
|
3279
3279
|
),
|
|
3280
|
-
functionalSwap: a.lazy(() => import("./Functionalswap
|
|
3281
|
-
functionalPiece: a.lazy(() => import("./Functionalpiece-
|
|
3280
|
+
functionalSwap: a.lazy(() => import("./Functionalswap--vuIUB44.js")),
|
|
3281
|
+
functionalPiece: a.lazy(() => import("./Functionalpiece-BaZ3Su0D.js")),
|
|
3282
3282
|
functionalWeight: a.lazy(
|
|
3283
|
-
() => import("./Functionalweight-
|
|
3283
|
+
() => import("./Functionalweight-DRGSO9lo.js")
|
|
3284
3284
|
),
|
|
3285
|
-
functionalPack: a.lazy(() => import("./Functionalpack-
|
|
3285
|
+
functionalPack: a.lazy(() => import("./Functionalpack-_RM5PjYt.js")),
|
|
3286
3286
|
functionalCommunications: a.lazy(
|
|
3287
|
-
() => import("./Functionalcommunications-
|
|
3287
|
+
() => import("./Functionalcommunications-D4dLblKc.js")
|
|
3288
3288
|
),
|
|
3289
3289
|
functionalDeliveryAddresses: a.lazy(
|
|
3290
|
-
() => import("./Functionaldeliveryaddresses-
|
|
3290
|
+
() => import("./Functionaldeliveryaddresses-CBc0ajLp.js")
|
|
3291
3291
|
),
|
|
3292
3292
|
"functional18+": a.lazy(
|
|
3293
|
-
() => import("./Functional18plus-
|
|
3293
|
+
() => import("./Functional18plus-CFQ60zq6.js")
|
|
3294
3294
|
),
|
|
3295
3295
|
functionalReadtime: a.lazy(
|
|
3296
|
-
() => import("./Functionalreadtime-
|
|
3296
|
+
() => import("./Functionalreadtime-DCp1C5xL.js")
|
|
3297
3297
|
),
|
|
3298
|
-
functionalCopy: a.lazy(() => import("./Functionalcopy-
|
|
3298
|
+
functionalCopy: a.lazy(() => import("./Functionalcopy-8mrST8B4.js")),
|
|
3299
3299
|
functionalMessageField: a.lazy(
|
|
3300
|
-
() => import("./Functionalmessagefield-
|
|
3300
|
+
() => import("./Functionalmessagefield-yHKpsCb3.js")
|
|
3301
3301
|
),
|
|
3302
|
-
functionalNext: a.lazy(() => import("./Functionalnext-
|
|
3303
|
-
functionalSave: a.lazy(() => import("./Functionalsave-
|
|
3304
|
-
functionalLogin: a.lazy(() => import("./Functionallogin-
|
|
3302
|
+
functionalNext: a.lazy(() => import("./Functionalnext-BmAEsiak.js")),
|
|
3303
|
+
functionalSave: a.lazy(() => import("./Functionalsave-Duu-iNsH.js")),
|
|
3304
|
+
functionalLogin: a.lazy(() => import("./Functionallogin-BAjQSjyR.js")),
|
|
3305
3305
|
functionalLogout: a.lazy(
|
|
3306
|
-
() => import("./Functionallogout-
|
|
3306
|
+
() => import("./Functionallogout-Blx3vBaS.js")
|
|
3307
3307
|
),
|
|
3308
3308
|
functionalWebsite: a.lazy(
|
|
3309
|
-
() => import("./Functionalwebsite-
|
|
3309
|
+
() => import("./Functionalwebsite-IYMhha7s.js")
|
|
3310
3310
|
),
|
|
3311
|
-
functionalMenu: a.lazy(() => import("./Functionalmenu-
|
|
3311
|
+
functionalMenu: a.lazy(() => import("./Functionalmenu-CzEiFP2k.js")),
|
|
3312
3312
|
functionalRegister: a.lazy(
|
|
3313
|
-
() => import("./Functionalregister-
|
|
3313
|
+
() => import("./Functionalregister-7cFbdpxu.js")
|
|
3314
3314
|
),
|
|
3315
|
-
functionalNews: a.lazy(() => import("./Functionalnews-
|
|
3316
|
-
functionalTimer: a.lazy(() => import("./Functionaltimer-
|
|
3315
|
+
functionalNews: a.lazy(() => import("./Functionalnews-DBCF6s8m.js")),
|
|
3316
|
+
functionalTimer: a.lazy(() => import("./Functionaltimer-Bv63_DHt.js")),
|
|
3317
3317
|
functionalEyeShow: a.lazy(
|
|
3318
|
-
() => import("./Functionaleyeshow-
|
|
3318
|
+
() => import("./Functionaleyeshow-Di7tYUqM.js")
|
|
3319
3319
|
),
|
|
3320
3320
|
functionalMobilePay: a.lazy(
|
|
3321
|
-
() => import("./Functionalmobilepay-
|
|
3321
|
+
() => import("./Functionalmobilepay-CS2dXVzB.js")
|
|
3322
3322
|
),
|
|
3323
3323
|
functionalConnectionCable: a.lazy(
|
|
3324
|
-
() => import("./Functionalconnectioncable-
|
|
3324
|
+
() => import("./Functionalconnectioncable-BDzrFCxm.js")
|
|
3325
3325
|
),
|
|
3326
3326
|
functionalDryCleaning: a.lazy(
|
|
3327
|
-
() => import("./Functionaldrycleaning-
|
|
3327
|
+
() => import("./Functionaldrycleaning-Biv9d9DU.js")
|
|
3328
3328
|
),
|
|
3329
|
-
functionalKiosk: a.lazy(() => import("./Functionalkiosk-
|
|
3329
|
+
functionalKiosk: a.lazy(() => import("./Functionalkiosk-bFpfmaPD.js")),
|
|
3330
3330
|
functionalConnectedDevice: a.lazy(
|
|
3331
|
-
() => import("./Functionalconnecteddevice-
|
|
3331
|
+
() => import("./Functionalconnecteddevice-C4-wbO5o.js")
|
|
3332
3332
|
),
|
|
3333
3333
|
functionalCookies: a.lazy(
|
|
3334
|
-
() => import("./Functionalcookies-
|
|
3334
|
+
() => import("./Functionalcookies-2Wcs4oue.js")
|
|
3335
3335
|
),
|
|
3336
3336
|
functionalViewFile: a.lazy(
|
|
3337
|
-
() => import("./Functionalviewfile-
|
|
3337
|
+
() => import("./Functionalviewfile-DUvTj9bL.js")
|
|
3338
3338
|
),
|
|
3339
3339
|
functionalLastAdded: a.lazy(
|
|
3340
|
-
() => import("./Functionallastadded-
|
|
3340
|
+
() => import("./Functionallastadded-C0Z1PSL0.js")
|
|
3341
3341
|
),
|
|
3342
3342
|
functionalFirstAdded: a.lazy(
|
|
3343
|
-
() => import("./Functionalfirstadded-
|
|
3343
|
+
() => import("./Functionalfirstadded-B2GWS-wm.js")
|
|
3344
3344
|
),
|
|
3345
3345
|
functionalStoreLayout: a.lazy(
|
|
3346
|
-
() => import("./Functionalstorelayout-
|
|
3346
|
+
() => import("./Functionalstorelayout-DsxHY-dN.js")
|
|
3347
3347
|
),
|
|
3348
|
-
functionalBlock: a.lazy(() => import("./Functionalblock-
|
|
3348
|
+
functionalBlock: a.lazy(() => import("./Functionalblock-CeOqQtll.js")),
|
|
3349
3349
|
functionalChecklist: a.lazy(
|
|
3350
|
-
() => import("./Functionalchecklist-
|
|
3350
|
+
() => import("./Functionalchecklist-MV0WSUb5.js")
|
|
3351
3351
|
),
|
|
3352
3352
|
functionalCartCheckout: a.lazy(
|
|
3353
|
-
() => import("./Functionalcartcheckout-
|
|
3353
|
+
() => import("./Functionalcartcheckout-Dl3B25HN.js")
|
|
3354
3354
|
),
|
|
3355
3355
|
functionalCartEdit: a.lazy(
|
|
3356
|
-
() => import("./Functionalcartedit-
|
|
3356
|
+
() => import("./Functionalcartedit-B3Pt-tiN.js")
|
|
3357
3357
|
),
|
|
3358
3358
|
functionalEyeHidden: a.lazy(
|
|
3359
|
-
() => import("./Functionaleyehidden-
|
|
3359
|
+
() => import("./Functionaleyehidden-Dd--_EYj.js")
|
|
3360
3360
|
),
|
|
3361
3361
|
functionalWarningCircleFilled: a.lazy(
|
|
3362
|
-
() => import("./Functionalwarningcirclefilled-
|
|
3362
|
+
() => import("./Functionalwarningcirclefilled-BqgEvtzc.js")
|
|
3363
3363
|
),
|
|
3364
3364
|
functionalQuestionCircleFilled: a.lazy(
|
|
3365
|
-
() => import("./Functionalquestioncirclefilled-
|
|
3365
|
+
() => import("./Functionalquestioncirclefilled-D1cpUKhJ.js")
|
|
3366
3366
|
),
|
|
3367
3367
|
functionalErrorCircleFilled: a.lazy(
|
|
3368
|
-
() => import("./Functionalerrorcirclefilled-
|
|
3368
|
+
() => import("./Functionalerrorcirclefilled-kryuh5pa.js")
|
|
3369
3369
|
),
|
|
3370
3370
|
functionalSuccessCircleFilled: a.lazy(
|
|
3371
|
-
() => import("./Functionalsuccesscirclefilled-
|
|
3371
|
+
() => import("./Functionalsuccesscirclefilled-CFsYRgNR.js")
|
|
3372
3372
|
),
|
|
3373
3373
|
functionalPlusCircle: a.lazy(
|
|
3374
|
-
() => import("./Functionalpluscircle-
|
|
3374
|
+
() => import("./Functionalpluscircle-BOqSuyyh.js")
|
|
3375
3375
|
),
|
|
3376
3376
|
functionalSpinner: a.lazy(
|
|
3377
|
-
() => import("./Functionalspinner-
|
|
3377
|
+
() => import("./Functionalspinner-DruQNHnK.js")
|
|
3378
3378
|
),
|
|
3379
3379
|
functionalEcoEarth: a.lazy(
|
|
3380
|
-
() => import("./Functionalecoearth-
|
|
3380
|
+
() => import("./Functionalecoearth-BBqEMjXK.js")
|
|
3381
3381
|
),
|
|
3382
3382
|
functionalAlphaBeta: a.lazy(
|
|
3383
|
-
() => import("./Functionalalphabeta-
|
|
3383
|
+
() => import("./Functionalalphabeta-CSpk94VX.js")
|
|
3384
3384
|
),
|
|
3385
|
-
functionalEuro: a.lazy(() => import("./Functionaleuro-
|
|
3385
|
+
functionalEuro: a.lazy(() => import("./Functionaleuro-0J5usXAT.js")),
|
|
3386
3386
|
functionalNumber: a.lazy(
|
|
3387
|
-
() => import("./Functionalnumber-
|
|
3387
|
+
() => import("./Functionalnumber-B8cSAbNT.js")
|
|
3388
3388
|
),
|
|
3389
|
-
functionalIdea: a.lazy(() => import("./Functionalidea-
|
|
3389
|
+
functionalIdea: a.lazy(() => import("./Functionalidea-CgQpqsbv.js")),
|
|
3390
3390
|
functionalMultifactorAuthenticator: a.lazy(
|
|
3391
|
-
() => import("./Functionalmultifactorauthenticator-
|
|
3391
|
+
() => import("./Functionalmultifactorauthenticator-DWgsXC6n.js")
|
|
3392
3392
|
),
|
|
3393
3393
|
functionalPassword: a.lazy(
|
|
3394
|
-
() => import("./Functionalpassword-
|
|
3394
|
+
() => import("./Functionalpassword-BJi52STr.js")
|
|
3395
3395
|
),
|
|
3396
3396
|
functionalDiscountCode: a.lazy(
|
|
3397
|
-
() => import("./Functionaldiscountcode-
|
|
3397
|
+
() => import("./Functionaldiscountcode-CcmtrYRX.js")
|
|
3398
3398
|
)
|
|
3399
|
-
},
|
|
3399
|
+
}, Nn = ({
|
|
3400
3400
|
bouIconId: t,
|
|
3401
3401
|
...e
|
|
3402
3402
|
}) => {
|
|
3403
|
-
const s = be[t], r =
|
|
3403
|
+
const s = be[t], r = Pn[s];
|
|
3404
3404
|
return r ? /* @__PURE__ */ n.jsx(a.Suspense, { fallback: /* @__PURE__ */ n.jsx("div", { children: "..." }), children: /* @__PURE__ */ n.jsx(r, { width: "24", height: "24", ...e, fill: "none", ref: void 0 }) }) : null;
|
|
3405
|
-
}, Ve = (t) => typeof t.icon == "string" && t.icon in be ? /* @__PURE__ */ n.jsx(
|
|
3405
|
+
}, Ve = (t) => typeof t.icon == "string" && t.icon in be ? /* @__PURE__ */ n.jsx(Nn, { bouIconId: be[t.icon] }) : t.icon, Tn = ({
|
|
3406
3406
|
label: t,
|
|
3407
3407
|
className: e,
|
|
3408
3408
|
onClick: s,
|
|
@@ -3411,7 +3411,7 @@ const On = {
|
|
|
3411
3411
|
/* @__PURE__ */ n.jsx(Ve, { icon: r }),
|
|
3412
3412
|
t
|
|
3413
3413
|
] }) }), Qt = (t) => {
|
|
3414
|
-
const e =
|
|
3414
|
+
const e = Mr(), { className: s, label: r, mobileUrl: i, desktopUrl: o, icon: l } = t;
|
|
3415
3415
|
return /* @__PURE__ */ n.jsxs(Y.Item, { className: s, children: [
|
|
3416
3416
|
(!e || e && !o) && /* @__PURE__ */ n.jsxs("a", { href: i, referrerPolicy: "no-referrer-when-downgrade", children: [
|
|
3417
3417
|
/* @__PURE__ */ n.jsx(Ve, { icon: l }),
|
|
@@ -3422,33 +3422,35 @@ const On = {
|
|
|
3422
3422
|
r
|
|
3423
3423
|
] })
|
|
3424
3424
|
] });
|
|
3425
|
-
},
|
|
3426
|
-
const t = a.useContext(
|
|
3425
|
+
}, yr = a.createContext(void 0), Mn = ({ apiUrl: t, authUrl: e, country: s, redirectUrl: r, bouHeaders: i, children: o }) => /* @__PURE__ */ n.jsx(yr.Provider, { value: { apiUrl: t, authUrl: e, country: s, redirectUrl: r, bouHeaders: i }, children: o }), dt = () => {
|
|
3426
|
+
const t = a.useContext(yr);
|
|
3427
3427
|
if (!t)
|
|
3428
3428
|
throw new Error("Api context can not be rendered outside of Api");
|
|
3429
3429
|
return t;
|
|
3430
|
-
},
|
|
3431
|
-
const t = a.useContext(
|
|
3430
|
+
}, gr = a.createContext(void 0), Rn = ({ position: t, bouMenuItems: e, menuItemsToHide: s, children: r }) => /* @__PURE__ */ n.jsx(gr.Provider, { value: { position: t, bouMenuItems: e, menuItemsToHide: s }, children: r }), vr = () => {
|
|
3431
|
+
const t = a.useContext(gr);
|
|
3432
3432
|
if (!t)
|
|
3433
3433
|
throw new Error("Authentication context can not be rendered outside of Authentication");
|
|
3434
3434
|
return t;
|
|
3435
|
-
},
|
|
3436
|
-
const
|
|
3437
|
-
|
|
3435
|
+
}, Cr = ({ authUrl: t, redirectUrl: e, trackingInfo: s }) => {
|
|
3436
|
+
const r = new URLSearchParams({ redirectUrl: e });
|
|
3437
|
+
s && r.append("trackingInfo", s);
|
|
3438
|
+
const i = `${t}/login?${r.toString()}`, o = `${t}/logout?${r.toString()}`;
|
|
3439
|
+
return { loginUrl: i, logoutUrl: o };
|
|
3438
3440
|
}, _e = () => {
|
|
3439
|
-
const { authUrl: t, redirectUrl: e } = dt();
|
|
3440
|
-
return
|
|
3441
|
-
},
|
|
3441
|
+
const { authUrl: t, redirectUrl: e } = dt(), s = Rr();
|
|
3442
|
+
return Cr({ authUrl: t, redirectUrl: e, trackingInfo: s });
|
|
3443
|
+
}, Ln = () => {
|
|
3442
3444
|
const { apiUrl: t } = dt();
|
|
3443
3445
|
return `${`${t}/xtra`}/authentication/v1/user/profile`;
|
|
3444
|
-
},
|
|
3445
|
-
const { loginUrl: s } =
|
|
3446
|
+
}, bs = (t) => t ? `+${t.countryCode} ${t.number}` : "", xs = (t, e) => e == null ? void 0 : e.find((s) => s.type === t), ws = ({ apiUrl: t, redirectUrl: e }) => {
|
|
3447
|
+
const { loginUrl: s } = Cr({ authUrl: t, redirectUrl: e });
|
|
3446
3448
|
window.location.replace(s);
|
|
3447
|
-
},
|
|
3449
|
+
}, js = (t) => {
|
|
3448
3450
|
var o;
|
|
3449
3451
|
if (!t)
|
|
3450
|
-
return { user: { state: () => "NotAuthenticated" }, tryToLogon:
|
|
3451
|
-
const e = new Date(t.dateOfBirth), s =
|
|
3452
|
+
return { user: { state: () => "NotAuthenticated" }, tryToLogon: ws };
|
|
3453
|
+
const e = new Date(t.dateOfBirth), s = xs(cs.Mobile, t.phone), r = xs(cs.Fixed, t.phone), i = bs(s) ?? bs(r) ?? "";
|
|
3452
3454
|
return {
|
|
3453
3455
|
user: {
|
|
3454
3456
|
...(o = window.XTRA) == null ? void 0 : o.user,
|
|
@@ -3487,12 +3489,12 @@ const On = {
|
|
|
3487
3489
|
cbh: () => t.customerIdentifier,
|
|
3488
3490
|
state: () => "Authenticated"
|
|
3489
3491
|
},
|
|
3490
|
-
tryToLogon:
|
|
3492
|
+
tryToLogon: ws
|
|
3491
3493
|
};
|
|
3492
|
-
},
|
|
3493
|
-
const { i18n: t } = nt(), { country: e, bouHeaders: s } = dt(), r =
|
|
3494
|
-
return
|
|
3495
|
-
queryKey:
|
|
3494
|
+
}, br = ["profile"], rs = () => {
|
|
3495
|
+
const { i18n: t } = nt(), { country: e, bouHeaders: s } = dt(), r = Ln(), i = sessionStorage.getItem("profile"), o = !!i;
|
|
3496
|
+
return ts({
|
|
3497
|
+
queryKey: br,
|
|
3496
3498
|
queryFn: async () => {
|
|
3497
3499
|
const u = Se(t.language, e), h = await fetch(r, {
|
|
3498
3500
|
credentials: "include",
|
|
@@ -3501,7 +3503,7 @@ const On = {
|
|
|
3501
3503
|
});
|
|
3502
3504
|
if (!h.ok) {
|
|
3503
3505
|
if (h.status === 401)
|
|
3504
|
-
return window.XTRA = { ...window.XTRA, ...
|
|
3506
|
+
return window.XTRA = { ...window.XTRA, ...js() }, window.postMessage(
|
|
3505
3507
|
{ source: "xtra-authentication", isAuthenticated: !1 },
|
|
3506
3508
|
new URL(window.location.href).origin
|
|
3507
3509
|
), sessionStorage.removeItem("profile"), { authenticationStatus: "NotAuthenticated" };
|
|
@@ -3513,21 +3515,22 @@ const On = {
|
|
|
3513
3515
|
return sessionStorage.setItem("profile", JSON.stringify({ firstName: f, lastName: p })), window.postMessage(
|
|
3514
3516
|
{ source: "xtra-authentication", isAuthenticated: !0 },
|
|
3515
3517
|
new URL(window.location.href).origin
|
|
3516
|
-
), window.XTRA = { ...window.XTRA, ...
|
|
3518
|
+
), window.XTRA = { ...window.XTRA, ...js(d) }, {
|
|
3517
3519
|
authenticationStatus: "Authenticated",
|
|
3518
3520
|
profile: { firstName: d.firstName, lastName: d.lastName }
|
|
3519
3521
|
};
|
|
3520
3522
|
},
|
|
3521
|
-
staleTime:
|
|
3522
|
-
//
|
|
3523
|
+
staleTime: 1 * 60 * 1e3,
|
|
3524
|
+
// 1 minutes
|
|
3523
3525
|
initialData: o ? {
|
|
3524
3526
|
authenticationStatus: "Authenticated",
|
|
3525
3527
|
profile: JSON.parse(i)
|
|
3526
3528
|
} : void 0,
|
|
3527
3529
|
placeholderData: { authenticationStatus: "Pending" },
|
|
3528
|
-
|
|
3530
|
+
initialDataUpdatedAt: 0,
|
|
3531
|
+
refetchOnWindowFocus: !0
|
|
3529
3532
|
});
|
|
3530
|
-
},
|
|
3533
|
+
}, zn = (t) => {
|
|
3531
3534
|
const e = {
|
|
3532
3535
|
shouldHidePayments: !1,
|
|
3533
3536
|
shouldHideVouchers: !1,
|
|
@@ -3555,8 +3558,8 @@ const On = {
|
|
|
3555
3558
|
"Please make sure the Menu Items to hide are strings and the expected values are [Payment, Vouchers, QRCode]"
|
|
3556
3559
|
);
|
|
3557
3560
|
}), e;
|
|
3558
|
-
},
|
|
3559
|
-
const { t } = nt(), { position: e, bouMenuItems: s, menuItemsToHide: r } =
|
|
3561
|
+
}, Fn = () => {
|
|
3562
|
+
const { t } = nt(), { position: e, bouMenuItems: s, menuItemsToHide: r } = vr(), { country: i } = dt(), o = Ze({ country: i }), { logoutUrl: l } = _e(), h = Be().getQueryData(br), d = (h == null ? void 0 : h.profile.firstName) ?? "", f = (h == null ? void 0 : h.profile.lastName) ?? "", { shouldHidePayments: p, shouldHideVouchers: g, shouldHideQrCodes: m } = zn(r), x = () => {
|
|
3560
3563
|
sessionStorage.removeItem("profile"), window.location.href = l;
|
|
3561
3564
|
};
|
|
3562
3565
|
return /* @__PURE__ */ n.jsxs(Y, { type: "nav", id: "xtra-menu", position: e, children: [
|
|
@@ -3570,18 +3573,18 @@ const On = {
|
|
|
3570
3573
|
"button--authentication--authenticated"
|
|
3571
3574
|
),
|
|
3572
3575
|
children: /* @__PURE__ */ n.jsxs("button", { children: [
|
|
3573
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3576
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(bi, { variant: "small", firstName: d, lastName: f }) }),
|
|
3574
3577
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: d }),
|
|
3575
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
3578
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ss, {}) })
|
|
3576
3579
|
] })
|
|
3577
3580
|
}
|
|
3578
3581
|
),
|
|
3579
3582
|
/* @__PURE__ */ n.jsxs(Y.Content, { as: "div", children: [
|
|
3580
|
-
!!s && s.length > 0 && /* @__PURE__ */ n.jsx("ul", { className: "bou-menu__list", children: s.map(({ label: v, icon: C, url:
|
|
3583
|
+
!!s && s.length > 0 && /* @__PURE__ */ n.jsx("ul", { className: "bou-menu__list", children: s.map(({ label: v, icon: C, url: E }, j) => /* @__PURE__ */ n.jsx(
|
|
3581
3584
|
Qt,
|
|
3582
3585
|
{
|
|
3583
3586
|
className: "bou-menu-item",
|
|
3584
|
-
mobileUrl:
|
|
3587
|
+
mobileUrl: E,
|
|
3585
3588
|
icon: C,
|
|
3586
3589
|
label: v
|
|
3587
3590
|
},
|
|
@@ -3594,7 +3597,7 @@ const On = {
|
|
|
3594
3597
|
className: "manage-profile",
|
|
3595
3598
|
mobileUrl: `${o}/manage-profile`,
|
|
3596
3599
|
desktopUrl: `${o}/manage-profile/personal-data`,
|
|
3597
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3600
|
+
icon: /* @__PURE__ */ n.jsx(Ui, {}),
|
|
3598
3601
|
label: t("manageProfile")
|
|
3599
3602
|
}
|
|
3600
3603
|
),
|
|
@@ -3603,7 +3606,7 @@ const On = {
|
|
|
3603
3606
|
{
|
|
3604
3607
|
className: "payment",
|
|
3605
3608
|
mobileUrl: `${o}/payment`,
|
|
3606
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3609
|
+
icon: /* @__PURE__ */ n.jsx(Ji, {}),
|
|
3607
3610
|
label: t("payment")
|
|
3608
3611
|
}
|
|
3609
3612
|
),
|
|
@@ -3612,7 +3615,7 @@ const On = {
|
|
|
3612
3615
|
{
|
|
3613
3616
|
className: "gift-cards",
|
|
3614
3617
|
mobileUrl: `${o}/${i === "BE" ? "gift-cards" : "vouchers"}`,
|
|
3615
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3618
|
+
icon: /* @__PURE__ */ n.jsx(Xi, {}),
|
|
3616
3619
|
label: t("giftCards")
|
|
3617
3620
|
}
|
|
3618
3621
|
),
|
|
@@ -3620,7 +3623,7 @@ const On = {
|
|
|
3620
3623
|
Qt,
|
|
3621
3624
|
{
|
|
3622
3625
|
mobileUrl: `${o}/identifiers`,
|
|
3623
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3626
|
+
icon: /* @__PURE__ */ n.jsx(Bi, {}),
|
|
3624
3627
|
label: t("qrCode")
|
|
3625
3628
|
}
|
|
3626
3629
|
),
|
|
@@ -3630,15 +3633,15 @@ const On = {
|
|
|
3630
3633
|
className: "manage-privacy",
|
|
3631
3634
|
mobileUrl: `${o}/manage-privacy`,
|
|
3632
3635
|
desktopUrl: `${o}/manage-privacy/permissions`,
|
|
3633
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3636
|
+
icon: /* @__PURE__ */ n.jsx(Di, {}),
|
|
3634
3637
|
label: t("privacy")
|
|
3635
3638
|
}
|
|
3636
3639
|
),
|
|
3637
|
-
/* @__PURE__ */ n.jsx(
|
|
3640
|
+
/* @__PURE__ */ n.jsx(Tn, { onClick: x, icon: /* @__PURE__ */ n.jsx(zi, {}), label: t("logout") })
|
|
3638
3641
|
] })
|
|
3639
3642
|
] })
|
|
3640
3643
|
] });
|
|
3641
|
-
},
|
|
3644
|
+
}, Dn = () => {
|
|
3642
3645
|
const { t } = nt();
|
|
3643
3646
|
return /* @__PURE__ */ n.jsxs("button", { className: O("button", "button--neutral", "button--authentication"), children: [
|
|
3644
3647
|
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx("i", { className: "spinner" }) }),
|
|
@@ -3660,13 +3663,13 @@ Ut.prototype.get = function(t) {
|
|
|
3660
3663
|
Ut.prototype.set = function(t, e) {
|
|
3661
3664
|
return this._size >= this._maxSize && this.clear(), t in this._values || this._size++, this._values[t] = e;
|
|
3662
3665
|
};
|
|
3663
|
-
var
|
|
3666
|
+
var $n = /[^.^\]^[]+|(?=\[\]|\.\.)/g, xr = /^\d+$/, Un = /^\d/, Qn = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, Hn = /^\s*(['"]?)(.*?)(\1)\s*$/, is = 512, Ss = new Ut(is), _s = new Ut(is), ks = new Ut(is), wr = {
|
|
3664
3667
|
Cache: Ut,
|
|
3665
3668
|
split: qe,
|
|
3666
3669
|
normalizePath: Oe,
|
|
3667
3670
|
setter: function(t) {
|
|
3668
3671
|
var e = Oe(t);
|
|
3669
|
-
return
|
|
3672
|
+
return _s.get(t) || _s.set(t, function(r, i) {
|
|
3670
3673
|
for (var o = 0, l = e.length, u = r; o < l - 1; ) {
|
|
3671
3674
|
var h = e[o];
|
|
3672
3675
|
if (h === "__proto__" || h === "constructor" || h === "prototype")
|
|
@@ -3678,7 +3681,7 @@ var Fn = /[^.^\]^[]+|(?=\[\]|\.\.)/g, br = /^\d+$/, Dn = /^\d/, $n = /[~`!#$%\^&
|
|
|
3678
3681
|
},
|
|
3679
3682
|
getter: function(t, e) {
|
|
3680
3683
|
var s = Oe(t);
|
|
3681
|
-
return
|
|
3684
|
+
return ks.get(t) || ks.set(t, function(i) {
|
|
3682
3685
|
for (var o = 0, l = s.length; o < l; )
|
|
3683
3686
|
if (i != null || !e) i = i[s[o++]];
|
|
3684
3687
|
else return;
|
|
@@ -3687,48 +3690,48 @@ var Fn = /[^.^\]^[]+|(?=\[\]|\.\.)/g, br = /^\d+$/, Dn = /^\d/, $n = /[~`!#$%\^&
|
|
|
3687
3690
|
},
|
|
3688
3691
|
join: function(t) {
|
|
3689
3692
|
return t.reduce(function(e, s) {
|
|
3690
|
-
return e + (
|
|
3693
|
+
return e + (ns(s) || xr.test(s) ? "[" + s + "]" : (e ? "." : "") + s);
|
|
3691
3694
|
}, "");
|
|
3692
3695
|
},
|
|
3693
3696
|
forEach: function(t, e, s) {
|
|
3694
|
-
|
|
3697
|
+
Vn(Array.isArray(t) ? t : qe(t), e, s);
|
|
3695
3698
|
}
|
|
3696
3699
|
};
|
|
3697
3700
|
function Oe(t) {
|
|
3698
|
-
return
|
|
3701
|
+
return Ss.get(t) || Ss.set(
|
|
3699
3702
|
t,
|
|
3700
3703
|
qe(t).map(function(e) {
|
|
3701
|
-
return e.replace(
|
|
3704
|
+
return e.replace(Hn, "$2");
|
|
3702
3705
|
})
|
|
3703
3706
|
);
|
|
3704
3707
|
}
|
|
3705
3708
|
function qe(t) {
|
|
3706
|
-
return t.match(
|
|
3709
|
+
return t.match($n) || [""];
|
|
3707
3710
|
}
|
|
3708
|
-
function
|
|
3711
|
+
function Vn(t, e, s) {
|
|
3709
3712
|
var r = t.length, i, o, l, u;
|
|
3710
3713
|
for (o = 0; o < r; o++)
|
|
3711
|
-
i = t[o], i && (
|
|
3714
|
+
i = t[o], i && (Kn(i) && (i = '"' + i + '"'), u = ns(i), l = !u && /^\d+$/.test(i), e.call(s, i, u, l, o, t));
|
|
3712
3715
|
}
|
|
3713
|
-
function
|
|
3716
|
+
function ns(t) {
|
|
3714
3717
|
return typeof t == "string" && t && ["'", '"'].indexOf(t.charAt(0)) !== -1;
|
|
3715
3718
|
}
|
|
3716
|
-
function
|
|
3717
|
-
return t.match(
|
|
3719
|
+
function qn(t) {
|
|
3720
|
+
return t.match(Un) && !t.match(xr);
|
|
3718
3721
|
}
|
|
3719
|
-
function
|
|
3720
|
-
return
|
|
3722
|
+
function Gn(t) {
|
|
3723
|
+
return Qn.test(t);
|
|
3721
3724
|
}
|
|
3722
|
-
function
|
|
3723
|
-
return !
|
|
3725
|
+
function Kn(t) {
|
|
3726
|
+
return !ns(t) && (qn(t) || Gn(t));
|
|
3724
3727
|
}
|
|
3725
|
-
var
|
|
3726
|
-
|
|
3727
|
-
return
|
|
3728
|
+
var jr = { exports: {} };
|
|
3729
|
+
jr.exports = function(t) {
|
|
3730
|
+
return Sr(Wn(t), t);
|
|
3728
3731
|
};
|
|
3729
|
-
|
|
3730
|
-
function
|
|
3731
|
-
var s = t.length, r = new Array(s), i = {}, o = s, l =
|
|
3732
|
+
jr.exports.array = Sr;
|
|
3733
|
+
function Sr(t, e) {
|
|
3734
|
+
var s = t.length, r = new Array(s), i = {}, o = s, l = Zn(e), u = Xn(t);
|
|
3732
3735
|
for (e.forEach(function(d) {
|
|
3733
3736
|
if (!u.has(d[0]) || !u.has(d[1]))
|
|
3734
3737
|
throw new Error("Unknown node. There is an unknown node in the supplied edges.");
|
|
@@ -3762,38 +3765,38 @@ function jr(t, e) {
|
|
|
3762
3765
|
}
|
|
3763
3766
|
}
|
|
3764
3767
|
}
|
|
3765
|
-
function
|
|
3768
|
+
function Wn(t) {
|
|
3766
3769
|
for (var e = /* @__PURE__ */ new Set(), s = 0, r = t.length; s < r; s++) {
|
|
3767
3770
|
var i = t[s];
|
|
3768
3771
|
e.add(i[0]), e.add(i[1]);
|
|
3769
3772
|
}
|
|
3770
3773
|
return Array.from(e);
|
|
3771
3774
|
}
|
|
3772
|
-
function
|
|
3775
|
+
function Zn(t) {
|
|
3773
3776
|
for (var e = /* @__PURE__ */ new Map(), s = 0, r = t.length; s < r; s++) {
|
|
3774
3777
|
var i = t[s];
|
|
3775
3778
|
e.has(i[0]) || e.set(i[0], /* @__PURE__ */ new Set()), e.has(i[1]) || e.set(i[1], /* @__PURE__ */ new Set()), e.get(i[0]).add(i[1]);
|
|
3776
3779
|
}
|
|
3777
3780
|
return e;
|
|
3778
3781
|
}
|
|
3779
|
-
function
|
|
3782
|
+
function Xn(t) {
|
|
3780
3783
|
for (var e = /* @__PURE__ */ new Map(), s = 0, r = t.length; s < r; s++)
|
|
3781
3784
|
e.set(t[s], s);
|
|
3782
3785
|
return e;
|
|
3783
3786
|
}
|
|
3784
|
-
const
|
|
3785
|
-
function
|
|
3787
|
+
const Yn = Object.prototype.toString, Jn = Error.prototype.toString, In = RegExp.prototype.toString, Bn = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", ta = /^Symbol\((.*)\)(.*)$/;
|
|
3788
|
+
function ea(t) {
|
|
3786
3789
|
return t != +t ? "NaN" : t === 0 && 1 / t < 0 ? "-0" : "" + t;
|
|
3787
3790
|
}
|
|
3788
3791
|
function Es(t, e = !1) {
|
|
3789
3792
|
if (t == null || t === !0 || t === !1) return "" + t;
|
|
3790
3793
|
const s = typeof t;
|
|
3791
|
-
if (s === "number") return
|
|
3794
|
+
if (s === "number") return ea(t);
|
|
3792
3795
|
if (s === "string") return e ? `"${t}"` : t;
|
|
3793
3796
|
if (s === "function") return "[Function " + (t.name || "anonymous") + "]";
|
|
3794
|
-
if (s === "symbol") return
|
|
3795
|
-
const r =
|
|
3796
|
-
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" +
|
|
3797
|
+
if (s === "symbol") return Bn.call(t).replace(ta, "Symbol($1)");
|
|
3798
|
+
const r = Yn.call(t).slice(8, -1);
|
|
3799
|
+
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" + Jn.call(t) + "]" : r === "RegExp" ? In.call(t) : null;
|
|
3797
3800
|
}
|
|
3798
3801
|
function _t(t, e) {
|
|
3799
3802
|
let s = Es(t, e);
|
|
@@ -3802,14 +3805,14 @@ function _t(t, e) {
|
|
|
3802
3805
|
return o !== null ? o : i;
|
|
3803
3806
|
}, 2);
|
|
3804
3807
|
}
|
|
3805
|
-
function
|
|
3808
|
+
function _r(t) {
|
|
3806
3809
|
return t == null ? [] : [].concat(t);
|
|
3807
3810
|
}
|
|
3808
|
-
let
|
|
3809
|
-
|
|
3810
|
-
class
|
|
3811
|
+
let kr, Er, Or, sa = /\$\{\s*(\w+)\s*\}/g;
|
|
3812
|
+
kr = Symbol.toStringTag;
|
|
3813
|
+
class Os {
|
|
3811
3814
|
constructor(e, s, r, i) {
|
|
3812
|
-
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[
|
|
3815
|
+
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[kr] = "Error", this.name = "ValidationError", this.value = s, this.path = r, this.type = i, this.errors = [], this.inner = [], _r(e).forEach((o) => {
|
|
3813
3816
|
if (X.isError(o)) {
|
|
3814
3817
|
this.errors.push(...o.errors);
|
|
3815
3818
|
const l = o.inner.length ? o.inner : [o];
|
|
@@ -3820,26 +3823,26 @@ class ks {
|
|
|
3820
3823
|
}
|
|
3821
3824
|
}
|
|
3822
3825
|
Er = Symbol.hasInstance;
|
|
3823
|
-
|
|
3826
|
+
Or = Symbol.toStringTag;
|
|
3824
3827
|
class X extends Error {
|
|
3825
3828
|
static formatError(e, s) {
|
|
3826
3829
|
const r = s.label || s.path || "this";
|
|
3827
3830
|
return s = Object.assign({}, s, {
|
|
3828
3831
|
path: r,
|
|
3829
3832
|
originalPath: s.path
|
|
3830
|
-
}), typeof e == "string" ? e.replace(
|
|
3833
|
+
}), typeof e == "string" ? e.replace(sa, (i, o) => _t(s[o])) : typeof e == "function" ? e(s) : e;
|
|
3831
3834
|
}
|
|
3832
3835
|
static isError(e) {
|
|
3833
3836
|
return e && e.name === "ValidationError";
|
|
3834
3837
|
}
|
|
3835
3838
|
constructor(e, s, r, i, o) {
|
|
3836
|
-
const l = new
|
|
3839
|
+
const l = new Os(e, s, r, i);
|
|
3837
3840
|
if (o)
|
|
3838
3841
|
return l;
|
|
3839
|
-
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[
|
|
3842
|
+
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[Or] = "Error", this.name = l.name, this.message = l.message, this.type = l.type, this.value = l.value, this.path = l.path, this.errors = l.errors, this.inner = l.inner, Error.captureStackTrace && Error.captureStackTrace(this, X);
|
|
3840
3843
|
}
|
|
3841
3844
|
static [Er](e) {
|
|
3842
|
-
return
|
|
3845
|
+
return Os[Symbol.hasInstance](e) || super[Symbol.hasInstance](e);
|
|
3843
3846
|
}
|
|
3844
3847
|
}
|
|
3845
3848
|
let lt = {
|
|
@@ -3858,7 +3861,7 @@ let lt = {
|
|
|
3858
3861
|
const i = r != null && r !== s ? ` (cast from the value \`${_t(r, !0)}\`).` : ".";
|
|
3859
3862
|
return e !== "mixed" ? `${t} must be a \`${e}\` type, but the final value was: \`${_t(s, !0)}\`` + i : `${t} must match the configured type. The validated value was: \`${_t(s, !0)}\`` + i;
|
|
3860
3863
|
}
|
|
3861
|
-
},
|
|
3864
|
+
}, ra = {
|
|
3862
3865
|
length: "${path} must be exactly ${length} characters",
|
|
3863
3866
|
min: "${path} must be at least ${min} characters",
|
|
3864
3867
|
max: "${path} must be at most ${max} characters",
|
|
@@ -3872,7 +3875,7 @@ let lt = {
|
|
|
3872
3875
|
trim: "${path} must be a trimmed string",
|
|
3873
3876
|
lowercase: "${path} must be a lowercase string",
|
|
3874
3877
|
uppercase: "${path} must be a upper case string"
|
|
3875
|
-
},
|
|
3878
|
+
}, ia = {
|
|
3876
3879
|
min: "${path} must be greater than or equal to ${min}",
|
|
3877
3880
|
max: "${path} must be less than or equal to ${max}",
|
|
3878
3881
|
lessThan: "${path} must be less than ${less}",
|
|
@@ -3883,16 +3886,16 @@ let lt = {
|
|
|
3883
3886
|
}, Ge = {
|
|
3884
3887
|
min: "${path} field must be later than ${min}",
|
|
3885
3888
|
max: "${path} field must be at earlier than ${max}"
|
|
3886
|
-
},
|
|
3889
|
+
}, na = {
|
|
3887
3890
|
isValue: "${path} field must be ${value}"
|
|
3888
|
-
},
|
|
3891
|
+
}, aa = {
|
|
3889
3892
|
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
3890
3893
|
exact: "${path} object contains unknown properties: ${properties}"
|
|
3891
|
-
},
|
|
3894
|
+
}, oa = {
|
|
3892
3895
|
min: "${path} field must have at least ${min} items",
|
|
3893
3896
|
max: "${path} field must have less than or equal to ${max} items",
|
|
3894
3897
|
length: "${path} must have ${length} items"
|
|
3895
|
-
},
|
|
3898
|
+
}, la = {
|
|
3896
3899
|
notType: (t) => {
|
|
3897
3900
|
const {
|
|
3898
3901
|
path: e,
|
|
@@ -3908,15 +3911,15 @@ let lt = {
|
|
|
3908
3911
|
};
|
|
3909
3912
|
Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
3910
3913
|
mixed: lt,
|
|
3911
|
-
string:
|
|
3912
|
-
number:
|
|
3914
|
+
string: ra,
|
|
3915
|
+
number: ia,
|
|
3913
3916
|
date: Ge,
|
|
3914
|
-
object:
|
|
3915
|
-
array:
|
|
3916
|
-
boolean:
|
|
3917
|
-
tuple:
|
|
3917
|
+
object: aa,
|
|
3918
|
+
array: oa,
|
|
3919
|
+
boolean: na,
|
|
3920
|
+
tuple: la
|
|
3918
3921
|
});
|
|
3919
|
-
const
|
|
3922
|
+
const Ar = (t) => t && t.__isYupSchema__;
|
|
3920
3923
|
class xe {
|
|
3921
3924
|
static fromOptions(e, s) {
|
|
3922
3925
|
if (!s.then && !s.otherwise) throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");
|
|
@@ -3942,7 +3945,7 @@ class xe {
|
|
|
3942
3945
|
if (i === void 0 || // @ts-ignore this can be base
|
|
3943
3946
|
i === e)
|
|
3944
3947
|
return e;
|
|
3945
|
-
if (!
|
|
3948
|
+
if (!Ar(i)) throw new TypeError("conditions must return a schema object");
|
|
3946
3949
|
return i.resolve(s);
|
|
3947
3950
|
}
|
|
3948
3951
|
}
|
|
@@ -3956,7 +3959,7 @@ class he {
|
|
|
3956
3959
|
if (this.key = e.trim(), e === "") throw new TypeError("ref must be a non-empty string");
|
|
3957
3960
|
this.isContext = this.key[0] === pe.context, this.isValue = this.key[0] === pe.value, this.isSibling = !this.isContext && !this.isValue;
|
|
3958
3961
|
let r = this.isContext ? pe.context : this.isValue ? pe.value : "";
|
|
3959
|
-
this.path = this.key.slice(r.length), this.getter = this.path &&
|
|
3962
|
+
this.path = this.key.slice(r.length), this.getter = this.path && wr.getter(this.path, !0), this.map = s.map;
|
|
3960
3963
|
}
|
|
3961
3964
|
getValue(e, s, r) {
|
|
3962
3965
|
let i = this.isContext ? r : this.isValue ? e : s;
|
|
@@ -3989,7 +3992,7 @@ class he {
|
|
|
3989
3992
|
}
|
|
3990
3993
|
}
|
|
3991
3994
|
he.prototype.__isYupRef = !0;
|
|
3992
|
-
const
|
|
3995
|
+
const Pr = (t) => t == null;
|
|
3993
3996
|
function Ht(t) {
|
|
3994
3997
|
function e({
|
|
3995
3998
|
value: s,
|
|
@@ -4009,7 +4012,7 @@ function Ht(t) {
|
|
|
4009
4012
|
parent: x,
|
|
4010
4013
|
context: v,
|
|
4011
4014
|
abortEarly: C = l.spec.abortEarly,
|
|
4012
|
-
disableStackTrace:
|
|
4015
|
+
disableStackTrace: E = l.spec.disableStackTrace
|
|
4013
4016
|
} = i;
|
|
4014
4017
|
function j(R) {
|
|
4015
4018
|
return he.isRef(R) ? R.getValue(s, x, v) : R;
|
|
@@ -4021,11 +4024,11 @@ function Ht(t) {
|
|
|
4021
4024
|
label: l.spec.label,
|
|
4022
4025
|
path: R.path || r,
|
|
4023
4026
|
spec: l.spec,
|
|
4024
|
-
disableStackTrace: R.disableStackTrace ||
|
|
4027
|
+
disableStackTrace: R.disableStackTrace || E
|
|
4025
4028
|
}, p, R.params);
|
|
4026
|
-
for (const
|
|
4027
|
-
const
|
|
4028
|
-
return
|
|
4029
|
+
for (const os of Object.keys(H)) H[os] = j(H[os]);
|
|
4030
|
+
const Et = new X(X.formatError(R.message || g, H), s, H.path, R.type || d, H.disableStackTrace);
|
|
4031
|
+
return Et.params = H, Et;
|
|
4029
4032
|
}
|
|
4030
4033
|
const M = C ? u : h;
|
|
4031
4034
|
let F = {
|
|
@@ -4044,27 +4047,27 @@ function Ht(t) {
|
|
|
4044
4047
|
}, et = (R) => {
|
|
4045
4048
|
X.isError(R) ? M(R) : u(R);
|
|
4046
4049
|
};
|
|
4047
|
-
if (m &&
|
|
4050
|
+
if (m && Pr(s))
|
|
4048
4051
|
return D(!0);
|
|
4049
|
-
let
|
|
4052
|
+
let N;
|
|
4050
4053
|
try {
|
|
4051
4054
|
var T;
|
|
4052
|
-
if (
|
|
4055
|
+
if (N = f.call(F, s, F), typeof ((T = N) == null ? void 0 : T.then) == "function") {
|
|
4053
4056
|
if (i.sync)
|
|
4054
4057
|
throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
|
|
4055
|
-
return Promise.resolve(
|
|
4058
|
+
return Promise.resolve(N).then(D, et);
|
|
4056
4059
|
}
|
|
4057
4060
|
} catch (R) {
|
|
4058
4061
|
et(R);
|
|
4059
4062
|
return;
|
|
4060
4063
|
}
|
|
4061
|
-
D(
|
|
4064
|
+
D(N);
|
|
4062
4065
|
}
|
|
4063
4066
|
return e.OPTIONS = t, e;
|
|
4064
4067
|
}
|
|
4065
|
-
function
|
|
4068
|
+
function ca(t, e, s, r = s) {
|
|
4066
4069
|
let i, o, l;
|
|
4067
|
-
return e ? (
|
|
4070
|
+
return e ? (wr.forEach(e, (u, h, d) => {
|
|
4068
4071
|
let f = h ? u.slice(1, u.length - 1) : u;
|
|
4069
4072
|
t = t.resolve({
|
|
4070
4073
|
context: r,
|
|
@@ -4115,7 +4118,7 @@ class we extends Set {
|
|
|
4115
4118
|
}
|
|
4116
4119
|
}
|
|
4117
4120
|
function Vt(t, e = /* @__PURE__ */ new Map()) {
|
|
4118
|
-
if (
|
|
4121
|
+
if (Ar(t) || !t || typeof t != "object") return t;
|
|
4119
4122
|
if (e.has(t)) return e.get(t);
|
|
4120
4123
|
let s;
|
|
4121
4124
|
if (t instanceof Date)
|
|
@@ -4220,7 +4223,7 @@ class $t {
|
|
|
4220
4223
|
value: e
|
|
4221
4224
|
}, s)), i = s.assert === "ignore-optionality", o = r._cast(e, s);
|
|
4222
4225
|
if (s.assert !== !1 && !r.isType(o)) {
|
|
4223
|
-
if (i &&
|
|
4226
|
+
if (i && Pr(o))
|
|
4224
4227
|
return o;
|
|
4225
4228
|
let l = _t(e), u = _t(o);
|
|
4226
4229
|
throw new TypeError(`The value of ${s.path || "field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
@@ -4459,7 +4462,7 @@ attempted value: ${l}
|
|
|
4459
4462
|
}
|
|
4460
4463
|
when(e, s) {
|
|
4461
4464
|
!Array.isArray(e) && typeof e != "string" && (s = e, e = ".");
|
|
4462
|
-
let r = this.clone(), i =
|
|
4465
|
+
let r = this.clone(), i = _r(e).map((o) => new he(o));
|
|
4463
4466
|
return i.forEach((o) => {
|
|
4464
4467
|
o.isSibling && r.deps.push(o.key);
|
|
4465
4468
|
}), r.conditions.push(typeof s == "function" ? new xe(i, s) : xe.fromOptions(i, s)), r;
|
|
@@ -4554,7 +4557,7 @@ for (const t of ["validate", "validateSync"]) $t.prototype[`${t}At`] = function(
|
|
|
4554
4557
|
parent: i,
|
|
4555
4558
|
parentPath: o,
|
|
4556
4559
|
schema: l
|
|
4557
|
-
} =
|
|
4560
|
+
} = ca(this, e, s, r.context);
|
|
4558
4561
|
return l[t](i && i[o], Object.assign({}, r, {
|
|
4559
4562
|
parent: i,
|
|
4560
4563
|
path: e
|
|
@@ -4562,18 +4565,18 @@ for (const t of ["validate", "validateSync"]) $t.prototype[`${t}At`] = function(
|
|
|
4562
4565
|
};
|
|
4563
4566
|
for (const t of ["equals", "is"]) $t.prototype[t] = $t.prototype.oneOf;
|
|
4564
4567
|
for (const t of ["not", "nope"]) $t.prototype[t] = $t.prototype.notOneOf;
|
|
4565
|
-
const
|
|
4566
|
-
function
|
|
4567
|
-
const e =
|
|
4568
|
+
const ua = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
4569
|
+
function ha(t) {
|
|
4570
|
+
const e = da(t);
|
|
4568
4571
|
if (!e) return Date.parse ? Date.parse(t) : Number.NaN;
|
|
4569
4572
|
if (e.z === void 0 && e.plusMinus === void 0)
|
|
4570
4573
|
return new Date(e.year, e.month, e.day, e.hour, e.minute, e.second, e.millisecond).valueOf();
|
|
4571
4574
|
let s = 0;
|
|
4572
4575
|
return e.z !== "Z" && e.plusMinus !== void 0 && (s = e.hourOffset * 60 + e.minuteOffset, e.plusMinus === "+" && (s = 0 - s)), Date.UTC(e.year, e.month, e.day, e.hour, e.minute + s, e.second, e.millisecond);
|
|
4573
4576
|
}
|
|
4574
|
-
function
|
|
4577
|
+
function da(t) {
|
|
4575
4578
|
var e, s;
|
|
4576
|
-
const r =
|
|
4579
|
+
const r = ua.exec(t);
|
|
4577
4580
|
return r ? {
|
|
4578
4581
|
year: at(r[1]),
|
|
4579
4582
|
month: at(r[2], 1) - 1,
|
|
@@ -4595,16 +4598,16 @@ function ua(t) {
|
|
|
4595
4598
|
function at(t, e = 0) {
|
|
4596
4599
|
return Number(t) || e;
|
|
4597
4600
|
}
|
|
4598
|
-
let
|
|
4599
|
-
class
|
|
4601
|
+
let fa = /* @__PURE__ */ new Date(""), pa = (t) => Object.prototype.toString.call(t) === "[object Date]";
|
|
4602
|
+
class as extends $t {
|
|
4600
4603
|
constructor() {
|
|
4601
4604
|
super({
|
|
4602
4605
|
type: "date",
|
|
4603
4606
|
check(e) {
|
|
4604
|
-
return
|
|
4607
|
+
return pa(e) && !isNaN(e.getTime());
|
|
4605
4608
|
}
|
|
4606
4609
|
}), this.withMutation(() => {
|
|
4607
|
-
this.transform((e, s, r) => !r.spec.coerce || r.isType(e) || e === null ? e : (e =
|
|
4610
|
+
this.transform((e, s, r) => !r.spec.coerce || r.isType(e) || e === null ? e : (e = ha(e), isNaN(e) ? as.INVALID_DATE : new Date(e)));
|
|
4608
4611
|
});
|
|
4609
4612
|
}
|
|
4610
4613
|
prepareParam(e, s) {
|
|
@@ -4649,12 +4652,12 @@ class ns extends $t {
|
|
|
4649
4652
|
});
|
|
4650
4653
|
}
|
|
4651
4654
|
}
|
|
4652
|
-
|
|
4655
|
+
as.INVALID_DATE = fa;
|
|
4653
4656
|
a.createContext(void 0);
|
|
4654
4657
|
var je = (t) => {
|
|
4655
4658
|
window.udata || (window.udata = []), window.udata.push(t);
|
|
4656
|
-
};
|
|
4657
|
-
|
|
4659
|
+
}, Ke = /* @__PURE__ */ ((t) => (t.SettingChange = "setting change", t.ConsentSubmit = "consent submit", t.PageNavigation = "page navigation", t.FormStep = "form step", t.FormSubmit = "form submit", t.FormError = "form error", t.NewsletterSubscribe = "newsletter subscribe", t.NewsletterUnSubscribe = "newsletter unsubscribe", t.DownloadXtraCardNavigation = "download link click", t.PopUpImpression = "popup impression", t.PopUpAction = "popup action", t))(Ke || {});
|
|
4660
|
+
ln.Body;
|
|
4658
4661
|
/*! js-cookie v3.0.5 | MIT */
|
|
4659
4662
|
function me(t) {
|
|
4660
4663
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -4664,7 +4667,7 @@ function me(t) {
|
|
|
4664
4667
|
}
|
|
4665
4668
|
return t;
|
|
4666
4669
|
}
|
|
4667
|
-
var
|
|
4670
|
+
var ma = {
|
|
4668
4671
|
read: function(t) {
|
|
4669
4672
|
return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
4670
4673
|
},
|
|
@@ -4675,7 +4678,7 @@ var fa = {
|
|
|
4675
4678
|
);
|
|
4676
4679
|
}
|
|
4677
4680
|
};
|
|
4678
|
-
function
|
|
4681
|
+
function We(t, e) {
|
|
4679
4682
|
function s(i, o, l) {
|
|
4680
4683
|
if (!(typeof document > "u")) {
|
|
4681
4684
|
l = me({}, e, l), typeof l.expires == "number" && (l.expires = new Date(Date.now() + l.expires * 864e5)), l.expires && (l.expires = l.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
@@ -4713,10 +4716,10 @@ function Ke(t, e) {
|
|
|
4713
4716
|
);
|
|
4714
4717
|
},
|
|
4715
4718
|
withAttributes: function(i) {
|
|
4716
|
-
return
|
|
4719
|
+
return We(this.converter, me({}, this.attributes, i));
|
|
4717
4720
|
},
|
|
4718
4721
|
withConverter: function(i) {
|
|
4719
|
-
return
|
|
4722
|
+
return We(me({}, this.converter, i), this.attributes);
|
|
4720
4723
|
}
|
|
4721
4724
|
},
|
|
4722
4725
|
{
|
|
@@ -4725,12 +4728,12 @@ function Ke(t, e) {
|
|
|
4725
4728
|
}
|
|
4726
4729
|
);
|
|
4727
4730
|
}
|
|
4728
|
-
var
|
|
4729
|
-
const
|
|
4731
|
+
var As = We(ma, { path: "/" });
|
|
4732
|
+
const ya = ({ className: t }) => {
|
|
4730
4733
|
const { t: e } = nt(), { loginUrl: s } = _e(), r = a.useRef(null);
|
|
4731
4734
|
return a.useEffect(() => {
|
|
4732
|
-
const i =
|
|
4733
|
-
r != null && r.current && o && (
|
|
4735
|
+
const i = As.get("shouldLogin"), o = !!i && !!atob(i);
|
|
4736
|
+
r != null && r.current && o && (As.remove("shouldLogin"), r.current.click());
|
|
4734
4737
|
}, [r]), /* @__PURE__ */ n.jsxs(
|
|
4735
4738
|
"a",
|
|
4736
4739
|
{
|
|
@@ -4750,14 +4753,14 @@ const pa = ({ className: t }) => {
|
|
|
4750
4753
|
});
|
|
4751
4754
|
},
|
|
4752
4755
|
children: [
|
|
4753
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
4756
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(or, { width: 24, height: 24, suffix: "desktop" }) }),
|
|
4754
4757
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: e("login") }),
|
|
4755
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
4758
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ss, {}) })
|
|
4756
4759
|
]
|
|
4757
4760
|
}
|
|
4758
4761
|
);
|
|
4759
|
-
},
|
|
4760
|
-
const { t } = nt(), { loginUrl: e } = _e(), s =
|
|
4762
|
+
}, ga = () => {
|
|
4763
|
+
const { t } = nt(), { loginUrl: e } = _e(), s = Ze(), { position: r } = vr();
|
|
4761
4764
|
return /* @__PURE__ */ n.jsxs(
|
|
4762
4765
|
Y,
|
|
4763
4766
|
{
|
|
@@ -4768,8 +4771,8 @@ const pa = ({ className: t }) => {
|
|
|
4768
4771
|
"aria-label": t("xtraMenuAriaLabel"),
|
|
4769
4772
|
children: [
|
|
4770
4773
|
/* @__PURE__ */ n.jsx(Y.Trigger, { className: O("button", "button--neutral", "button--authentication"), children: /* @__PURE__ */ n.jsxs("button", { children: [
|
|
4771
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
4772
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
4774
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(or, { width: 24, height: 24, suffix: "mobile" }) }),
|
|
4775
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ss, {}) })
|
|
4773
4776
|
] }) }),
|
|
4774
4777
|
/* @__PURE__ */ n.jsxs(Y.Content, { children: [
|
|
4775
4778
|
/* @__PURE__ */ n.jsx(Y.Item, { children: /* @__PURE__ */ n.jsxs(
|
|
@@ -4784,28 +4787,28 @@ const pa = ({ className: t }) => {
|
|
|
4784
4787
|
});
|
|
4785
4788
|
},
|
|
4786
4789
|
children: [
|
|
4787
|
-
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
4790
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Ri, {}) }),
|
|
4788
4791
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("login") })
|
|
4789
4792
|
]
|
|
4790
4793
|
}
|
|
4791
4794
|
) }),
|
|
4792
4795
|
/* @__PURE__ */ n.jsx(Y.Item, { children: /* @__PURE__ */ n.jsxs("a", { href: `${s}/onboarding/register`, className: "button button--with-icon", children: [
|
|
4793
|
-
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
4796
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Hi, {}) }),
|
|
4794
4797
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("register") })
|
|
4795
4798
|
] }) })
|
|
4796
4799
|
] })
|
|
4797
4800
|
]
|
|
4798
4801
|
}
|
|
4799
4802
|
);
|
|
4800
|
-
},
|
|
4803
|
+
}, va = () => {
|
|
4801
4804
|
var e, s;
|
|
4802
|
-
const t =
|
|
4803
|
-
return ((e = t.data) == null ? void 0 : e.authenticationStatus) === "Authenticated" ? /* @__PURE__ */ n.jsx(
|
|
4804
|
-
/* @__PURE__ */ n.jsx(
|
|
4805
|
-
/* @__PURE__ */ n.jsx(
|
|
4806
|
-
] }) : /* @__PURE__ */ n.jsx(
|
|
4807
|
-
},
|
|
4808
|
-
function
|
|
4805
|
+
const t = rs();
|
|
4806
|
+
return ((e = t.data) == null ? void 0 : e.authenticationStatus) === "Authenticated" ? /* @__PURE__ */ n.jsx(Fn, {}) : ((s = t.data) == null ? void 0 : s.authenticationStatus) === "NotAuthenticated" || t.isError ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4807
|
+
/* @__PURE__ */ n.jsx(ya, {}),
|
|
4808
|
+
/* @__PURE__ */ n.jsx(ga, {})
|
|
4809
|
+
] }) : /* @__PURE__ */ n.jsx(Dn, {});
|
|
4810
|
+
}, Ca = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx("p", { className: "form--user-consent__description", ...e, children: t });
|
|
4811
|
+
function ba({
|
|
4809
4812
|
mutate: t,
|
|
4810
4813
|
userConsent: e,
|
|
4811
4814
|
errorMessage: s,
|
|
@@ -4827,7 +4830,7 @@ function va({
|
|
|
4827
4830
|
if (x.every((C) => C.checked)) {
|
|
4828
4831
|
u({});
|
|
4829
4832
|
try {
|
|
4830
|
-
await new Promise((C,
|
|
4833
|
+
await new Promise((C, E) => {
|
|
4831
4834
|
t(
|
|
4832
4835
|
x.map((j) => j.value),
|
|
4833
4836
|
{
|
|
@@ -4835,7 +4838,7 @@ function va({
|
|
|
4835
4838
|
e.data === null ? d("consent") : r(), C();
|
|
4836
4839
|
},
|
|
4837
4840
|
onError: (j) => {
|
|
4838
|
-
|
|
4841
|
+
E(j);
|
|
4839
4842
|
}
|
|
4840
4843
|
}
|
|
4841
4844
|
);
|
|
@@ -4869,9 +4872,9 @@ function va({
|
|
|
4869
4872
|
const Nr = () => {
|
|
4870
4873
|
const { apiUrl: t } = dt();
|
|
4871
4874
|
return `${`${t}/xtra`}/authentication/v1/gdpr`;
|
|
4872
|
-
},
|
|
4873
|
-
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), i = new
|
|
4874
|
-
return
|
|
4875
|
+
}, xa = () => {
|
|
4876
|
+
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), i = new Ys();
|
|
4877
|
+
return yi({
|
|
4875
4878
|
mutationFn: async (l) => {
|
|
4876
4879
|
const u = Se(t.language, s), h = await fetch(`${e}/tc`, {
|
|
4877
4880
|
body: JSON.stringify({ acceptedTC: l }),
|
|
@@ -4892,10 +4895,10 @@ const Nr = () => {
|
|
|
4892
4895
|
await i.invalidateQueries({ queryKey: ["gdpr"] });
|
|
4893
4896
|
}
|
|
4894
4897
|
});
|
|
4895
|
-
},
|
|
4898
|
+
}, wa = () => {
|
|
4896
4899
|
var u;
|
|
4897
|
-
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), o = ((u =
|
|
4898
|
-
return
|
|
4900
|
+
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), o = ((u = rs().data) == null ? void 0 : u.authenticationStatus) === "Authenticated";
|
|
4901
|
+
return ts({
|
|
4899
4902
|
queryKey: ["gdpr"],
|
|
4900
4903
|
queryFn: async () => {
|
|
4901
4904
|
const h = Se(t.language, s), d = await fetch(`${e}/tc/check`, {
|
|
@@ -4913,13 +4916,13 @@ const Nr = () => {
|
|
|
4913
4916
|
gcTime: 5 * 60 * 1e3
|
|
4914
4917
|
// 5 minutes
|
|
4915
4918
|
});
|
|
4916
|
-
},
|
|
4919
|
+
}, ja = () => {
|
|
4917
4920
|
const { apiUrl: t } = dt();
|
|
4918
4921
|
return `${`${t}/xtra`}/authentication/v1/userconsent`;
|
|
4919
|
-
},
|
|
4922
|
+
}, Sa = () => {
|
|
4920
4923
|
var u;
|
|
4921
|
-
const { i18n: t } = nt(), e =
|
|
4922
|
-
return
|
|
4924
|
+
const { i18n: t } = nt(), e = ja(), { country: s, bouHeaders: r } = dt(), o = ((u = rs().data) == null ? void 0 : u.authenticationStatus) === "Authenticated";
|
|
4925
|
+
return ts({
|
|
4923
4926
|
queryKey: ["userconsent"],
|
|
4924
4927
|
queryFn: async () => {
|
|
4925
4928
|
const h = Se(t.language, s), d = await fetch(e, {
|
|
@@ -4941,18 +4944,18 @@ const Nr = () => {
|
|
|
4941
4944
|
});
|
|
4942
4945
|
};
|
|
4943
4946
|
let Ae = !1;
|
|
4944
|
-
const
|
|
4945
|
-
var
|
|
4946
|
-
const { t } = nt(), { logoutUrl: e } = _e(), { mutate: s, isError: r, isPending: i } =
|
|
4947
|
-
|
|
4947
|
+
const _a = () => {
|
|
4948
|
+
var N;
|
|
4949
|
+
const { t } = nt(), { logoutUrl: e } = _e(), { mutate: s, isError: r, isPending: i } = xa(), o = wa(), l = Sa(), [u, h] = a.useState(!0), [d, f] = a.useState(!1), p = Ze(), g = a.useRef(!1), m = a.useRef("terms");
|
|
4950
|
+
Lr({ element: "xtra-authentication" });
|
|
4948
4951
|
const x = t("termsAndConditions.error.required"), v = () => {
|
|
4949
4952
|
f(!1), document.body.style.removeProperty("overflow");
|
|
4950
|
-
}, { submitCount: C, errors:
|
|
4953
|
+
}, { submitCount: C, errors: E, activeContent: j, setActiveContent: A, setErrors: M, handleSubmit: F } = ba({ mutate: s, userConsent: l, errorMessage: x, resetDialog: v }), { AccessibleFormMessage: D, formRef: et } = zr({ submitCount: C, errors: E });
|
|
4951
4954
|
a.useEffect(() => {
|
|
4952
4955
|
var T;
|
|
4953
4956
|
!o.isLoading && !l.isLoading && (h(!1), (T = o.data) != null && T.length ? (f(!0), A("terms")) : l.data === null ? (f(!0), A("consent")) : (f(!1), v()));
|
|
4954
4957
|
}, [
|
|
4955
|
-
(
|
|
4958
|
+
(N = o.data) == null ? void 0 : N.length,
|
|
4956
4959
|
o.isLoading,
|
|
4957
4960
|
l.data,
|
|
4958
4961
|
l.isLoading
|
|
@@ -4960,7 +4963,7 @@ const ja = () => {
|
|
|
4960
4963
|
const T = g.current, R = m.current;
|
|
4961
4964
|
d && j === "consent" && !Ae && // Fire if dialog just opened OR content just switched to consent
|
|
4962
4965
|
(!T || R !== "consent") && (je({
|
|
4963
|
-
event_name:
|
|
4966
|
+
event_name: Ke.PopUpImpression,
|
|
4964
4967
|
popup_name: "one consent pop-up",
|
|
4965
4968
|
popup_type: "call to action",
|
|
4966
4969
|
popup_style: "overlay"
|
|
@@ -4972,7 +4975,7 @@ const ja = () => {
|
|
|
4972
4975
|
}, [x, r]);
|
|
4973
4976
|
const $ = (T) => {
|
|
4974
4977
|
T.preventDefault(), je({
|
|
4975
|
-
event_name:
|
|
4978
|
+
event_name: Ke.PopUpAction,
|
|
4976
4979
|
popup_name: "one consent pop-up",
|
|
4977
4980
|
popup_type: "call to action",
|
|
4978
4981
|
popup_style: "overlay",
|
|
@@ -4986,19 +4989,19 @@ const ja = () => {
|
|
|
4986
4989
|
Z.Title,
|
|
4987
4990
|
{
|
|
4988
4991
|
icon: j === "terms" ? /* @__PURE__ */ n.jsx("i", { className: "commerce__icon" }) : null,
|
|
4989
|
-
children: /* @__PURE__ */ n.jsx(
|
|
4992
|
+
children: /* @__PURE__ */ n.jsx(Aa, { children: t(j === "terms" ? "termsAndConditions.title" : "existingUserPopup.title") })
|
|
4990
4993
|
}
|
|
4991
4994
|
) }),
|
|
4992
4995
|
/* @__PURE__ */ n.jsx(Z.Body, { children: j === "terms" ? /* @__PURE__ */ n.jsx(
|
|
4993
|
-
|
|
4996
|
+
Na,
|
|
4994
4997
|
{
|
|
4995
|
-
errors:
|
|
4998
|
+
errors: E,
|
|
4996
4999
|
handleSubmit: F,
|
|
4997
5000
|
formRef: et,
|
|
4998
5001
|
termsAndConditions: o,
|
|
4999
5002
|
errorMessage: x
|
|
5000
5003
|
}
|
|
5001
|
-
) : /* @__PURE__ */ n.jsx("form", { id: "consent-form", onSubmit: $, children: /* @__PURE__ */ n.jsx(
|
|
5004
|
+
) : /* @__PURE__ */ n.jsx("form", { id: "consent-form", onSubmit: $, children: /* @__PURE__ */ n.jsx(Ca, { children: t("existingUserPopup.description") }) }) }),
|
|
5002
5005
|
/* @__PURE__ */ n.jsx(Z.Footer, { children: j === "terms" ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
5003
5006
|
/* @__PURE__ */ n.jsx(
|
|
5004
5007
|
"a",
|
|
@@ -5009,7 +5012,7 @@ const ja = () => {
|
|
|
5009
5012
|
}
|
|
5010
5013
|
),
|
|
5011
5014
|
/* @__PURE__ */ n.jsx(
|
|
5012
|
-
|
|
5015
|
+
kt,
|
|
5013
5016
|
{
|
|
5014
5017
|
form: "tc-form",
|
|
5015
5018
|
type: "submit",
|
|
@@ -5019,18 +5022,18 @@ const ja = () => {
|
|
|
5019
5022
|
children: t("confirm")
|
|
5020
5023
|
}
|
|
5021
5024
|
)
|
|
5022
|
-
] }) : /* @__PURE__ */ n.jsx(
|
|
5025
|
+
] }) : /* @__PURE__ */ n.jsx(kt, { form: "consent-form", type: "submit", variant: "primary", children: t("existingUserPopup.primaryAction") }) })
|
|
5023
5026
|
] })
|
|
5024
5027
|
] }) : null;
|
|
5025
|
-
},
|
|
5028
|
+
}, ka = ({
|
|
5026
5029
|
children: t,
|
|
5027
5030
|
...e
|
|
5028
|
-
}) => /* @__PURE__ */ n.jsx(Dt.Label, { className: "form--tc__label", ...e, children: t }),
|
|
5029
|
-
|
|
5030
|
-
const
|
|
5031
|
+
}) => /* @__PURE__ */ n.jsx(Dt.Label, { className: "form--tc__label", ...e, children: t }), Tr = a.forwardRef(({ children: t, ...e }, s) => /* @__PURE__ */ n.jsx("form", { className: "form--tc", ref: s, ...e, children: t }));
|
|
5032
|
+
Tr.displayName = "TermsAndConditionsForm";
|
|
5033
|
+
const Ea = ({
|
|
5031
5034
|
children: t,
|
|
5032
5035
|
...e
|
|
5033
|
-
}) => /* @__PURE__ */ n.jsx("p", { className: "form--tc__description", ...e, children: t }),
|
|
5036
|
+
}) => /* @__PURE__ */ n.jsx("p", { className: "form--tc__description", ...e, children: t }), Oa = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx(
|
|
5034
5037
|
"a",
|
|
5035
5038
|
{
|
|
5036
5039
|
className: "form--tc__link",
|
|
@@ -5041,8 +5044,8 @@ const _a = ({
|
|
|
5041
5044
|
...e,
|
|
5042
5045
|
children: t
|
|
5043
5046
|
}
|
|
5044
|
-
),
|
|
5045
|
-
function
|
|
5047
|
+
), Aa = ({ children: t }) => /* @__PURE__ */ n.jsx("h1", { className: "form--tc__title", children: t }), Pa = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx("span", { className: "form--tc__error", role: "alert", ...e, children: t });
|
|
5048
|
+
function Na({
|
|
5046
5049
|
errors: t,
|
|
5047
5050
|
handleSubmit: e,
|
|
5048
5051
|
formRef: s,
|
|
@@ -5051,18 +5054,18 @@ function Aa({
|
|
|
5051
5054
|
}) {
|
|
5052
5055
|
var l;
|
|
5053
5056
|
const { t: o } = nt();
|
|
5054
|
-
return /* @__PURE__ */ n.jsxs(
|
|
5055
|
-
/* @__PURE__ */ n.jsxs(
|
|
5057
|
+
return /* @__PURE__ */ n.jsxs(Tr, { ref: s, id: "tc-form", onSubmit: e, children: [
|
|
5058
|
+
/* @__PURE__ */ n.jsxs(Ea, { children: [
|
|
5056
5059
|
o("termsAndConditions.description"),
|
|
5057
|
-
t.acceptedTC && /* @__PURE__ */ n.jsx(
|
|
5060
|
+
t.acceptedTC && /* @__PURE__ */ n.jsx(Pa, { children: i })
|
|
5058
5061
|
] }),
|
|
5059
5062
|
(l = r.data) == null ? void 0 : l.map(({ tcCode: u, title: h, URL: d }) => /* @__PURE__ */ n.jsx(Dt, { id: u, value: u, name: "acceptedTC", variant: "primary", children: /* @__PURE__ */ n.jsxs(Dt.Content, { children: [
|
|
5060
|
-
/* @__PURE__ */ n.jsx(
|
|
5061
|
-
/* @__PURE__ */ n.jsx(
|
|
5063
|
+
/* @__PURE__ */ n.jsx(ka, { children: h }),
|
|
5064
|
+
/* @__PURE__ */ n.jsx(Oa, { href: d, children: o("termsAndConditions.action", { title: h }) })
|
|
5062
5065
|
] }) }, u))
|
|
5063
5066
|
] });
|
|
5064
5067
|
}
|
|
5065
|
-
const
|
|
5068
|
+
const Ta = new Ys(), La = ({
|
|
5066
5069
|
environment: t,
|
|
5067
5070
|
redirectUrl: e,
|
|
5068
5071
|
apiUrl: s,
|
|
@@ -5073,28 +5076,28 @@ const Na = new Xs(), Ma = ({
|
|
|
5073
5076
|
menuItemsToHide: u,
|
|
5074
5077
|
bouHeaders: h,
|
|
5075
5078
|
country: d
|
|
5076
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
5077
|
-
|
|
5079
|
+
}) => /* @__PURE__ */ n.jsx(Fr, { environment: t, children: /* @__PURE__ */ n.jsx(Dr, { commerceId: o, children: /* @__PURE__ */ n.jsx(
|
|
5080
|
+
Mn,
|
|
5078
5081
|
{
|
|
5079
5082
|
apiUrl: s,
|
|
5080
5083
|
authUrl: r,
|
|
5081
5084
|
country: d,
|
|
5082
5085
|
redirectUrl: e,
|
|
5083
5086
|
bouHeaders: h,
|
|
5084
|
-
children: /* @__PURE__ */ n.jsxs(
|
|
5087
|
+
children: /* @__PURE__ */ n.jsxs(ii, { client: Ta, children: [
|
|
5085
5088
|
/* @__PURE__ */ n.jsx(
|
|
5086
|
-
|
|
5089
|
+
Rn,
|
|
5087
5090
|
{
|
|
5088
5091
|
position: i,
|
|
5089
5092
|
bouMenuItems: l,
|
|
5090
5093
|
menuItemsToHide: u,
|
|
5091
|
-
children: /* @__PURE__ */ n.jsx(
|
|
5094
|
+
children: /* @__PURE__ */ n.jsx(va, {})
|
|
5092
5095
|
}
|
|
5093
5096
|
),
|
|
5094
|
-
/* @__PURE__ */ n.jsx(
|
|
5097
|
+
/* @__PURE__ */ n.jsx(_a, {})
|
|
5095
5098
|
] })
|
|
5096
5099
|
}
|
|
5097
5100
|
) }) });
|
|
5098
5101
|
export {
|
|
5099
|
-
|
|
5102
|
+
La as default
|
|
5100
5103
|
};
|