@frak-labs/components 1.3.3-beta.b5bbb625 → 1.3.3-beta.c4b15093

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.
Files changed (49) hide show
  1. package/cdn/Ambassador.Cmb0kX5D.js +519 -0
  2. package/cdn/Banner.2WJ4pT6E.js +227 -0
  3. package/cdn/{ButtonShare.C7xLonci.js → ButtonShare.DSGvJfJ-.js} +1 -1
  4. package/cdn/{ButtonWallet.CYf4UqML.js → ButtonWallet.DHpHCl4c.js} +2 -2
  5. package/cdn/GiftIcon.DYg5xgHg.js +1 -0
  6. package/cdn/InstallQr.CHImaq56.js +1 -0
  7. package/cdn/{OpenInAppButton.Djz_cb9Y.js → OpenInAppButton.CxBzRNKw.js} +1 -1
  8. package/cdn/PostPurchase.C75q-9BM.js +124 -0
  9. package/cdn/RewardReminder.C6o8lgak.js +369 -0
  10. package/cdn/components.js +1 -1
  11. package/cdn/format.D2Ai5cCn.js +1 -0
  12. package/cdn/{GiftIcon.CW1SwrXH.js → icons.CdzHzZIJ.js} +1 -1
  13. package/cdn/jsxRuntime.module.7FJBZ9bf.js +58 -0
  14. package/cdn/loader.js +20 -16
  15. package/cdn/mountRewardReminder.BlmSRJDe.js +1 -0
  16. package/cdn/previewSummary.DxyobqED.js +1 -0
  17. package/cdn/rewardSummaryStore.DyjI-vPH.js +1 -0
  18. package/cdn/{rewards.F9iOJSNk.js → rewards.CeNLrK54.js} +1 -1
  19. package/cdn/useGlobalComponents.CNnOzerU.js +1 -0
  20. package/cdn/{useLightDomStyles.B72V1WPK.js → useLightDomStyles.557xWurb.js} +1 -1
  21. package/cdn/usePlacement.DYgmdkfr.js +1 -0
  22. package/cdn/{useReward.g4cWDddX.js → useReward.BzUL3ijd.js} +1 -1
  23. package/dist/GiftIcon-Csu31jtf.js +62 -0
  24. package/dist/InstallQr-kpb44cfg.js +84 -0
  25. package/dist/ambassador.d.ts +16 -1
  26. package/dist/ambassador.js +536 -180
  27. package/dist/banner.d.ts +20 -6
  28. package/dist/banner.js +237 -15
  29. package/dist/buttonShare.js +2 -2
  30. package/dist/buttonWallet.js +1 -1
  31. package/dist/format-zGdbUoX_.js +283 -0
  32. package/dist/i18n/defaults.d.ts +72 -0
  33. package/dist/i18n/defaults.js +108 -6
  34. package/dist/{GiftIcon-B9k_syq6.js → icons-iN3qH_Bv.js} +1 -61
  35. package/dist/postPurchase.d.ts +6 -1
  36. package/dist/postPurchase.js +188 -34
  37. package/dist/previewSummary-CMc6q8vI.js +37 -0
  38. package/dist/rewardReminder.d.ts +50 -0
  39. package/dist/rewardReminder.js +809 -0
  40. package/dist/{rewards-CfGynCt6.js → rewards-BuNthAR2.js} +49 -46
  41. package/dist/{sharedBaseCss.css-nYy9vlzH.js → sharedBaseCss.css-D2HG4Ty8.js} +1 -1
  42. package/dist/{useReward-DmukZKoh.js → useReward-cQ54x8q-.js} +1 -1
  43. package/package.json +18 -12
  44. package/cdn/Ambassador.DIumLn1z.js +0 -392
  45. package/cdn/Banner.8mqstDGK.js +0 -208
  46. package/cdn/PostPurchase.CxuZ9cs-.js +0 -102
  47. package/cdn/jsxRuntime.module.DWH-kRVd.js +0 -58
  48. package/cdn/useGlobalComponents.DVgSWfOp.js +0 -1
  49. package/cdn/usePlacement.DEOEf5_6.js +0 -1
@@ -0,0 +1,369 @@
1
+ import{_ as e,a as t,c as n,f as r,g as i,h as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"./jsxRuntime.module.7FJBZ9bf.js";import{t as h}from"./useGlobalComponents.CNnOzerU.js";import{n as g,t as _}from"./previewSummary.DxyobqED.js";import{i as v,n as y,o as b}from"./rewardSummaryStore.DyjI-vPH.js";import{a as x,c as S,i as C,n as w,o as T,r as E,s as D,t as O,u as k}from"./format.D2Ai5cCn.js";import{t as A}from"./GiftIcon.DYg5xgHg.js";import{D as j,E as M,_ as N,d as P,o as F}from"./loader.js";import{n as I,r as L}from"./InstallQr.CHImaq56.js";var ee=`RewardReminder_amount__1gewp7nk RewardReminder_box__1gewp7n3`,R=`RewardReminder_card__1gewp7nf RewardReminder_box__1gewp7n3`,z=`RewardReminder_cardHeader__1gewp7ng RewardReminder_box__1gewp7n3`,te=`RewardReminder_close__1gewp7nr RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,B=`RewardReminder_cta__1gewp7nu RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,ne=`RewardReminder_dismiss__1gewp7ne RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,V=`RewardReminder_eyebrow__1gewp7nh RewardReminder_box__1gewp7n3`,H=`RewardReminder_eyebrowIcon__1gewp7ni`,U=`RewardReminder_footer__1gewp7nw RewardReminder_box__1gewp7n3`,W=`RewardReminder_footerQr__1gewp7nx RewardReminder_box__1gewp7n3`,G=`RewardReminder_free__1gewp7nv RewardReminder_box__1gewp7n3`,K=`RewardReminder_head__1gewp7nj RewardReminder_box__1gewp7n3`,re=`RewardReminder_icon__1gewp7nb`,q=`RewardReminder_later__1gewp7n16 RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,ie=`RewardReminder_pill__1gewp7na RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,ae=`RewardReminder_pillAmount__1gewp7nc`,J=`RewardReminder_pillRow__1gewp7n8 RewardReminder_box__1gewp7n3`,oe=`RewardReminder_pillRowUrgent__1gewp7n9`,Y=`RewardReminder_qrButton__1gewp7nz RewardReminder_control__1gewp7n4 RewardReminder_box__1gewp7n3`,X=`RewardReminder_qrHint__1gewp7n14 RewardReminder_box__1gewp7n3`,Z=`RewardReminder_qrImage__1gewp7n11`,se=`RewardReminder_qrPlaceholder__1gewp7n13 RewardReminder_box__1gewp7n3`,ce=`RewardReminder_root__1gewp7n5 RewardReminder_box__1gewp7n3`,le=`RewardReminder_sideLeft__1gewp7n6`,ue=`RewardReminder_sideRight__1gewp7n7`,de=`RewardReminder_tile__1gewp7nm RewardReminder_box__1gewp7n3`,fe=`RewardReminder_tileNumber__1gewp7no`,pe=`RewardReminder_tileUnit__1gewp7nq`,me=`RewardReminder_tileWord__1gewp7np`;const Q=(...e)=>e.filter(Boolean).join(` `);function he(){return j.getConfig().name||window.FrakSetup?.config?.metadata?.name||window.location.hostname}function ge(e,t){return e<=0?t.deadlineToday:e===1?t.deadlineOneDay:t.deadlineDays}function _e(e){let t=e?new Date(e):void 0;return t&&!Number.isNaN(t.getTime())?t:void 0}function ve(e,t,n){let r=e.lockedCount>0?_e(e.nextUnlockAt):void 0;if(!r)return;let i=e.lockedCount>=e.count?t.unlockNoteAll:t.unlockNote;return O(i,{date:E(r,n)})}function ye(e,t){let n=x();if(C(e.cashback,n)!==0&&C(e.fromFriends,n)!==0)return[O(t.breakdownCashback,{reward:w(e.cashback,n)}),O(t.breakdownFromFriends,{reward:w(e.fromFriends,n)})].join(` · `)}function be({days:t,copy:n}){return/* @__PURE__ */ p(`p`,{class:Q(de,t<=3&&`RewardReminder_tileUrgent__1gewp7nn`),children:t<=0?/* @__PURE__ */ p(e,{children:[/* @__PURE__ */ p(`span`,{class:me,children:n.tileLastDay}),` `,/* @__PURE__ */ p(`span`,{class:pe,children:n.tileLastDayUnit})]}):/* @__PURE__ */ p(e,{children:[/* @__PURE__ */ p(`span`,{class:fe,children:t}),` `,/* @__PURE__ */ p(`span`,{class:pe,children:t===1?n.tileOneDay:n.tileDays})]})})}function xe({copy:e,installUrl:t,onLater:n}){let i=!N(),{wide:a,grid:o}=L(i?t:void 0),[s,c]=r(!1),l=/* @__PURE__ */ p(`button`,{type:`button`,class:q,onClick:n,children:e.later});return!i||!a||!t?/* @__PURE__ */ p(`div`,{class:U,children:l}):/* @__PURE__ */ p(`div`,{class:Q(U,W,s&&`RewardReminder_footerQrExpanded__1gewp7ny RewardReminder_box__1gewp7n3`),children:[o?/* @__PURE__ */ p(`button`,{type:`button`,class:Q(Y,s&&`RewardReminder_qrButtonExpanded__1gewp7n10`),"aria-expanded":s,onClick:()=>c(e=>!e),children:/* @__PURE__ */ p(I,{grid:o,label:e.qrLabel,class:Q(Z,s&&`RewardReminder_qrImageExpanded__1gewp7n12`)})}):/* @__PURE__ */ p(`span`,{class:se,"aria-hidden":`true`}),/* @__PURE__ */ p(`p`,{class:Q(X,s&&`RewardReminder_qrHintExpanded__1gewp7n15`),children:s?e.qrCaption:e.qrHint}),l]})}function Se({installUrl:e,isPreview:t,onClaim:n,children:r}){let i=!t&&!e;return/* @__PURE__ */ p(`a`,{class:B,href:t?`#`:e,target:t?void 0:`_blank`,rel:`noopener`,role:i?`link`:void 0,tabIndex:i?0:void 0,"aria-disabled":i?`true`:void 0,onClick:n,children:r})}function Ce({id:e,titleId:t,cardRef:n,lang:r,pending:i,countdown:a,installUrl:o,isPreview:s,texts:l,onClose:d,onClaim:f,onLater:m}){let h=u(),g=c[r].rewardReminder,_=a?.days,v={reward:w(i.total,x()),days:_,date:a?E(a.date,r):void 0,brand:he()},y=ye(i,g),b=[_===void 0?void 0:O(ge(_,g),v),ve(i,g,r)].filter(Boolean).join(` `),S=_!==void 0&&_<=3;return/* @__PURE__ */ p(`div`,{ref:n,id:e,class:R,role:`dialog`,"aria-labelledby":`${t} ${h}`,tabIndex:-1,children:[/* @__PURE__ */ p(`div`,{class:z,children:[/* @__PURE__ */ p(`p`,{id:t,class:V,children:[/* @__PURE__ */ p(A,{class:H,ink:`#111827`}),O(l.title||g.title,v)]}),/* @__PURE__ */ p(`button`,{type:`button`,class:te,"aria-label":g.closeLabel,onClick:d,children:`×`})]}),/* @__PURE__ */ p(`div`,{class:K,children:[/* @__PURE__ */ p(`div`,{children:[/* @__PURE__ */ p(`p`,{id:h,class:ee,children:v.reward}),y&&/* @__PURE__ */ p(`p`,{class:`RewardReminder_breakdown__1gewp7nl RewardReminder_box__1gewp7n3`,children:y})]}),_!==void 0&&/* @__PURE__ */ p(be,{days:_,copy:g})]}),b&&/* @__PURE__ */ p(`p`,{class:Q(`RewardReminder_deadline__1gewp7ns RewardReminder_box__1gewp7n3`,S&&`RewardReminder_deadlineUrgent__1gewp7nt`),children:b}),/* @__PURE__ */ p(Se,{installUrl:o,isPreview:s,onClaim:f,children:O(l.cta||g.cta,v)}),/* @__PURE__ */ p(`p`,{class:G,children:O(l.description||g.description,v)}),/* @__PURE__ */ p(xe,{copy:g,installUrl:o,onLater:m})]})}function we(){return j.isResolved}function Te(e,t){let{shouldRender:i,isHidden:c,isClientReady:u}=n(),d=f(l,we),p=k(),h=S(),g=u&&i&&d&&!c&&P(),{summary:v}=D(g&&!e),b=m(()=>_(),[]),x=y(v)?v.pending:null,C=e?b:x,w=e||g&&!!C&&!p&&!h,E=m(()=>T(C?.expiresAt??null),[C?.expiresAt]),[O,A]=r(void 0),j=o(!1),N=E?.days,I=(C?.lockedCount??0)>0,L=a(n=>{e||M(window.FrakSetup?.client,n,{surface:`pill`,placement:t,days_left:N,locked:I})},[e,t,N,I]);return s(()=>{w&&!j.current&&(j.current=!0,L(`reward_reminder_impression`))},[w,L]),s(()=>{if(!w||e)return;let t=!1;return F().then(e=>{t||A(e)}).catch(()=>{}),()=>{t=!0}},[w,e]),!w||!C?null:{pending:C,countdown:E,installUrl:O,track:L}}function Ee(e){return e===`left`||e===`right`}function $({placement:n,classname:i=``,position:l,heading:f,description:m,cta:_,preview:y}){let S=!!y,C=t(),T=h()?.rewardReminder,E=Te(S,n),D=E?.track,k=E?.installUrl,[j,M]=r(!1),N=o(null),P=o(null),F=u(),I=u();s(()=>{j&&P.current?.focus()},[j]);let L=a(()=>{M(!1),N.current?.focus()},[]),ee=a(()=>{j?L():(M(!0),D?.(`reward_reminder_opened`))},[j,L,D]),R=a(()=>{D?.(`reward_reminder_dismissed`),S||b()},[D,S]),z=a(e=>{S||(k?(v(),D?.(`reward_reminder_claim_clicked`)):e.preventDefault())},[S,k,D]),te=a(e=>{e.key===`Escape`&&j&&(e.stopPropagation(),L())},[j,L]);if(!E)return null;let{pending:B,countdown:V,installUrl:H}=E,U=c[C].rewardReminder,W=w(B.total,x()),G=V?.days,K=G===void 0?void 0:g(G,C),q=[O(U.pillLabel,{reward:W}),K].filter(Boolean).join(`, `),Y=[l,T?.position,window.FrakSetup?.config?.rewardReminder?.position].find(Ee),X=G!==void 0&&G<=3,Z=[ce,Y===`right`?ue:le,`frak-reward-reminder`,i].filter(Boolean).join(` `);return/* @__PURE__ */ p(e,{children:[/* @__PURE__ */ p(`style`,{children:d(`@keyframes RewardReminder_rise__1gewp7n0 {
2
+ from {
3
+ opacity: 0;
4
+ transform: translateY(8px);
5
+ }
6
+
7
+ to {
8
+ opacity: 1;
9
+ transform: translateY(0);
10
+ }
11
+ }
12
+
13
+ @keyframes RewardReminder_wiggle__1gewp7n1 {
14
+ 0%, 100% {
15
+ transform: rotate(0);
16
+ }
17
+
18
+ 25% {
19
+ transform: rotate(-12deg);
20
+ }
21
+
22
+ 50% {
23
+ transform: rotate(10deg);
24
+ }
25
+
26
+ 75% {
27
+ transform: rotate(-5deg);
28
+ }
29
+ }
30
+
31
+ @keyframes RewardReminder_pop__1gewp7n2 {
32
+ from {
33
+ opacity: 0;
34
+ transform: scale(.6);
35
+ }
36
+
37
+ to {
38
+ opacity: 1;
39
+ transform: scale(1);
40
+ }
41
+ }
42
+
43
+ .RewardReminder_box__1gewp7n3 {
44
+ box-sizing: border-box;
45
+ text-transform: none;
46
+ letter-spacing: normal;
47
+ word-spacing: normal;
48
+ margin: 0;
49
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
50
+ font-style: normal;
51
+ }
52
+
53
+ .RewardReminder_control__1gewp7n4 {
54
+ appearance: none;
55
+ color: inherit;
56
+ cursor: pointer;
57
+ background: none;
58
+ border: 0;
59
+ }
60
+
61
+ .RewardReminder_control__1gewp7n4:focus-visible {
62
+ outline-offset: 2px;
63
+ outline: 2px solid #2563eb;
64
+ }
65
+
66
+ .RewardReminder_root__1gewp7n5 {
67
+ bottom: var(--frak-reminder-bottom, 20px);
68
+ z-index: 2000000;
69
+ flex-direction: column;
70
+ gap: 8px;
71
+ max-width: calc(100vw - 32px);
72
+ display: flex;
73
+ position: fixed;
74
+ }
75
+
76
+ .RewardReminder_sideLeft__1gewp7n6 {
77
+ align-items: flex-start;
78
+ left: 16px;
79
+ }
80
+
81
+ .RewardReminder_sideRight__1gewp7n7 {
82
+ align-items: flex-end;
83
+ right: 16px;
84
+ }
85
+
86
+ .RewardReminder_pillRow__1gewp7n8 {
87
+ color: #fff;
88
+ background-color: #111827;
89
+ border-radius: 999px;
90
+ align-items: center;
91
+ animation: .3s ease-out RewardReminder_rise__1gewp7n0;
92
+ display: flex;
93
+ box-shadow: 0 4px 14px #00000040;
94
+ }
95
+
96
+ .RewardReminder_pillRowUrgent__1gewp7n9 {
97
+ background-color: #b42318;
98
+ }
99
+
100
+ .RewardReminder_pill__1gewp7na {
101
+ text-align: left;
102
+ border-radius: 999px;
103
+ align-items: center;
104
+ gap: 8px;
105
+ padding: 8px 4px 8px 12px;
106
+ font-size: 14px;
107
+ line-height: 18px;
108
+ display: flex;
109
+ }
110
+
111
+ .RewardReminder_icon__1gewp7nb {
112
+ flex-shrink: 0;
113
+ width: 22px;
114
+ height: 22px;
115
+ }
116
+
117
+ .RewardReminder_pillAmount__1gewp7nc {
118
+ white-space: nowrap;
119
+ font-weight: 700;
120
+ }
121
+
122
+ .RewardReminder_pillCountdown__1gewp7nd {
123
+ opacity: .9;
124
+ white-space: nowrap;
125
+ font-size: 12px;
126
+ }
127
+
128
+ .RewardReminder_dismiss__1gewp7ne {
129
+ opacity: .8;
130
+ border-radius: 50%;
131
+ width: 28px;
132
+ height: 28px;
133
+ margin-right: 6px;
134
+ font-size: 18px;
135
+ line-height: 28px;
136
+ }
137
+
138
+ .RewardReminder_dismiss__1gewp7ne:hover {
139
+ opacity: 1;
140
+ }
141
+
142
+ .RewardReminder_card__1gewp7nf {
143
+ color: #111827;
144
+ background-color: #fff;
145
+ border-radius: 16px;
146
+ width: min(360px, 100vw - 32px);
147
+ padding: 16px;
148
+ animation: .2s ease-out RewardReminder_rise__1gewp7n0;
149
+ box-shadow: 0 12px 32px #00000040;
150
+ }
151
+
152
+ .RewardReminder_card__1gewp7nf:focus {
153
+ outline: none;
154
+ }
155
+
156
+ .RewardReminder_cardHeader__1gewp7ng {
157
+ align-items: center;
158
+ gap: 8px;
159
+ display: flex;
160
+ }
161
+
162
+ .RewardReminder_eyebrow__1gewp7nh {
163
+ color: #374151;
164
+ flex: 1;
165
+ align-items: center;
166
+ gap: 8px;
167
+ font-size: 14px;
168
+ font-weight: 600;
169
+ line-height: 18px;
170
+ display: flex;
171
+ }
172
+
173
+ .RewardReminder_eyebrowIcon__1gewp7ni {
174
+ transform-origin: 50% 80%;
175
+ flex-shrink: 0;
176
+ width: 22px;
177
+ height: 22px;
178
+ animation: .7s ease-in-out .22s both RewardReminder_wiggle__1gewp7n1;
179
+ }
180
+
181
+ .RewardReminder_head__1gewp7nj {
182
+ justify-content: space-between;
183
+ align-items: center;
184
+ gap: 12px;
185
+ margin-top: 6px;
186
+ display: flex;
187
+ }
188
+
189
+ .RewardReminder_amount__1gewp7nk {
190
+ letter-spacing: -.02em;
191
+ font-variant-numeric: tabular-nums;
192
+ font-size: 40px;
193
+ font-weight: 800;
194
+ line-height: 44px;
195
+ }
196
+
197
+ .RewardReminder_breakdown__1gewp7nl {
198
+ color: #6b7280;
199
+ margin-top: 4px;
200
+ font-size: 14px;
201
+ line-height: 18px;
202
+ }
203
+
204
+ .RewardReminder_tile__1gewp7nm {
205
+ color: #111827;
206
+ text-align: center;
207
+ background-color: #fff8b8;
208
+ border-radius: 14px;
209
+ flex-direction: column;
210
+ flex-shrink: 0;
211
+ justify-content: center;
212
+ align-items: center;
213
+ min-width: 64px;
214
+ height: 64px;
215
+ padding: 0 8px;
216
+ animation: .42s cubic-bezier(.3, 1.6, .5, 1) .2s both RewardReminder_pop__1gewp7n2;
217
+ display: flex;
218
+ }
219
+
220
+ .RewardReminder_tileUrgent__1gewp7nn {
221
+ color: #b42318;
222
+ background-color: #fce8ea;
223
+ }
224
+
225
+ .RewardReminder_tileNumber__1gewp7no {
226
+ font-variant-numeric: tabular-nums;
227
+ font-size: 26px;
228
+ font-weight: 800;
229
+ line-height: 28px;
230
+ }
231
+
232
+ .RewardReminder_tileWord__1gewp7np {
233
+ font-size: 18px;
234
+ font-weight: 800;
235
+ line-height: 22px;
236
+ }
237
+
238
+ .RewardReminder_tileUnit__1gewp7nq {
239
+ white-space: nowrap;
240
+ margin-top: 2px;
241
+ font-size: 11px;
242
+ font-weight: 600;
243
+ line-height: 13px;
244
+ }
245
+
246
+ .RewardReminder_close__1gewp7nr {
247
+ color: #6b7280;
248
+ border-radius: 50%;
249
+ flex-shrink: 0;
250
+ width: 28px;
251
+ height: 28px;
252
+ font-size: 20px;
253
+ line-height: 28px;
254
+ }
255
+
256
+ .RewardReminder_deadline__1gewp7ns {
257
+ color: #6b7280;
258
+ margin-top: 10px;
259
+ font-size: 13px;
260
+ line-height: 18px;
261
+ }
262
+
263
+ .RewardReminder_deadlineUrgent__1gewp7nt {
264
+ color: #b42318;
265
+ font-weight: 600;
266
+ }
267
+
268
+ .RewardReminder_cta__1gewp7nu {
269
+ color: #fff;
270
+ text-align: center;
271
+ background-color: #111827;
272
+ border-radius: 999px;
273
+ margin-top: 14px;
274
+ padding: 12px 16px;
275
+ font-size: 15px;
276
+ font-weight: 700;
277
+ text-decoration: none;
278
+ display: block;
279
+ }
280
+
281
+ .RewardReminder_free__1gewp7nv {
282
+ color: #6b7280;
283
+ text-align: center;
284
+ margin-top: 8px;
285
+ font-size: 12px;
286
+ line-height: 16px;
287
+ }
288
+
289
+ .RewardReminder_footer__1gewp7nw {
290
+ justify-content: center;
291
+ align-items: center;
292
+ gap: 12px;
293
+ margin-top: 4px;
294
+ display: flex;
295
+ }
296
+
297
+ .RewardReminder_footerQr__1gewp7nx {
298
+ border-top: 1px solid #f0efed;
299
+ justify-content: flex-start;
300
+ margin-top: 12px;
301
+ padding-top: 12px;
302
+ }
303
+
304
+ .RewardReminder_footerQrExpanded__1gewp7ny {
305
+ text-align: center;
306
+ flex-direction: column;
307
+ gap: 6px;
308
+ }
309
+
310
+ .RewardReminder_qrButton__1gewp7nz {
311
+ cursor: zoom-in;
312
+ border-radius: 6px;
313
+ flex-shrink: 0;
314
+ padding: 0;
315
+ line-height: 0;
316
+ }
317
+
318
+ .RewardReminder_qrButtonExpanded__1gewp7n10 {
319
+ cursor: zoom-out;
320
+ }
321
+
322
+ .RewardReminder_qrImage__1gewp7n11 {
323
+ width: 64px;
324
+ height: 64px;
325
+ transition: width .2s ease-out, height .2s ease-out;
326
+ display: block;
327
+ }
328
+
329
+ .RewardReminder_qrImageExpanded__1gewp7n12 {
330
+ width: 200px;
331
+ height: 200px;
332
+ }
333
+
334
+ .RewardReminder_qrPlaceholder__1gewp7n13 {
335
+ background-color: #f3f4f6;
336
+ border-radius: 6px;
337
+ flex-shrink: 0;
338
+ width: 64px;
339
+ height: 64px;
340
+ }
341
+
342
+ .RewardReminder_qrHint__1gewp7n14 {
343
+ color: #4b5563;
344
+ flex: 1;
345
+ font-size: 13px;
346
+ line-height: 17px;
347
+ }
348
+
349
+ .RewardReminder_qrHintExpanded__1gewp7n15 {
350
+ flex: none;
351
+ }
352
+
353
+ .RewardReminder_later__1gewp7n16 {
354
+ color: #6b7280;
355
+ flex-shrink: 0;
356
+ padding: 8px;
357
+ font-size: 14px;
358
+ }
359
+
360
+ @media (prefers-reduced-motion: reduce) {
361
+ .RewardReminder_pillRow__1gewp7n8, .RewardReminder_card__1gewp7nf, .RewardReminder_eyebrowIcon__1gewp7ni, .RewardReminder_tile__1gewp7nm {
362
+ animation: none;
363
+ }
364
+
365
+ .RewardReminder_qrImage__1gewp7n11 {
366
+ transition: none;
367
+ }
368
+ }
369
+ `,T?.css)}),/* @__PURE__ */ p(`div`,{class:Z,part:`root`,onKeyDown:te,children:[j&&/* @__PURE__ */ p(Ce,{id:F,titleId:I,cardRef:P,lang:C,pending:B,countdown:V,installUrl:H,isPreview:S,texts:{title:f||T?.title,description:m||T?.description,cta:_||T?.cta},onClose:L,onClaim:z,onLater:R}),/* @__PURE__ */ p(`div`,{class:X?`${J} ${oe}`:J,children:[/* @__PURE__ */ p(`button`,{ref:N,type:`button`,class:ie,part:`pill`,"aria-expanded":j,"aria-controls":j?F:void 0,"aria-label":q,onClick:ee,children:[/* @__PURE__ */ p(A,{class:re,ink:`#fff`}),/* @__PURE__ */ p(`span`,{class:ae,children:W}),K&&/* @__PURE__ */ p(`span`,{class:`RewardReminder_pillCountdown__1gewp7nd`,children:K})]}),/* @__PURE__ */ p(`button`,{type:`button`,class:ne,"aria-label":U.dismissLabel,onClick:R,children:`×`})]})]})]})}i($,`frak-reward-reminder`,[`placement`,`classname`,`position`,`heading`,`description`,`cta`,`preview`],{shadow:!0});export{$ as RewardReminder};
package/cdn/components.js CHANGED
@@ -1 +1 @@
1
- import(`https://cdn.jsdelivr.net/npm/@frak-labs/components@1.3.3-beta.b5bbb625/cdn/loader.js`);
1
+ import(`https://cdn.jsdelivr.net/npm/@frak-labs/components@1.3.3-beta.c4b15093/cdn/loader.js`);
@@ -0,0 +1 @@
1
+ import{D as e,S as t,T as n,h as r}from"./loader.js";import{a as i,c as a,r as o,s,t as c}from"./rewardSummaryStore.DyjI-vPH.js";import{m as l,s as u}from"./jsxRuntime.module.7FJBZ9bf.js";const d=/* @__PURE__ */ new Set,f=/* @__PURE__ */ new Set;function p(){for(let e of f)e()}function m(){let e=Symbol(`inline-reminder`);return d.add(e),p(),()=>{d.delete(e)&&p()}}function h(){return d.size>0}function g(e){return f.add(e),()=>f.delete(e)}function _(e){l(()=>{if(e)return m()},[e])}function v(){return u(g,h)}function y(){return u(a,s)}function b(e){let t=u(i,c);return l(()=>{e&&t.status===`idle`&&o()},[e,t.status]),t}const x=864e5;function S(e=typeof navigator>`u`?``:navigator.userAgent,t=r){return t?!0:/AppleWebKit/i.test(e)&&!/(Chrome|Chromium|CriOS|Edg|OPR|Android)/i.test(e)}function C(e,t){let n=e=>{let t=new Date(e);return Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())};return Math.max(0,Math.round((n(e)-n(t))/x))}function w(e,{now:t=Date.now(),capped:n=S()}={}){let r=e?Date.parse(e):NaN,i=Number.isFinite(r)?C(r,t):void 0;return n?i!==void 0&&i<=7?{days:i,date:new Date(r)}:{days:7,date:new Date(t+7*x)}:i===void 0?void 0:{days:i,date:new Date(r)}}function T(){return e.getConfig().currency??window.FrakSetup?.config?.metadata?.currency}function E(e,t){switch(n(t)){case`usd`:return e.usdAmount;case`gbp`:return e.gbpAmount;default:return e.eurAmount}}function D(e,n){return t(E(e,n),n)}function O(e,t){return e.toLocaleDateString(t===`fr`?`fr-FR`:`en-GB`,{day:`numeric`,month:`short`})}function k(e,t){return e.replaceAll(`{REWARD}`,()=>t.reward??``).replaceAll(`{DAYS}`,()=>t.days===void 0?``:String(t.days)).replace(/\{DATE\}(\.?)/g,(e,n)=>{let r=t.date??``;return r.endsWith(`.`)?r:r+n}).replaceAll(`{BRAND}`,()=>t.brand??``)}export{T as a,v as c,E as i,_ as l,D as n,w as o,O as r,b as s,k as t,y as u};
@@ -1 +1 @@
1
- import{t as e}from"./jsxRuntime.module.DWH-kRVd.js";function t(t){return/* @__PURE__ */ e(`svg`,{width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M7.33 0C11.38 0 14.67 3.28 14.67 7.33C14.67 11.38 11.38 14.67 7.33 14.67C3.28 14.67 0 11.38 0 7.33C0 3.28 3.28 0 7.33 0ZM10.39 4.28C10.15 4.04 9.76 4.04 9.52 4.28L7.33 6.47L5.14 4.28C4.9 4.04 4.52 4.04 4.28 4.28C4.04 4.52 4.04 4.9 4.28 5.14L6.47 7.33L4.28 9.52C4.04 9.76 4.04 10.15 4.28 10.39C4.52 10.63 4.9 10.63 5.14 10.39L7.33 8.2L9.52 10.39C9.76 10.63 10.15 10.63 10.39 10.39C10.63 10.15 10.63 9.76 10.39 9.52L8.2 7.33L10.39 5.14C10.63 4.9 10.63 4.52 10.39 4.28Z`,fill:`currentColor`})})}function n(t){return/* @__PURE__ */ e(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M5.46 0C5.76 0 6 0.24 6 0.55C6 0.85 5.76 1.09 5.46 1.09H4.36C3.05 1.09 2.28 1.36 1.82 1.82C1.36 2.28 1.09 3.05 1.09 4.36V7.64C1.09 8.95 1.36 9.72 1.82 10.18C2.28 10.64 3.05 10.91 4.36 10.91H7.64C8.95 10.91 9.72 10.64 10.18 10.18C10.64 9.72 10.91 8.95 10.91 7.64V6.55C10.91 6.24 11.15 6 11.46 6C11.76 6 12 6.24 12 6.55V7.64C12 9.05 11.72 10.19 10.95 10.95C10.19 11.72 9.05 12 7.64 12H4.36C2.95 12 1.81 11.72 1.05 10.95C0.28 10.19 6.04e-05 9.05 0 7.64V4.36C0 2.95 0.28 1.81 1.05 1.05C1.81 0.28 2.95 0 4.36 0H5.46ZM11.45 0C11.76 2.2e-05 12 0.24 12 0.55V3.16C12 3.47 11.76 3.71 11.45 3.71C11.15 3.71 10.91 3.46 10.91 3.16V1.86L6.93 5.84C6.72 6.05 6.37 6.05 6.16 5.84C5.95 5.63 5.95 5.28 6.16 5.07L10.14 1.09H8.84C8.54 1.09 8.29 0.85 8.29 0.55C8.29 0.24 8.53 0 8.84 0H11.45Z`,fill:`currentColor`})})}function r(t){return/* @__PURE__ */ e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t.width??`63`,height:t.height??`24`,fill:`none`,viewBox:`0 0 63 24`,...t,children:[/* @__PURE__ */ e(`title`,{children:`Frak`}),/* @__PURE__ */ e(`rect`,{width:`24`,height:`24`,rx:`6`,fill:`#0043EF`}),/* @__PURE__ */ e(`path`,{fill:`white`,d:`M9.77 15.91L5.15 14.35C5.06 14.32 4.97 14.38 4.97 14.47V17.33C4.97 17.39 5.01 17.44 5.06 17.46L9.68 19.02C9.77 19.05 9.86 18.98 9.86 18.89V16.04C9.86 15.98 9.82 15.93 9.77 15.91ZM14.58 10.44L9.95 12C9.9 12.02 9.86 12.07 9.86 12.13V14.98C9.86 15.08 9.95 15.14 10.04 15.11L14.66 13.55C14.72 13.53 14.76 13.48 14.76 13.42V10.57C14.76 10.47 14.66 10.41 14.58 10.44ZM18.92 5.02L11.18 7.51C11.12 7.53 11.08 7.58 11.08 7.64V10.57C11.08 10.62 11.14 10.66 11.2 10.65L18.94 8.15C18.99 8.14 19.03 8.08 19.03 8.02V5.1C19.03 5.04 18.97 5 18.92 5.02Z`}),/* @__PURE__ */ e(`path`,{fill:`currentColor`,d:`M52.72 9.51C52.83 9.51 52.91 9.6 52.91 9.7L52.84 18.21C52.84 18.31 52.76 18.39 52.66 18.39L52.64 18.39H51.3C51.15 18.39 50.78 18.25 50.39 18C49.86 18.25 49.27 18.39 48.64 18.39H48.39C47.24 18.39 46.19 17.91 45.43 17.14C44.67 16.38 44.2 15.32 44.2 14.15C44.2 12.98 44.67 11.92 45.43 11.15C46.16 10.41 47.16 9.94 48.26 9.91C49.17 9.86 49.99 9.99 50.49 10.5V9.7C50.49 9.6 50.57 9.51 50.68 9.51H52.72ZM35.35 5.62H36.96C37.09 5.62 37.19 5.72 37.19 5.85V7.81C37.19 7.94 37.09 8.04 36.96 8.04H34.92C34.32 8.04 33.63 8.64 33.63 9.25V10.61C34.26 9.98 34.93 9.65 35.35 9.63H36.46C36.59 9.63 36.69 9.73 36.69 9.86V11.82C36.69 11.95 36.59 12.05 36.46 12.05H34.92C34.31 12.05 33.63 12.65 33.63 13.27V18.2C33.63 18.3 33.54 18.39 33.44 18.39H31.39C31.29 18.39 31.21 18.3 31.21 18.2V9.94C31.21 9.87 31.2 9.8 31.2 9.73C31.24 8.88 31.15 5.44 35.35 5.62ZM39.93 9.63C40.04 9.63 40.12 9.72 40.12 9.82V10.61C40.76 9.98 41.58 9.63 41.85 9.63H43.46C43.58 9.63 43.68 9.73 43.69 9.86V11.82C43.68 11.95 43.58 12.05 43.46 12.05H41.41C40.81 12.05 40.12 12.65 40.12 13.27V18.2C40.12 18.3 40.04 18.39 39.93 18.39H37.89C37.79 18.39 37.7 18.3 37.7 18.2V9.82C37.7 9.72 37.79 9.63 37.89 9.63H39.93ZM56.2 7.01C56.3 7.01 56.39 7.09 56.39 7.2V13.45L59.83 10.19C59.87 10.16 59.91 10.14 59.96 10.14H62.28C62.45 10.14 62.54 10.34 62.42 10.46L59.3 13.63L62.8 18.07C62.9 18.2 62.81 18.39 62.65 18.39H60.24C60.18 18.39 60.13 18.36 60.09 18.31L57.67 15.32C57.6 15.23 57.47 15.22 57.39 15.3L56.39 16.29V18.19C56.39 18.3 56.3 18.39 56.2 18.39H54.19C54.08 18.39 54 18.3 54 18.19V7.2C54 7.09 54.08 7.01 54.19 7.01H56.2ZM48.37 11.96C47.78 11.96 47.24 12.21 46.85 12.6C46.46 13 46.22 13.54 46.22 14.14C46.22 14.73 46.46 15.28 46.85 15.67C47.24 16.07 47.78 16.31 48.37 16.31H48.66C49.25 16.31 49.79 16.07 50.18 15.67C50.57 15.28 50.81 14.73 50.81 14.14C50.81 13.54 50.57 12.99 50.18 12.6C49.79 12.21 49.25 11.96 48.66 11.96H48.37Z`})]})}function i(t){return/* @__PURE__ */ e(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M8 0C12.42 0 16 3.58 16 8C16 12.42 12.42 16 8 16C3.58 16 0 12.42 0 8C0 3.58 3.58 0 8 0ZM8 1.5C4.41 1.5 1.5 4.41 1.5 8C1.5 11.59 4.41 14.5 8 14.5C11.59 14.5 14.5 11.59 14.5 8C14.5 4.41 11.59 1.5 8 1.5ZM8.1 10.21C8.82 10.21 9.24 10.63 9.24 11.33C9.24 12.03 8.82 12.46 8.1 12.46C7.36 12.46 6.97 12.03 6.97 11.33C6.97 10.63 7.36 10.21 8.1 10.21ZM8.85 3.54C9.01 3.54 9.15 3.68 9.15 3.84V4.75L8.84 8.37C8.83 8.53 8.7 8.65 8.54 8.65H7.63C7.47 8.65 7.34 8.52 7.33 8.37L7.08 4.75V3.84C7.09 3.68 7.22 3.54 7.38 3.54H8.85Z`,fill:`currentColor`})})}function a(t){return/* @__PURE__ */ e(`svg`,{viewBox:`0 0 100 100`,fill:`none`,"aria-hidden":`true`,...t,children:[/* @__PURE__ */ e(`circle`,{cx:`38`,cy:`28`,r:`23`,fill:`#FFF533`}),/* @__PURE__ */ e(`path`,{d:`M50 38C30 10 12 30 50 38Z`,stroke:`#222222`,"stroke-width":`4`,"stroke-linecap":`round`,"stroke-linejoin":`round`}),/* @__PURE__ */ e(`path`,{d:`M50 38C70 10 88 30 50 38Z`,stroke:`#222222`,"stroke-width":`4`,"stroke-linecap":`round`,"stroke-linejoin":`round`}),/* @__PURE__ */ e(`rect`,{x:`10`,y:`38`,width:`80`,height:`16`,rx:`2`,stroke:`#222222`,"stroke-width":`4`}),/* @__PURE__ */ e(`path`,{d:`M15 54V89C15 90.6 16.4 92 18 92H82C83.6 92 85 90.6 85 89V54`,stroke:`#222222`,"stroke-width":`4`,"stroke-linecap":`round`,"stroke-linejoin":`round`}),/* @__PURE__ */ e(`line`,{x1:`50`,y1:`54`,x2:`50`,y2:`92`,stroke:`#222222`,"stroke-width":`4`,"stroke-linecap":`round`})]})}export{t as a,n as i,i as n,r,a as t};
1
+ import{t as e}from"./jsxRuntime.module.7FJBZ9bf.js";function t(t){return/* @__PURE__ */ e(`svg`,{width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M7.33 0C11.38 0 14.67 3.28 14.67 7.33C14.67 11.38 11.38 14.67 7.33 14.67C3.28 14.67 0 11.38 0 7.33C0 3.28 3.28 0 7.33 0ZM10.39 4.28C10.15 4.04 9.76 4.04 9.52 4.28L7.33 6.47L5.14 4.28C4.9 4.04 4.52 4.04 4.28 4.28C4.04 4.52 4.04 4.9 4.28 5.14L6.47 7.33L4.28 9.52C4.04 9.76 4.04 10.15 4.28 10.39C4.52 10.63 4.9 10.63 5.14 10.39L7.33 8.2L9.52 10.39C9.76 10.63 10.15 10.63 10.39 10.39C10.63 10.15 10.63 9.76 10.39 9.52L8.2 7.33L10.39 5.14C10.63 4.9 10.63 4.52 10.39 4.28Z`,fill:`currentColor`})})}function n(t){return/* @__PURE__ */ e(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M5.46 0C5.76 0 6 0.24 6 0.55C6 0.85 5.76 1.09 5.46 1.09H4.36C3.05 1.09 2.28 1.36 1.82 1.82C1.36 2.28 1.09 3.05 1.09 4.36V7.64C1.09 8.95 1.36 9.72 1.82 10.18C2.28 10.64 3.05 10.91 4.36 10.91H7.64C8.95 10.91 9.72 10.64 10.18 10.18C10.64 9.72 10.91 8.95 10.91 7.64V6.55C10.91 6.24 11.15 6 11.46 6C11.76 6 12 6.24 12 6.55V7.64C12 9.05 11.72 10.19 10.95 10.95C10.19 11.72 9.05 12 7.64 12H4.36C2.95 12 1.81 11.72 1.05 10.95C0.28 10.19 6.04e-05 9.05 0 7.64V4.36C0 2.95 0.28 1.81 1.05 1.05C1.81 0.28 2.95 0 4.36 0H5.46ZM11.45 0C11.76 2.2e-05 12 0.24 12 0.55V3.16C12 3.47 11.76 3.71 11.45 3.71C11.15 3.71 10.91 3.46 10.91 3.16V1.86L6.93 5.84C6.72 6.05 6.37 6.05 6.16 5.84C5.95 5.63 5.95 5.28 6.16 5.07L10.14 1.09H8.84C8.54 1.09 8.29 0.85 8.29 0.55C8.29 0.24 8.53 0 8.84 0H11.45Z`,fill:`currentColor`})})}function r(t){return/* @__PURE__ */ e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t.width??`63`,height:t.height??`24`,fill:`none`,viewBox:`0 0 63 24`,...t,children:[/* @__PURE__ */ e(`title`,{children:`Frak`}),/* @__PURE__ */ e(`rect`,{width:`24`,height:`24`,rx:`6`,fill:`#0043EF`}),/* @__PURE__ */ e(`path`,{fill:`white`,d:`M9.77 15.91L5.15 14.35C5.06 14.32 4.97 14.38 4.97 14.47V17.33C4.97 17.39 5.01 17.44 5.06 17.46L9.68 19.02C9.77 19.05 9.86 18.98 9.86 18.89V16.04C9.86 15.98 9.82 15.93 9.77 15.91ZM14.58 10.44L9.95 12C9.9 12.02 9.86 12.07 9.86 12.13V14.98C9.86 15.08 9.95 15.14 10.04 15.11L14.66 13.55C14.72 13.53 14.76 13.48 14.76 13.42V10.57C14.76 10.47 14.66 10.41 14.58 10.44ZM18.92 5.02L11.18 7.51C11.12 7.53 11.08 7.58 11.08 7.64V10.57C11.08 10.62 11.14 10.66 11.2 10.65L18.94 8.15C18.99 8.14 19.03 8.08 19.03 8.02V5.1C19.03 5.04 18.97 5 18.92 5.02Z`}),/* @__PURE__ */ e(`path`,{fill:`currentColor`,d:`M52.72 9.51C52.83 9.51 52.91 9.6 52.91 9.7L52.84 18.21C52.84 18.31 52.76 18.39 52.66 18.39L52.64 18.39H51.3C51.15 18.39 50.78 18.25 50.39 18C49.86 18.25 49.27 18.39 48.64 18.39H48.39C47.24 18.39 46.19 17.91 45.43 17.14C44.67 16.38 44.2 15.32 44.2 14.15C44.2 12.98 44.67 11.92 45.43 11.15C46.16 10.41 47.16 9.94 48.26 9.91C49.17 9.86 49.99 9.99 50.49 10.5V9.7C50.49 9.6 50.57 9.51 50.68 9.51H52.72ZM35.35 5.62H36.96C37.09 5.62 37.19 5.72 37.19 5.85V7.81C37.19 7.94 37.09 8.04 36.96 8.04H34.92C34.32 8.04 33.63 8.64 33.63 9.25V10.61C34.26 9.98 34.93 9.65 35.35 9.63H36.46C36.59 9.63 36.69 9.73 36.69 9.86V11.82C36.69 11.95 36.59 12.05 36.46 12.05H34.92C34.31 12.05 33.63 12.65 33.63 13.27V18.2C33.63 18.3 33.54 18.39 33.44 18.39H31.39C31.29 18.39 31.21 18.3 31.21 18.2V9.94C31.21 9.87 31.2 9.8 31.2 9.73C31.24 8.88 31.15 5.44 35.35 5.62ZM39.93 9.63C40.04 9.63 40.12 9.72 40.12 9.82V10.61C40.76 9.98 41.58 9.63 41.85 9.63H43.46C43.58 9.63 43.68 9.73 43.69 9.86V11.82C43.68 11.95 43.58 12.05 43.46 12.05H41.41C40.81 12.05 40.12 12.65 40.12 13.27V18.2C40.12 18.3 40.04 18.39 39.93 18.39H37.89C37.79 18.39 37.7 18.3 37.7 18.2V9.82C37.7 9.72 37.79 9.63 37.89 9.63H39.93ZM56.2 7.01C56.3 7.01 56.39 7.09 56.39 7.2V13.45L59.83 10.19C59.87 10.16 59.91 10.14 59.96 10.14H62.28C62.45 10.14 62.54 10.34 62.42 10.46L59.3 13.63L62.8 18.07C62.9 18.2 62.81 18.39 62.65 18.39H60.24C60.18 18.39 60.13 18.36 60.09 18.31L57.67 15.32C57.6 15.23 57.47 15.22 57.39 15.3L56.39 16.29V18.19C56.39 18.3 56.3 18.39 56.2 18.39H54.19C54.08 18.39 54 18.3 54 18.19V7.2C54 7.09 54.08 7.01 54.19 7.01H56.2ZM48.37 11.96C47.78 11.96 47.24 12.21 46.85 12.6C46.46 13 46.22 13.54 46.22 14.14C46.22 14.73 46.46 15.28 46.85 15.67C47.24 16.07 47.78 16.31 48.37 16.31H48.66C49.25 16.31 49.79 16.07 50.18 15.67C50.57 15.28 50.81 14.73 50.81 14.14C50.81 13.54 50.57 12.99 50.18 12.6C49.79 12.21 49.25 11.96 48.66 11.96H48.37Z`})]})}function i(t){return/* @__PURE__ */ e(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,...t,children:/* @__PURE__ */ e(`path`,{d:`M8 0C12.42 0 16 3.58 16 8C16 12.42 12.42 16 8 16C3.58 16 0 12.42 0 8C0 3.58 3.58 0 8 0ZM8 1.5C4.41 1.5 1.5 4.41 1.5 8C1.5 11.59 4.41 14.5 8 14.5C11.59 14.5 14.5 11.59 14.5 8C14.5 4.41 11.59 1.5 8 1.5ZM8.1 10.21C8.82 10.21 9.24 10.63 9.24 11.33C9.24 12.03 8.82 12.46 8.1 12.46C7.36 12.46 6.97 12.03 6.97 11.33C6.97 10.63 7.36 10.21 8.1 10.21ZM8.85 3.54C9.01 3.54 9.15 3.68 9.15 3.84V4.75L8.84 8.37C8.83 8.53 8.7 8.65 8.54 8.65H7.63C7.47 8.65 7.34 8.52 7.33 8.37L7.08 4.75V3.84C7.09 3.68 7.22 3.54 7.38 3.54H8.85Z`,fill:`currentColor`})})}export{t as i,r as n,n as r,i as t};
@@ -0,0 +1,58 @@
1
+ import{D as e,M as t,t as n,u as r,v as i}from"./loader.js";var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y={},b=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,S=Array.isArray;function C(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function T(e,t,n){var r,i,o,s={};for(o in t)o==`key`?r=t[o]:o==`ref`?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):n),typeof e==`function`&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return E(e,s,r,i,null)}function E(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++s,__i:-1,__u:0};return i==null&&o.vnode!=null&&o.vnode(a),a}function D(e){return e.children}function O(e,t){this.props=e,this.context=t}function k(e,t){if(t==null)return e.__?k(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?k(e):null}function A(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],i=[],a=C({},t);a.__v=t.__v+1,o.vnode&&o.vnode(a),L(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??k(t),!!(32&t.__u),i),a.__v=t.__v,a.__.__k[a.__i]=a,oe(r,a,i),t.__e=t.__=null,a.__e!=n&&j(a)}}function j(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),j(e)}function M(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!N.__r++||l!=o.debounceRendering)&&((l=o.debounceRendering)||u)(N)}function N(){try{for(var e,t=1;c.length;)c.length>t&&c.sort(d),e=c.shift(),t=c.length,A(e)}finally{c.length=N.__r=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,g,_=r&&r.__k||b,v=t.length;for(c=P(n,t,_,c,v),d=0;d<v;d++)(p=n.__k[d])!=null&&(f=p.__i!=-1&&_[p.__i]||y,p.__i=d,g=L(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&R(f.ref,null,p),u.push(p.ref,p.__c||m,p)),h==null&&m!=null&&(h=m),4&p.__u?(c=te(p,c,e),f.__e&&(f.__e=null)):typeof p.type==`function`&&g!==void 0?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=h,c}function P(e,t,n,r,i){var a,o,s,c,l,u=n.length,d=u,f=0;for(e.__k=Array(i),a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o==`string`||typeof o==`number`||typeof o==`bigint`||o.constructor==String?o=e.__k[a]=E(null,o,null,null,null):S(o)?o=e.__k[a]=E(D,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=E(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,c=a+f,o.__=e,o.__b=e.__b+1,s=null,(l=o.__i=ne(o,n,c,d))!=-1&&(d--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(i>u?f--:i<u&&f++),typeof o.type!=`function`&&(o.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,o.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<u;a++)(s=n[a])!=null&&!(2&s.__u)&&(s.__e==r&&(r=k(s)),le(s,s));return r}function te(e,t,n){var r,i;if(typeof e.type==`function`){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=te(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=k(e)),t=n.insertBefore(e.__e,t||null));do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function F(e,t){return t||=[],e==null||typeof e==`boolean`||(S(e)?e.some(function(e){F(e,t)}):t.push(e)),t}function ne(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&!(2&l.__u);if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function re(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||x.test(t)?n:n+`px`}function I(e,t,n,r,i){var a,o;n:if(t==`style`){if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||re(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||re(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(h,`$1`)),o=t.toLowerCase(),t=o in e||t==`onFocusOut`||t==`onFocusIn`?o.slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n[m]=r[m]:(n[m]=g,e.addEventListener(t,a?v:_,a)):e.removeEventListener(t,a?v:_,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function ie(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[p]==null)t[p]=g++;else if(t[p]<n[m])return;return n(o.event?o.event(t):t)}}}function L(e,t,n,r,i,a,s,c,l,u){var d,f,p,m,h,g,_,v,y,x,T,E,A,j,M,N,P=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),a=[c=t.__e=n.__e]),(d=o.__b)&&d(t);n:if(typeof P==`function`){f=s.length;try{if(y=t.props,x=P.prototype&&P.prototype.render,T=(d=P.contextType)&&r[d.__c],E=d?T?T.props.value:d.__:r,n.__c?v=(p=t.__c=n.__c).__=p.__E:(x?t.__c=p=new P(y,E):(t.__c=p=new O(y,E),p.constructor=P,p.render=ue),T&&T.sub(p),p.state||(p.state={}),p.__n=r,m=p.__d=!0,p.__h=[],p._sb=[]),x&&p.__s==null&&(p.__s=p.state),x&&P.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=C({},p.__s)),C(p.__s,P.getDerivedStateFromProps(y,p.__s))),h=p.props,g=p.state,p.__v=t,m)x&&P.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),x&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(x&&P.getDerivedStateFromProps==null&&y!==h&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(y,E),t.__v==n.__v||!p.__e&&p.shouldComponentUpdate!=null&&!1===p.shouldComponentUpdate(y,p.__s,E)){t.__v!=n.__v&&(p.props=y,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),b.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&s.push(p),c=k(n);break n}p.componentWillUpdate!=null&&p.componentWillUpdate(y,p.__s,E),x&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(h,g,_)})}if(p.context=E,p.props=y,p.__P=e,p.__e=!1,A=o.__r,j=0,x)p.state=p.__s,p.__d=!1,A&&A(t),d=p.render(p.props,p.state,p.context),b.push.apply(p.__h,p._sb),p._sb=[];else do p.__d=!1,A&&A(t),d=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++j<25);p.state=p.__s,p.getChildContext!=null&&(r=C(C({},r),p.getChildContext())),x&&!m&&p.getSnapshotBeforeUpdate!=null&&(_=p.getSnapshotBeforeUpdate(h,g)),M=d!=null&&d.type===D&&d.key==null?se(d.props.children):d,c=ee(e,S(M)?M:[M],t,n,r,i,a,s,c,l,u),p.base=t.__e,t.__u&=-161,p.__h.length&&s.push(p),v&&(p.__E=p.__=null)}catch(e){if(s.length=f,t.__v=null,l||a!=null){if(e.then){for(t.__u|=l?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;a!=null&&(a[a.indexOf(c)]=null),t.__e=c}else if(a!=null)for(N=a.length;N--;)w(a[N])}else t.__e=n.__e;t.__k??=n.__k||[],e.then||ae(t),o.__e(e,t,n)}}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=ce(n.__e,t,n,r,i,a,s,l,u);return(d=o.diffed)&&d(t),128&t.__u?void 0:c}function ae(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(ae))}function oe(e,t,n){for(var r=0;r<n.length;r++)R(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function se(e){return typeof e!=`object`||!e||e.__b>0?e:S(e)?e.map(se):e.constructor===void 0?C({},e):null}function ce(e,t,n,r,i,s,c,l,u){var d,f,p,m,h,g,_,v=n.props||y,b=t.props,x=t.type;if(x==`svg`?i=`http://www.w3.org/2000/svg`:x==`math`?i=`http://www.w3.org/1998/Math/MathML`:i||=`http://www.w3.org/1999/xhtml`,s!=null){for(d=0;d<s.length;d++)if((h=s[d])&&`setAttribute`in h==!!x&&(x?h.localName==x:h.nodeType==3)){e=h,s[d]=null;break}}if(e==null){if(x==null)return document.createTextNode(b);e=document.createElementNS(i,x,b.is&&b),l&&=(o.__m&&o.__m(t,s),!1),s=null}if(x==null)v===b||l&&e.data==b||(e.data=b);else{if(s=x==`textarea`&&b.defaultValue!=null?null:s&&a.call(e.childNodes),!l&&s!=null)for(v={},d=0;d<e.attributes.length;d++)v[(h=e.attributes[d]).name]=h.value;for(d in v)h=v[d],d==`dangerouslySetInnerHTML`?p=h:d==`children`||d in b||d==`value`&&`defaultValue`in b||d==`checked`&&`defaultChecked`in b||I(e,d,null,h,i);for(d in b)h=b[d],d==`children`?m=h:d==`dangerouslySetInnerHTML`?f=h:d==`value`?g=h:d==`checked`?_=h:l&&typeof h!=`function`||v[d]===h||I(e,d,h,v[d],i);if(f)l||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=``),ee(t.type==`template`?e.content:e,S(m)?m:[m],t,n,r,x==`foreignObject`?`http://www.w3.org/1999/xhtml`:i,s,c,s?s[0]:n.__k&&k(n,0),l,u),s!=null)for(d=s.length;d--;)w(s[d]);l&&x!=`textarea`||(d=`value`,x==`progress`&&g==null?e.removeAttribute(`value`):g!=null&&(g!==e[d]||x==`progress`&&!g||x==`option`&&g!=v[d])&&I(e,d,g,v[d],i),d=`checked`,_!=null&&_!=e[d]&&I(e,d,_,v[d],i))}return e}function R(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){o.__e(e,n)}}function le(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||R(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=r.__n=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&le(r[i],t,n||typeof e.type!=`function`);n||w(e.__e),e.__c=e.__=e.__e=void 0}function ue(e,t,n){return this.constructor(e,n)}function z(e,t,n){var r,i,s,c;t==document&&(t=document.documentElement),o.__&&o.__(e,t),i=(r=typeof n==`function`)?null:n&&n.__k||t.__k,s=[],c=[],L(t,e=(!r&&n||t).__k=T(D,null,[e]),i||y,y,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?a.call(t.childNodes):null,s,!r&&n?n:i?i.__e:t.firstChild,r,c),oe(s,e,c),e.props.children=null}function de(e,t){z(e,t,de)}function fe(e,t,n){var r,i,o,s,c=C({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o==`key`?r=t[o]:o==`ref`?i=t[o]:c[o]=t[o]===void 0&&s!=null?s[o]:t[o];return arguments.length>2&&(c.children=arguments.length>3?a.call(arguments,2):n),E(e.type,c,r||e.key,i||e.ref,null)}a=b.slice,o={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},s=0,O.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=C({},this.state);typeof e==`function`&&(e=e(C({},n),this.props)),e&&C(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),M(this))},O.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),M(this))},O.prototype.render=D,c=[],u=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,d=function(e,t){return e.__v.__b-t.__v.__b},N.__r=0,f=Math.random().toString(8),p=`__d`+f,m=`__a`+f,h=/(PointerCapture)$|Capture$/i,g=0,_=ie(!1),v=ie(!0);function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}function pe(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}var me=[`context`,`children`],he=[`useFragment`];function ge(e,t,n,r){function i(){var t,n=Reflect.construct(HTMLElement,[],i);return n._vdomComponent=e,r&&r.shadow?(n._root=n.attachShadow({mode:r.mode||`open`,serializable:(t=r.serializable)!=null&&t}),r.adoptedStyleSheets&&(n._root.adoptedStyleSheets=r.adoptedStyleSheets)):n._root=n,n}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=function(){ve.call(this,r)},i.prototype.attributeChangedCallback=be,i.prototype.disconnectedCallback=xe,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,e.formAssociated&&(i.formAssociated=!0),n.forEach(function(e){Object.defineProperty(i.prototype,e,{get:function(){return this._vdom?this._vdom.props[e]:this._props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||={},this._props[e]=t);var n=typeof t;t!=null&&n!==`string`&&n!==`boolean`&&n!==`number`||this.setAttribute(e,t)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i),i}function _e(e){this.getChildContext=function(){return e.context};var t=e.children;return fe(t,pe(e,me))}function ve(e){var t=new CustomEvent(`_preact`,{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=T(_e,B({},this._props,{context:t.detail.context}),Ce(this,this._vdomComponent,e)),(this.hasAttribute(`hydrate`)?de:z)(this._vdom,this._root)}function ye(e){return e.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():``})}function be(e,t,n){if(this._vdom){var r={};r[e]=n??=void 0,r[ye(e)]=n,this._vdom=fe(this._vdom,r),z(this._vdom,this._root)}}function xe(){z(this._vdom=null,this._root)}function Se(e,t){var n=this,r=e.useFragment,i=pe(e,he);return T(r?D:`slot`,B({},i,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener(`_preact`,n._listener))):n.ref.removeEventListener(`_preact`,n._listener)}}))}function Ce(e,t,n){if(e.nodeType===3)return e.data;if(e.nodeType!==1)return null;var r=[],i={},a=0,o=e.attributes,s=e.childNodes;for(a=o.length;a--;)o[a].name!==`slot`&&(i[o[a].name]=o[a].value,i[ye(o[a].name)]=o[a].value);for(a=s.length;a--;){var c=Ce(s[a],null,n),l=s[a].slot;l?i[l]=T(Se,{name:l},c):r[a]=c}var u=!(!n||!n.shadow),d=t?T(Se,{useFragment:!u},r):r;return!u&&t&&(e.innerHTML=``),T(t||e.nodeName.toLowerCase(),i,d)}function we(e,r,i=[],a={shadow:!0}){if(typeof window<`u`&&(t(n),!customElements.get(r))){let t=i.map(String),n=t.map(e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)).filter(e=>!t.includes(e));ge(e,r,[...t,...n],a)}}var V,H,U,Te,W=0,Ee=[],G=o,De=G.__b,Oe=G.__r,ke=G.diffed,Ae=G.__c,je=G.unmount,Me=G.__;function K(e,t){G.__h&&G.__h(H,e,W||t),W=0;var n=H.__H||(H.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function q(e){return W=1,Ne(Ve,e)}function Ne(e,t,n){var r=K(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ve(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=H,!H.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=!1,o=r.__c.props!==e;if(r.__c.__H.__.some(function(e){if(e.__N){i=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a){var s=a.call(this,e,t,n);return i?s||o:s}return!i||o};H.__f=!0;var a=H.shouldComponentUpdate,o=H.componentWillUpdate;H.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},H.shouldComponentUpdate=i}return r.__N||r.__}function J(e,t){var n=K(V++,3);!G.__s&&Q(n.__H,t)&&(n.__=e,n.u=t,H.__H.__h.push(n))}function Pe(e,t){var n=K(V++,4);!G.__s&&Q(n.__H,t)&&(n.__=e,n.u=t,H.__h.push(n))}function Fe(e){return W=5,Y(function(){return{current:e}},[])}function Y(e,t){var n=K(V++,7);return Q(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ie(e,t){return W=8,Y(function(){return e},t)}function Le(){var e=K(V++,11);if(!e.__){for(var t=H.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__=`P`+n[0]+`-`+n[1]++}return e.__}function Re(){for(var e;e=Ee.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(X),t.__h.some(Z),t.__h=[]}catch(n){t.__h=[],G.__e(n,e.__v)}}}G.__b=function(e){H=null,De&&De(e)},G.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Me&&Me(e,t)},G.__r=function(e){Oe&&Oe(e),V=0;var t=(H=e.__c).__H;t&&(U===H?(t.__h=[],H.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(X),t.__h.some(Z),t.__h=[],V=0)),U=H},G.diffed=function(e){ke&&ke(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ee.push(t)!==1&&Te===G.requestAnimationFrame||((Te=G.requestAnimationFrame)||Be)(Re)),t.__H.__.some(function(e){e.u&&=(e.__H=e.u,void 0)})),U=H=null},G.__c=function(e,t){t.some(function(e){try{e.__h.some(X),e.__h=e.__h.filter(function(e){return!e.__||Z(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],G.__e(n,e.__v)}}),Ae&&Ae(e,t)},G.unmount=function(e){je&&je(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{X(e)}catch(e){t=e}}),n.__H=void 0,t&&G.__e(t,n.__v))};var ze=typeof requestAnimationFrame==`function`;function Be(e){var t,n=function(){clearTimeout(r),ze&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);ze&&(t=requestAnimationFrame(n))}function X(e){var t=H,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),H=t}function Z(e){var t=H;e.__c=e.__(),H=t}function Q(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Ve(e,t){return typeof t==`function`?t(e):t}function He(){let[t,n]=q(()=>window.FrakSetup?.config?.waitForBackendConfig===!1||e.isResolved),[i,a]=q(()=>e.getConfig().hidden??!1),[o,s]=q(()=>!!window.FrakSetup?.client);return J(()=>{let t=e.getConfig();t.isResolved&&(n(!0),a(t.hidden??!1)),window.FrakSetup?.client&&s(!0);let i=e=>{let t=e.detail;t.isResolved&&n(!0),a(t.hidden??!1)};window.addEventListener(`frak:config`,i);let o=()=>s(!0);return r(`add`,o),()=>{window.removeEventListener(`frak:config`,i),r(`remove`,o)}},[]),{shouldRender:t,isHidden:i,isClientReady:o}}function Ue(e,t){for(var n in t)e[n]=t[n];return e}function We(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function Ge(e,t){var n=t(),r=q({t:{__:n,u:t}}),i=r[0].t,a=r[1];return Pe(function(){i.__=n,i.u=t,Ke(i)&&a({t:i})},[e,n,t]),J(function(){return Ke(i)&&a({t:i}),e(function(){Ke(i)&&a({t:i})})},[e]),n}function Ke(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function qe(e,t){this.props=e,this.context=t}(qe.prototype=new O).isPureReactComponent=!0,qe.prototype.shouldComponentUpdate=function(e,t){return We(this.props,e)||We(this.state,t)};var Je=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Je&&Je(e)},typeof Symbol<`u`&&Symbol.for;var Ye=o.__e;o.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k||[]),i.__c(e,t)}Ye(e,t,n,r)};var Xe=o.unmount;function Ze(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=Ue({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Ze(e,t,n)})),e}function Qe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Qe(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function $e(){this.__u=0,this.o=null,this.__b=null}function et(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function $(){this.i=null,this.l=null}o.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Xe&&Xe(e)},($e.prototype=new O).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=et(r.__v),a=!1,o=function(){a||r.__z||(a=!0,n.__R=null,i?i(c):c())};n.__R=o;var s=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Qe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=s,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},$e.prototype.componentWillUnmount=function(){this.o=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=Ze(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&T(D,null,e.fallback);return i&&(i.__u&=-33),[T(D,null,t.__a?null:e.children),i]};var tt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!==`t`||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};($.prototype=new O).__a=function(e){var t=this,n=et(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),tt(t,e,r)):i()};n?n(a):a()}},$.prototype.render=function(e){this.i=null,this.l=/* @__PURE__ */ new Map;var t=F(e.children);e.revealOrder&&e.revealOrder[0]===`b`&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},$.prototype.componentDidUpdate=$.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){tt(e,n,t)})};var nt=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.element`)||60103,rt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,it=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,at=/[A-Z0-9]/g,ot=typeof document<`u`,st=function(e){return(typeof Symbol<`u`&&typeof Symbol()==`symbol`?/fil|che|rad/:/fil|che|ra/).test(e)};O.prototype.isReactComponent=!0,[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(O.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ct=o.event;o.event=function(e){return ct&&(e=ct(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var lt={configurable:!0,get:function(){return this.class}},ut=o.vnode;o.vnode=function(e){typeof e.type==`string`&&function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)==-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||ot&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){var s=a.toLowerCase();a===`defaultValue`&&`value`in t&&t.value==null?a=`value`:a===`download`&&!0===o?o=``:s===`translate`&&o===`no`?o=!1:s[0]===`o`&&s[1]===`n`?s===`ondoubleclick`?a=`ondblclick`:s!==`onchange`||n!==`input`&&n!==`textarea`||st(t.type)?s===`onfocus`?a=`onfocusin`:s===`onblur`?a=`onfocusout`:it.test(a)&&(a=s):s=a=`oninput`:i&&rt.test(a)?a=a.replace(at,`-$&`).toLowerCase():o===null&&(o=void 0),s===`oninput`&&r[a=s]&&(a=`oninputCapture`),r[a]=o}}n==`select`&&(r.multiple&&Array.isArray(r.value)&&(r.value=F(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),r.defaultValue!=null&&(r.value=F(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",lt)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=nt,ut&&ut(e)};var dt=o.__r;o.__r=function(e){dt&&dt(e),e.__c};var ft=o.diffed;o.diffed=function(e){ft&&ft(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value)};function pt(e){return typeof window>`u`?()=>{}:(window.addEventListener(`frak:config`,e),()=>window.removeEventListener(`frak:config`,e))}function mt(){return Ge(pt,()=>e.getConfig().lang??i()??`en`)}const ht=`
2
+ :host {
3
+ display: contents;
4
+ }
5
+
6
+ :host([hidden]) {
7
+ display: none;
8
+ }
9
+
10
+ .button:disabled {
11
+ opacity: 0.7;
12
+ cursor: default;
13
+ }
14
+
15
+ .button__fadeIn {
16
+ animation: frak-fadeIn 300ms ease-in;
17
+ }
18
+
19
+ @keyframes frak-fadeIn {
20
+ from {
21
+ opacity: 0;
22
+ }
23
+
24
+ to {
25
+ opacity: 1;
26
+ }
27
+ }
28
+ `;function gt(e,t){return t?`${ht}\n${e}\n${t}`:`${ht}\n${e}`}const _t=`
29
+ :where(frak-button-share, frak-open-in-app) {
30
+ display: contents;
31
+ }
32
+
33
+ :where(frak-button-share .button, frak-open-in-app .button) {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ gap: 10px;
38
+ }
39
+
40
+ :where(frak-button-share .button:disabled, frak-open-in-app .button:disabled) {
41
+ opacity: 0.7;
42
+ cursor: default;
43
+ }
44
+
45
+ :where(frak-button-share .button__fadeIn, frak-open-in-app .button__fadeIn) {
46
+ animation: frak-fadeIn 300ms ease-in;
47
+ }
48
+
49
+ @keyframes frak-fadeIn {
50
+ from {
51
+ opacity: 0;
52
+ }
53
+
54
+ to {
55
+ opacity: 1;
56
+ }
57
+ }
58
+ `,vt={en:{buttonShare:{text:`Share & earn {REWARD}!`},postPurchase:{refereeText:`You just earned {REWARD}! Share with friends to earn even more.`,refereeNoRewardText:`You just earned a reward! Share with friends to earn even more.`,referrerText:`Earn {REWARD} by sharing this with your friends!`,referrerNoRewardText:`Share this with your friends and earn rewards!`,ctaText:`Share & earn {REWARD}`,ctaNoRewardText:`Share & earn`,claimCtaText:`Claim my {REWARD}`,claimCtaNoRewardText:`Claim my cashback`},openInApp:{text:`Open in App`,ariaLabel:`Open in Frak Wallet app`},buttonWallet:{ariaLabel:`Share and earn rewards`},banner:{referralTitleReward:`Earn {REWARD} on purchases`,referralTitle:`You've been referred!`,referralDescription:`Earn rewards after your purchase via the Frak partner app.`,referralCta:`Got it`,inappTitle:`Open in your browser`,inappDescription:`For a better experience and to earn your rewards, open this page in your default browser.`,inappCta:`Open browser`,dismissLabel:`Dismiss`,pendingTitle:`You have {REWARD} waiting`,pendingDescription:`Create your free Frak wallet to receive it.`,pendingDescriptionLocked:`Create your free Frak wallet to receive it. It unlocks on {DATE}.`,pendingCta:`Claim my {REWARD}`},rewardReminder:{title:`Waiting for you at {BRAND}`,description:`Free with the Frak app, no bank details needed`,cta:`Claim my {REWARD}`,later:`Later`,closeLabel:`Close`,dismissLabel:`Dismiss reminder`,pillLabel:`{REWARD} to claim, show details`,countdownToday:`Expires today`,countdownOneDay:`1 day left`,countdownDays:`{DAYS} days left`,deadlineToday:`Lost if not claimed today.`,deadlineOneDay:`Lost if not claimed by {DATE}.`,deadlineDays:`Lost if not claimed by {DATE}.`,tileDays:`days left`,tileOneDay:`day left`,tileLastDay:`Last`,tileLastDayUnit:`day`,unlockNote:`Part of it unlocks on {DATE}.`,unlockNoteAll:`Unlocks on {DATE}.`,breakdownCashback:`{REWARD} cashback`,breakdownFromFriends:`{REWARD} from friends`,qrLabel:`QR code to claim your reward in the Frak wallet`,qrHint:`On a computer? Click to enlarge, then scan with your phone.`,qrCaption:`Scan with your phone to claim`},ambassador:{heroEyebrow:`Ambassador program`,heroHeadline:`Become an ambassador for {BRAND}`,heroLede:`Love our products? Tell the people around you! Earn a reward as soon as someone buys thanks to you.`,heroLedeReward:`Love our products? Tell the people around you! Earn {REWARD} as soon as someone buys thanks to you.`,heroCtaLabel:`Become an ambassador`,heroFacesCaption:`No form, no waiting: anyone can become an ambassador right away.`,heroImageAlt:`{BRAND} ambassadors`,heroRewardCaption:`for you, on every sale`,heroRewardRefereePill:`+ {REWARD} for your friend`,heroRewardRefereePillNoReward:`+ a perk for your friend`,rewardEyebrow:`Referral program`,rewardHeadingReward:`{REWARD} for you on every sale`,rewardHeadingNoReward:`A reward for you on every sale`,rewardEstimateCaption:`Estimate: the amount depends on the campaign and your friend's order.`,rewardLede:`No cap: the more you share, the more sales your link brings in, and the more you earn!`,rewardCtaLabel:`Get my link`,rewardFooterCaption:`Free · no commitment · paid to your bank account`,rewardNoBankDetails:`no bank details needed to start`,rewardFallbackLabel:`A reward`,explainerTitle:`How it works`,explainerLede:`Three steps, nothing more.`,explainerStep1Title:`I share with the people close to me`,explainerStep1Description:`On WhatsApp, in an Instagram story, on TikTok… my unique link, generated automatically.`,explainerStep2Title:`I get paid`,explainerStep2Description:`Credited automatically to my wallet for every sale made through my referral link.`,explainerStep3Title:`I collect my money`,explainerStep3Description:`With the Frak app, I transfer my earnings to my bank account.`,winWinHeading:`Your friends win too`,winWinLede:`Recommend {BRAND} to the people close to you: they discover great products, and thanks to your link they get cashback on their first order. They can thank you for it!`,winWinCard1Title:`You`,winWinCard1Description:`to your secure wallet, on every sale`,winWinCard2Title:`Your friend`,winWinCard2Description:`in cashback to their secure wallet, on their first order`,referralHeading:`Your ambassador link`,referralLede:`Finally, a referral program that really pays!`,referralCtaLabel:`Share my link`,storeHeading:`Track your earnings in real time`,storeLede:`The Frak app notifies you as soon as a friend orders, and centralizes your earnings across every partner brand.`,storeAppBadgeAriaLabel:`Download on the App Store`,storePlayBadgeAriaLabel:`Get it on Google Play`,storeQrLabel:`QR code to install the Frak app`,storeQrCaption:`Scan to install`,faqHeading:`Frequently asked questions`,faq1Question:`Is it really free?`,faq1Answer:`Yes, completely free. No subscription, no hidden fees. Your earnings land in your Frak wallet: real money, transferable to a bank account, with no fees.`,faq2Question:`When do I get my money?`,faq2Answer:`For every order generated by your link, your earnings are credited automatically to your Frak wallet. They become transferable once the brand confirms the purchase, with no minimum amount.`,faq3Question:`Do my friends pay more with my link?`,faq3Answer:`No, quite the opposite: you win and so do your friends. By ordering through your link, they also get cashback on their purchase.`,faq3AnswerNoReward:`No. Your link doesn't change the price: your friends pay exactly what everyone else pays.`,faq4Question:`Do I need to be an influencer?`,faq4Answer:`No, not at all. No application, no minimum follower count: the program is open to all our customers, whatever the size of your network.`,faq5Question:`What is Frak?`,faq5AnswerBeforeLink:`The partner that handles referral tracking and payouts for {BRAND}. `,faq5AnswerLinkText:`Frak`,faq5AnswerAfterLink:` never sells any data to third parties.`,attributionBeforeLink:`Program powered by `,attributionLinkText:`Frak`,myRewardsEyebrow:`Your rewards`,myRewardsCashbackLabel:`Cashback on your orders`,myRewardsFriendsLabel:`From your friends' purchases`,myRewardsCountdown:`{DAYS} days left to claim it, until {DATE}`,myRewardsCountdownOneDay:`1 day left to claim it, until {DATE}`,myRewardsCountdownToday:`Expires today, claim it now`,myRewardsUnlockNote:`Part of it unlocks on {DATE}`,myRewardsUnlockNoteAll:`Unlocks on {DATE}`,myRewardsClaimCta:`Claim my {REWARD}`,myRewardsShareCta:`Share to earn more`,myRewardsLinkedHeading:`Your rewards at {BRAND}`,myRewardsReceived:`{REWARD} received`,myRewardsOnItsWay:`{REWARD} on its way`,myRewardsOnItsWayUnlock:`{REWARD} on its way, unlocking on {DATE}`,myRewardsWalletCta:`Open my Frak wallet`,myRewardsShareAgainCta:`Share again`,myRewardsQrHeading:`On your computer?`,myRewardsQrCaption:`Scan with your phone to claim it in the Frak app.`,storeHeadingClaim:`Claim your {REWARD} in the app`}},fr:{buttonShare:{text:`Partagez et gagnez {REWARD} !`},postPurchase:{refereeText:`Vous venez de gagner {REWARD} ! Partagez avec vos amis pour gagner encore plus.`,refereeNoRewardText:`Vous venez de gagner une récompense ! Partagez avec vos amis pour gagner encore plus.`,referrerText:`Gagnez {REWARD} en partageant avec vos amis !`,referrerNoRewardText:`Partagez avec vos amis et gagnez des récompenses !`,ctaText:`Partagez et gagnez {REWARD}`,ctaNoRewardText:`Partagez et gagnez`,claimCtaText:`Récupérer mes {REWARD}`,claimCtaNoRewardText:`Récupérer mon cashback`},openInApp:{text:`Ouvrir dans l'app`,ariaLabel:`Ouvrir dans l'app Frak Wallet`},buttonWallet:{ariaLabel:`Partagez et gagnez des récompenses`},banner:{referralTitleReward:`Gagnez {REWARD} sur vos achats`,referralTitle:`Vous avez été parrainé !`,referralDescription:`Gagnez des récompenses après votre achat via l'application partenaire Frak.`,referralCta:`J'ai compris`,inappTitle:`Ouvrez dans votre navigateur`,inappDescription:`Pour une meilleure expérience et pour gagner vos récompenses, ouvrez cette page dans votre navigateur par défaut.`,inappCta:`Ouvrir le navigateur`,dismissLabel:`Fermer`,pendingTitle:`Votre récompense de {REWARD} vous attend`,pendingDescription:`Créez votre wallet Frak gratuit pour la recevoir.`,pendingDescriptionLocked:`Créez votre wallet Frak gratuit pour la recevoir. Déblocage le {DATE}.`,pendingCta:`Récupérer mes {REWARD}`},rewardReminder:{title:`Votre récompense chez {BRAND}`,description:`Gratuit avec l’app Frak, sans coordonnées bancaires`,cta:`Récupérer mes {REWARD}`,later:`Plus tard`,closeLabel:`Fermer`,dismissLabel:`Masquer le rappel`,pillLabel:`{REWARD} à récupérer, afficher le détail`,countdownToday:`Expire aujourd’hui`,countdownOneDay:`1 jour restant`,countdownDays:`{DAYS} jours restants`,deadlineToday:`Perdue si elle n’est pas récupérée aujourd’hui.`,deadlineOneDay:`Perdue si elle n’est pas récupérée d’ici le {DATE}.`,deadlineDays:`Perdue si elle n’est pas récupérée d’ici le {DATE}.`,tileDays:`jours restants`,tileOneDay:`jour restant`,tileLastDay:`Dernier`,tileLastDayUnit:`jour`,unlockNote:`Une partie se débloque le {DATE}.`,unlockNoteAll:`Se débloque le {DATE}.`,breakdownCashback:`{REWARD} de cashback`,breakdownFromFriends:`{REWARD} grâce à vos amis`,qrLabel:`QR code pour récupérer votre récompense dans le wallet Frak`,qrHint:`Sur ordinateur ? Agrandissez, puis scannez avec votre téléphone.`,qrCaption:`Scannez avec votre téléphone pour la récupérer`},ambassador:{heroEyebrow:`Programme ambassadeur`,heroHeadline:`Devenez ambassadeur {BRAND}`,heroLede:`Vous aimez nos produits\xA0? Parlez-en autour de vous\xA0! Gagnez une récompense dès qu’un achat est réalisé grâce à vous.`,heroLedeReward:`Vous aimez nos produits\xA0? Parlez-en autour de vous\xA0! Gagnez {REWARD} dès qu’un achat est réalisé grâce à vous.`,heroCtaLabel:`Devenir ambassadeur`,heroFacesCaption:`Pas de formulaire, pas d’attente\xA0: tout le monde peut devenir ambassadeur immédiatement.`,heroImageAlt:`Ambassadrices et ambassadeurs {BRAND}`,heroRewardCaption:`pour vous, à chaque vente`,heroRewardRefereePill:`+ {REWARD} offerts à votre filleul`,heroRewardRefereePillNoReward:`+ un avantage pour votre filleul`,rewardEyebrow:`Programme de parrainage`,rewardHeadingReward:`{REWARD} pour vous à chaque vente`,rewardHeadingNoReward:`Une récompense pour vous à chaque vente`,rewardEstimateCaption:`Estimation\xA0: le montant dépend de la campagne et du panier de votre proche.`,rewardLede:`Pas de plafond\xA0: plus vous partagez, plus de ventes sont générées grâce à votre lien, plus vous gagnez\xA0!`,rewardCtaLabel:`Obtenir mon lien`,rewardFooterCaption:`Gratuit · sans engagement · versé sur votre compte bancaire`,rewardNoBankDetails:`sans donnée bancaire pour commencer`,rewardFallbackLabel:`Une récompense`,explainerTitle:`Comment ça marche`,explainerLede:`Trois gestes, rien de plus.`,explainerStep1Title:`Je partage à mes proches`,explainerStep1Description:`Via WhatsApp, en story Instagram, sur TikTok… mon lien unique, généré automatiquement.`,explainerStep2Title:`Je reçois de l’argent`,explainerStep2Description:`Crédité automatiquement dans mon porte-monnaie à chaque vente générée grâce à mon lien de recommandation.`,explainerStep3Title:`Je récupère mon argent`,explainerStep3Description:`En téléchargeant l’app Frak, je transfère mes gains sur mon compte bancaire.`,winWinHeading:`Vos proches y gagnent aussi`,winWinLede:`En conseillant {BRAND} à vos proches, non seulement vous leur faites découvrir de super produits, mais en plus, grâce à votre lien, ils bénéficient d’un cashback sur leur première commande\xA0: ils peuvent vous dire merci\xA0!`,winWinCard1Title:`Vous`,winWinCard1Description:`sur votre porte-monnaie sécurisé, à chaque vente`,winWinCard2Title:`Votre filleul`,winWinCard2Description:`en cashback sur son porte-monnaie sécurisé, à sa première commande`,referralHeading:`Votre lien d’ambassadeur`,referralLede:`Enfin un vrai programme de parrainage rémunérateur\xA0!`,referralCtaLabel:`Partager mon lien`,storeHeading:`Suivez vos gains en temps réel`,storeLede:`L’app Frak vous prévient dès qu’un ami commande, et centralise vos gains sur toutes les marques partenaires.`,storeAppBadgeAriaLabel:`Télécharger dans l’App Store`,storePlayBadgeAriaLabel:`Disponible sur Google Play`,storeQrLabel:`QR code pour installer l’app Frak`,storeQrCaption:`Scannez pour installer`,faqHeading:`Questions fréquentes`,faq1Question:`C’est vraiment gratuit\xA0?`,faq1Answer:`Oui, totalement gratuit. Pas d’abonnement, pas de frais cachés. Vos gains arrivent dans votre porte-monnaie Frak\xA0: de l’argent réel, transférable vers un compte bancaire, sans commission.`,faq2Question:`Quand est-ce que je reçois mon argent\xA0?`,faq2Answer:`À chaque commande générée par votre lien, vos gains sont crédités automatiquement dans votre porte-monnaie Frak. Ils deviennent transférables une fois l’achat confirmé par la marque, sans montant minimum.`,faq3Question:`Mes amis paient-ils plus cher avec mon lien\xA0?`,faq3Answer:`Non, au contraire\xA0: vous êtes gagnant et vos proches aussi. En commandant via votre lien, ils reçoivent eux aussi un cashback sur leur achat.`,faq3AnswerNoReward:`Non. Votre lien ne change rien au prix\xA0: vos proches paient exactement le même montant que tout le monde.`,faq4Question:`Il faut être influenceur\xA0?`,faq4Answer:`Non, pas du tout. Aucune candidature, aucun minimum de followers\xA0: le programme est ouvert à tous nos clients, quelle que soit la taille de votre réseau.`,faq5Question:`C’est quoi Frak\xA0?`,faq5AnswerBeforeLink:`Le partenaire qui gère le suivi des parrainages et le versement des gains pour {BRAND}. `,faq5AnswerLinkText:`Frak`,faq5AnswerAfterLink:` ne vend aucune donnée à des tiers.`,attributionBeforeLink:`Programme propulsé par `,attributionLinkText:`Frak`,myRewardsEyebrow:`Vos récompenses`,myRewardsCashbackLabel:`Cashback sur vos commandes`,myRewardsFriendsLabel:`Issu des achats de vos amis`,myRewardsCountdown:`{DAYS} jours restants pour la récupérer, jusqu’au {DATE}`,myRewardsCountdownOneDay:`1 jour restant pour la récupérer, jusqu’au {DATE}`,myRewardsCountdownToday:`Expire aujourd’hui, récupérez-la maintenant`,myRewardsUnlockNote:`Une partie se débloque le {DATE}`,myRewardsUnlockNoteAll:`Se débloque le {DATE}`,myRewardsClaimCta:`Récupérer mes {REWARD}`,myRewardsShareCta:`Partager pour gagner plus`,myRewardsLinkedHeading:`Vos récompenses chez {BRAND}`,myRewardsReceived:`{REWARD} reçus`,myRewardsOnItsWay:`{REWARD} en route`,myRewardsOnItsWayUnlock:`{REWARD} en route, déblocage le {DATE}`,myRewardsWalletCta:`Ouvrir mon wallet Frak`,myRewardsShareAgainCta:`Partager à nouveau`,myRewardsQrHeading:`Sur ordinateur\xA0?`,myRewardsQrCaption:`Scannez avec votre téléphone pour la récupérer dans l’app Frak.`,storeHeadingClaim:`Récupérez vos {REWARD} dans l’app`}}};var yt=0;Array.isArray;function bt(e,t,n,r,i,a){t||={};var s,c,l=t;if(`ref`in l)for(c in l={},t)c==`ref`?s=t[c]:l[c]=t[c];var u={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--yt,__i:-1,__u:0,__source:i,__self:a};if(typeof e==`function`&&(s=e.defaultProps))for(c in s)l[c]===void 0&&(l[c]=s[c]);return o.vnode&&o.vnode(u),u}export{D as _,mt as a,He as c,Pe as d,q as f,we as g,Ie as h,_t as i,Fe as l,J as m,vt as n,pt as o,Le as p,gt as r,Ge as s,bt as t,Y as u};