@purpurds/footer 8.2.2 → 8.2.4
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/LICENSE.txt +5 -12
- package/dist/footer-navigation.d.ts.map +1 -1
- package/dist/footer-social-link.d.ts.map +1 -1
- package/dist/footer.cjs.js +16 -16
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.es.js +777 -1110
- package/dist/footer.es.js.map +1 -1
- package/package.json +13 -13
package/dist/LICENSE.txt
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
Name: @purpurds/grid
|
|
2
|
-
Version: 8.2.
|
|
2
|
+
Version: 8.2.3
|
|
3
3
|
License: AGPL-3.0-only
|
|
4
4
|
Private: false
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Name: @purpurds/link
|
|
9
|
-
Version: 8.2.
|
|
9
|
+
Version: 8.2.3
|
|
10
10
|
License: AGPL-3.0-only
|
|
11
11
|
Private: false
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Name: @purpurds/select
|
|
16
|
-
Version: 8.2.
|
|
17
|
-
License: AGPL-3.0-only
|
|
18
|
-
Private: false
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
Name: @purpurds/theme
|
|
23
|
-
Version: 8.2.1
|
|
16
|
+
Version: 8.2.3
|
|
24
17
|
License: AGPL-3.0-only
|
|
25
18
|
Private: false
|
|
26
19
|
|
|
@@ -61,13 +54,13 @@ SOFTWARE.
|
|
|
61
54
|
---
|
|
62
55
|
|
|
63
56
|
Name: @purpurds/accordion
|
|
64
|
-
Version: 8.2.
|
|
57
|
+
Version: 8.2.3
|
|
65
58
|
License: AGPL-3.0-only
|
|
66
59
|
Private: false
|
|
67
60
|
|
|
68
61
|
---
|
|
69
62
|
|
|
70
63
|
Name: @purpurds/icon
|
|
71
|
-
Version: 8.2.
|
|
64
|
+
Version: 8.2.3
|
|
72
65
|
License: AGPL-3.0-only
|
|
73
66
|
Private: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-navigation.d.ts","sourceRoot":"","sources":["../src/footer-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASxD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,wBAAwB,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,cAAc,GACtB,yBAAyB,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,GAClE,GAAG,CAAC;AA6BR,KAAK,qBAAqB,GAAG;IAC3B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,YAAY,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACtD,eAAe,EAAE,oBAAoB,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"footer-navigation.d.ts","sourceRoot":"","sources":["../src/footer-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASxD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,wBAAwB,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,cAAc,GACtB,yBAAyB,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,GAClE,GAAG,CAAC;AA6BR,KAAK,qBAAqB,GAAG;IAC3B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,YAAY,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACtD,eAAe,EAAE,oBAAoB,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,gDAI9B,qBAAqB,sBAuCvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-social-link.d.ts","sourceRoot":"","sources":["../src/footer-social-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,UAAU,CAAC,GAAG;IAC7F,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"footer-social-link.d.ts","sourceRoot":"","sources":["../src/footer-social-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,UAAU,CAAC,GAAG;IAC7F,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF,eAAO,MAAM,gBAAgB,GAAI,0BAA0B,qBAAqB,sBAU/E,CAAC"}
|
package/dist/footer.cjs.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),h=require("react");require("react-dom");const B=require("@purpurds/theme");function ie(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(u,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return u.default=e,Object.freeze(u)}const m=ie(h);function ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ir={exports:{}};/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/var
|
|
5
|
+
*/var ur;function ae(){return ur||(ur=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ir)),ir.exports}var pe=ae();const Dr=ue(pe),oe={"purpur-grid-item":"_purpur-grid-item_zx9tz_1","purpur-grid-item--no-col-gap":"_purpur-grid-item--no-col-gap_zx9tz_6","purpur-grid-item-colspan-sm-4":"_purpur-grid-item-colspan-sm-4_zx9tz_24","purpur-grid-item-colspan-sm-3":"_purpur-grid-item-colspan-sm-3_zx9tz_27","purpur-grid-item-colspan-sm-2":"_purpur-grid-item-colspan-sm-2_zx9tz_30","purpur-grid-item-colspan-sm-1":"_purpur-grid-item-colspan-sm-1_zx9tz_33","purpur-grid-item-colspan-md-8":"_purpur-grid-item-colspan-md-8_zx9tz_37","purpur-grid-item-colspan-md-7":"_purpur-grid-item-colspan-md-7_zx9tz_42","purpur-grid-item-colspan-md-6":"_purpur-grid-item-colspan-md-6_zx9tz_47","purpur-grid-item-colspan-md-5":"_purpur-grid-item-colspan-md-5_zx9tz_52","purpur-grid-item-colspan-md-4":"_purpur-grid-item-colspan-md-4_zx9tz_57","purpur-grid-item-colspan-md-3":"_purpur-grid-item-colspan-md-3_zx9tz_62","purpur-grid-item-colspan-md-2":"_purpur-grid-item-colspan-md-2_zx9tz_67","purpur-grid-item-colspan-md-1":"_purpur-grid-item-colspan-md-1_zx9tz_72","purpur-grid-item-colspan-lg-12":"_purpur-grid-item-colspan-lg-12_zx9tz_77","purpur-grid-item-colspan-lg-11":"_purpur-grid-item-colspan-lg-11_zx9tz_82","purpur-grid-item-colspan-lg-10":"_purpur-grid-item-colspan-lg-10_zx9tz_87","purpur-grid-item-colspan-lg-9":"_purpur-grid-item-colspan-lg-9_zx9tz_92","purpur-grid-item-colspan-lg-8":"_purpur-grid-item-colspan-lg-8_zx9tz_97","purpur-grid-item-colspan-lg-7":"_purpur-grid-item-colspan-lg-7_zx9tz_102","purpur-grid-item-colspan-lg-6":"_purpur-grid-item-colspan-lg-6_zx9tz_107","purpur-grid-item-colspan-lg-5":"_purpur-grid-item-colspan-lg-5_zx9tz_112","purpur-grid-item-colspan-lg-4":"_purpur-grid-item-colspan-lg-4_zx9tz_117","purpur-grid-item-colspan-lg-3":"_purpur-grid-item-colspan-lg-3_zx9tz_122","purpur-grid-item-colspan-lg-2":"_purpur-grid-item-colspan-lg-2_zx9tz_127","purpur-grid-item-colspan-lg-1":"_purpur-grid-item-colspan-lg-1_zx9tz_77"},le=Dr.bind(oe),T="purpur-grid-item",E=({children:e,className:u,colSpanSm:n=4,colSpanMd:a=8,colSpanLg:p=12,noColGap:r=!1,...t})=>{const i=le([u,T,{[`${T}--no-col-gap`]:r,[`${T}-colspan-sm-${n}`]:n,[`${T}-colspan-md-${a}`]:a,[`${T}-colspan-lg-${p}`]:p}]);return o.jsx("div",{className:i,...t,children:e})},se=e=>!!e&&h.isValidElement(e)&&e.type===E;E.displayName="Grid.Item";const _e={"purpur-grid":"_purpur-grid_8kjv6_1","purpur-grid__inner":"_purpur-grid__inner_8kjv6_27","purpur-grid__inner--no-gap":"_purpur-grid__inner--no-gap_8kjv6_32","purpur-grid__inner--no-row-gap":"_purpur-grid__inner--no-row-gap_8kjv6_32","purpur-grid__inner--grid":"_purpur-grid__inner--grid_8kjv6_50","purpur-grid__inner--no-col-gap":"_purpur-grid__inner--no-col-gap_8kjv6_54","purpur-grid__inner-col-sm-4":"_purpur-grid__inner-col-sm-4_8kjv6_57","purpur-grid__inner-col-sm-3":"_purpur-grid__inner-col-sm-3_8kjv6_60","purpur-grid__inner-col-sm-2":"_purpur-grid__inner-col-sm-2_8kjv6_63","purpur-grid__inner-col-md-8":"_purpur-grid__inner-col-md-8_8kjv6_67","purpur-grid__inner-col-md-7":"_purpur-grid__inner-col-md-7_8kjv6_72","purpur-grid__inner-col-md-6":"_purpur-grid__inner-col-md-6_8kjv6_77","purpur-grid__inner-col-md-5":"_purpur-grid__inner-col-md-5_8kjv6_82","purpur-grid__inner-col-md-4":"_purpur-grid__inner-col-md-4_8kjv6_87","purpur-grid__inner-col-md-3":"_purpur-grid__inner-col-md-3_8kjv6_92","purpur-grid__inner-col-md-2":"_purpur-grid__inner-col-md-2_8kjv6_97","purpur-grid__inner-col-lg-12":"_purpur-grid__inner-col-lg-12_8kjv6_102","purpur-grid__inner-col-lg-11":"_purpur-grid__inner-col-lg-11_8kjv6_107","purpur-grid__inner-col-lg-10":"_purpur-grid__inner-col-lg-10_8kjv6_112","purpur-grid__inner-col-lg-9":"_purpur-grid__inner-col-lg-9_8kjv6_117","purpur-grid__inner-col-lg-8":"_purpur-grid__inner-col-lg-8_8kjv6_122","purpur-grid__inner-col-lg-7":"_purpur-grid__inner-col-lg-7_8kjv6_127","purpur-grid__inner-col-lg-6":"_purpur-grid__inner-col-lg-6_8kjv6_132","purpur-grid__inner-col-lg-5":"_purpur-grid__inner-col-lg-5_8kjv6_137","purpur-grid__inner-col-lg-4":"_purpur-grid__inner-col-lg-4_8kjv6_142","purpur-grid__inner-col-lg-3":"_purpur-grid__inner-col-lg-3_8kjv6_147","purpur-grid__inner-col-lg-2":"_purpur-grid__inner-col-lg-2_8kjv6_152","purpur-grid__inner--flex":"_purpur-grid__inner--flex_8kjv6_156"},ar=Dr.bind(_e),ce="purpur-grid",N="purpur-grid__inner",K=({children:e,className:u,containerClassName:n,colsSm:a=1,colsMd:p=1,colsLg:r=1,noGap:t=!1,noColGap:i=!1,noRowGap:c=!1,...d})=>{const x=h.Children.toArray(e).filter(se),l=!!x.length,g=ar([n,ce]),f=ar([u,N,{[`${N}--grid`]:!l,[`${N}--flex`]:l,[`${N}--no-gap`]:t,[`${N}--no-col-gap`]:i,[`${N}--no-row-gap`]:c,[`${N}-col-sm-${a}`]:a>1&&!l,[`${N}-col-md-${p}`]:p>1&&!l,[`${N}-col-lg-${r}`]:r>1&&!l}]);return o.jsx("div",{className:g,...d,children:o.jsx("div",{className:f,children:l?h.Children.map(x,({props:{children:y,...k}})=>o.jsx(E,{...k,noColGap:t||i,children:y})):e})})};K.displayName="Grid";K.Item=E;function de(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pr={exports:{}};/*!
|
|
6
6
|
Copyright (c) 2018 Jed Watson.
|
|
7
7
|
Licensed under the MIT License (MIT), see
|
|
8
8
|
http://jedwatson.github.io/classnames
|
|
9
|
-
*/var
|
|
9
|
+
*/var or;function ge(){return or||(or=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(pr)),pr.exports}var me=ge();const fe=de(me),ve={"purpur-link":"_purpur-link_5pram_1","purpur-link--text":"_purpur-link--text_5pram_18","purpur-link--standalone":"_purpur-link--standalone_5pram_18","purpur-link--navigation":"_purpur-link--navigation_5pram_18","purpur-link--disable-visited":"_purpur-link--disable-visited_5pram_29","purpur-link--text-negative":"_purpur-link--text-negative_5pram_32","purpur-link--standalone-negative":"_purpur-link--standalone-negative_5pram_32","purpur-link--navigation-negative":"_purpur-link--navigation-negative_5pram_32","purpur-link--ensure-target-area":"_purpur-link--ensure-target-area_5pram_71","purpur-link--silent":"_purpur-link--silent_5pram_77"},he=fe.bind(ve),z="purpur-link",Q=({["data-testid"]:e,children:u,className:n,disableVisited:a=!0,ensureTargetArea:p,href:r,negative:t=!1,onClick:i,rel:c,silent:d,target:x,variant:l,...g})=>o.jsx("span",{className:he(n,z,`${z}--${t?`${l}-negative`:l}`,{[`${z}--silent`]:d,[`${z}--negative`]:t,[`${z}--disable-visited`]:a??d,[`${z}--ensure-target-area`]:p}),"data-testid":e,onClick:r?void 0:i,...r?{}:g,children:r?o.jsx("a",{href:r,target:x,rel:c,onClick:i,"data-testid":e?`${e} a`:void 0,...g,children:u}):u});Q.displayName="Link";function xe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lr={exports:{}};/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
|
-
*/var
|
|
13
|
+
*/var sr;function ye(){return sr||(sr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(lr)),lr.exports}var $e=ye();const je=xe($e),be={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},we=je.bind(be),_r="purpur-icon",Ne="md",Se=e=>e.filter(u=>Object.keys(u).length>=1).map(u=>`${u.name}="${u.value}"`).join(" "),Ce=({content:e="",title:u}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},u?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=u?`<title>${u}</title>`:"";return`<svg ${Se(n)}>${a}${e}</svg>`},ke=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Fr=({svg:e,allyTitle:u,className:n,size:a=Ne,...p})=>{const r=Ce({content:ke(e.svg),title:u}),t=we(n,_r,`${_r}--${a}`);return o.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...p})};Fr.displayName="Icon";const Oe={name:"error-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',keywords:["error-filled"],category:"status"};function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cr={exports:{}};/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
17
|
-
*/var
|
|
17
|
+
*/var dr;function Pe(){return dr||(dr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(cr)),cr.exports}var Me=Pe();const Ae=ze(Me),qe={"purpur-field-error-text":"_purpur-field-error-text_u1cy2_1","purpur-field-error-text--negative":"_purpur-field-error-text--negative_u1cy2_11","purpur-field-error-text__icon":"_purpur-field-error-text__icon_u1cy2_14"},gr=Ae.bind(qe),D="purpur-field-error-text",Te=({children:e,className:u,negative:n=!1,["aria-relevant"]:a="additions text",...p})=>o.jsxs("div",{className:gr(u,D,{[`${D}--negative`]:n}),"aria-live":"assertive","aria-relevant":a,...p,children:[o.jsx(Fr,{svg:Oe,size:"xs",className:gr(`${D}__icon`)}),e]});function Ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mr={exports:{}};/*!
|
|
18
18
|
Copyright (c) 2018 Jed Watson.
|
|
19
19
|
Licensed under the MIT License (MIT), see
|
|
20
20
|
http://jedwatson.github.io/classnames
|
|
21
|
-
*/var fr;function Ve(){return fr||(fr=1,function(e){(function(){var
|
|
21
|
+
*/var fr;function Ve(){return fr||(fr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(mr)),mr.exports}var He=Ve();const Le=Ie(He),Ze={"purpur-field-helper-text":"_purpur-field-helper-text_11nsh_1","purpur-field-helper-text--disabled":"_purpur-field-helper-text--disabled_11nsh_9","purpur-field-helper-text--negative":"_purpur-field-helper-text--negative_11nsh_12"},Re=Le.bind(Ze),F="purpur-field-helper-text",Ee=({children:e,className:u,disabled:n,id:a,negative:p,...r})=>{const t=Re(u,F,{[`${F}--disabled`]:n,[`${F}--negative`]:p});return o.jsx("span",{id:a,className:t,...r,children:e})};function Be(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vr={exports:{}};/*!
|
|
22
22
|
Copyright (c) 2018 Jed Watson.
|
|
23
23
|
Licensed under the MIT License (MIT), see
|
|
24
24
|
http://jedwatson.github.io/classnames
|
|
25
|
-
*/var hr;function
|
|
25
|
+
*/var hr;function De(){return hr||(hr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(vr)),vr.exports}var Fe=De();const Ge=Be(Fe),We={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Je=Ge.bind(We),xr="purpur-icon",Ke="md",Qe=e=>e.filter(u=>Object.keys(u).length>=1).map(u=>`${u.name}="${u.value}"`).join(" "),Ue=({content:e="",title:u}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},u?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=u?`<title>${u}</title>`:"";return`<svg ${Qe(n)}>${a}${e}</svg>`},Xe=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),U=({svg:e,allyTitle:u,className:n,size:a=Ke,...p})=>{const r=Ue({content:Xe(e.svg),title:u}),t=Je(n,xr,`${xr}--${a}`);return o.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...p})};U.displayName="Icon";const Ye={name:"check-circle-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',keywords:["check-circle-filled"],category:"status"},Gr=e=>o.jsx(U,{...e,svg:Ye});Gr.displayName="IconCheckCircleFilled";const rt={name:"chevron-down",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["chevron-down"],category:"utility"},Wr=e=>o.jsx(U,{...e,svg:rt});Wr.displayName="IconChevronDown";function yr(e,u){if(typeof e=="function")return e(u);e!=null&&(e.current=u)}function et(...e){return u=>{let n=!1;const a=e.map(p=>{const r=yr(p,u);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let p=0;p<a.length;p++){const r=a[p];typeof r=="function"?r():yr(e[p],null)}}}}function tt(e){const u=nt(e),n=m.forwardRef((a,p)=>{const{children:r,...t}=a,i=m.Children.toArray(r),c=i.find(ut);if(c){const d=c.props.children,x=i.map(l=>l===c?m.Children.count(d)>1?m.Children.only(null):m.isValidElement(d)?d.props.children:null:l);return o.jsx(u,{...t,ref:p,children:m.isValidElement(d)?m.cloneElement(d,void 0,x):null})}return o.jsx(u,{...t,ref:p,children:r})});return n.displayName=`${e}.Slot`,n}function nt(e){const u=m.forwardRef((n,a)=>{const{children:p,...r}=n;if(m.isValidElement(p)){const t=pt(p),i=at(r,p.props);return p.type!==m.Fragment&&(i.ref=a?et(a,t):t),m.cloneElement(p,i)}return m.Children.count(p)>1?m.Children.only(null):null});return u.displayName=`${e}.SlotClone`,u}var it=Symbol("radix.slottable");function ut(e){return m.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===it}function at(e,u){const n={...u};for(const a in u){const p=e[a],r=u[a];/^on[A-Z]/.test(a)?p&&r?n[a]=(...t)=>{const i=r(...t);return p(...t),i}:p&&(n[a]=p):a==="style"?n[a]={...p,...r}:a==="className"&&(n[a]=[p,r].filter(Boolean).join(" "))}return{...e,...n}}function pt(e){var u,n;let a=(u=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:u.get,p=a&&"isReactWarning"in a&&a.isReactWarning;return p?e.ref:(a=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,p=a&&"isReactWarning"in a&&a.isReactWarning,p?e.props.ref:e.props.ref||e.ref)}var ot=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],lt=ot.reduce((e,u)=>{const n=tt(`Primitive.${u}`),a=m.forwardRef((p,r)=>{const{asChild:t,...i}=p,c=t?n:u;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(c,{...i,ref:r})});return a.displayName=`Primitive.${u}`,{...e,[u]:a}},{}),st="Label",Jr=m.forwardRef((e,u)=>o.jsx(lt.label,{...e,ref:u,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=e.onMouseDown)==null||a.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Jr.displayName=st;var _t=Jr;function ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $r={exports:{}};/*!
|
|
26
26
|
Copyright (c) 2018 Jed Watson.
|
|
27
27
|
Licensed under the MIT License (MIT), see
|
|
28
28
|
http://jedwatson.github.io/classnames
|
|
29
|
-
*/var
|
|
29
|
+
*/var jr;function dt(){return jr||(jr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})($r)),$r.exports}var gt=dt();const mt=ct(gt),ft={"purpur-label":"_purpur-label_1x80u_1","purpur-label--negative":"_purpur-label--negative_1x80u_8","purpur-label--disabled":"_purpur-label--disabled_1x80u_11"},vt=mt.bind(ft),G="purpur-label",ht=({children:e,className:u,disabled:n,negative:a=!1,...p})=>{const r=vt(u,G,{[`${G}--disabled`]:n,[`${G}--negative`]:a});return o.jsx(_t,{className:r,...p,children:e})};function xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var br={exports:{}};/*!
|
|
30
30
|
Copyright (c) 2018 Jed Watson.
|
|
31
31
|
Licensed under the MIT License (MIT), see
|
|
32
32
|
http://jedwatson.github.io/classnames
|
|
33
|
-
*/var
|
|
33
|
+
*/var wr;function yt(){return wr||(wr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(br)),br.exports}var $t=yt();const jt=xt($t),bt="_rotate_12t9p_1",wt="_dash_12t9p_1",Nt={"purpur-spinner":"_purpur-spinner_12t9p_2",rotate:bt,"purpur-spinner--xxs":"_purpur-spinner--xxs_12t9p_6","purpur-spinner--xs":"_purpur-spinner--xs_12t9p_10","purpur-spinner--sm":"_purpur-spinner--sm_12t9p_14","purpur-spinner--md":"_purpur-spinner--md_12t9p_18","purpur-spinner--lg":"_purpur-spinner--lg_12t9p_22","purpur-spinner__circle":"_purpur-spinner__circle_12t9p_26",dash:wt,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_12t9p_41","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_12t9p_44"},Nr=jt.bind(Nt),I="purpur-spinner",St={SM:"sm"},Ct=({disabled:e=!1,negative:u=!1,size:n=St.SM,...a})=>o.jsx("div",{className:Nr(I,`${I}--${n}`),...a,children:o.jsx("svg",{viewBox:"0 0 50 50",children:o.jsx("circle",{className:Nr(`${I}__circle`,{[`${I}__circle--disabled`]:e,[`${I}__circle--negative`]:u}),cx:"25",cy:"25",r:"20"})})});function kt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sr={exports:{}};/*!
|
|
34
34
|
Copyright (c) 2018 Jed Watson.
|
|
35
35
|
Licensed under the MIT License (MIT), see
|
|
36
36
|
http://jedwatson.github.io/classnames
|
|
37
|
-
*/var wr;function Ct(){return wr||(wr=1,function(e){(function(){var n={}.hasOwnProperty;function o(){for(var r="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(r=u(r,i.call(this,a)))}return r}function i(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return o.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var a in r)n.call(r,a)&&r[a]&&(t=u(t,this&&this[a]||a));return t}function u(r,t){return t?r?r+" "+t:r+t:r}e.exports?(o.default=o,e.exports=o):window.classNames=o})()}(Nr)),Nr.exports}var At=Ct();const Mt=Pt(At),Et={"purpur-select":"_purpur-select_t7uxd_1","purpur-select__label":"_purpur-select__label_t7uxd_7","purpur-select__field-row":"_purpur-select__field-row_t7uxd_12","purpur-select__frame":"_purpur-select__frame_t7uxd_16","purpur-select__frame--negative":"_purpur-select__frame--negative_t7uxd_23","purpur-select__select-container":"_purpur-select__select-container_t7uxd_26","purpur-select__select-container--disabled":"_purpur-select__select-container--disabled_t7uxd_34","purpur-select__select-container--readonly":"_purpur-select__select-container--readonly_t7uxd_37","purpur-select__select-container--negative":"_purpur-select__select-container--negative_t7uxd_40","purpur-select__select":"_purpur-select__select_t7uxd_26","purpur-select__select--error":"_purpur-select__select--error_t7uxd_98","purpur-select__select--is-valid":"_purpur-select__select--is-valid_t7uxd_104","purpur-select__select--negative":"_purpur-select__select--negative_t7uxd_110","purpur-select__end-adornments":"_purpur-select__end-adornments_t7uxd_120","purpur-select__select-icon":"_purpur-select__select-icon_t7uxd_130","purpur-select__select-icon--readonly":"_purpur-select__select-icon--readonly_t7uxd_133","purpur-select__select-icon--disabled":"_purpur-select__select-icon--disabled_t7uxd_133","purpur-select__select-icon--negative":"_purpur-select__select-icon--negative_t7uxd_136","purpur-select__valid-icon":"_purpur-select__valid-icon_t7uxd_142"},x=Mt.bind(Et),c="purpur-select",Yr=_.forwardRef(({label:e,options:n,className:o,errorText:i,helperText:u,negative:r=!1,placeholder:t,readOnly:a=!1,["data-testid"]:d,valid:y,loading:$,...p},g)=>{const f=w=>d?`${d}-${w}`:void 0,h=y&&!i,B=_.useId(),N=p.id??B,T=u?`${N}-helper-text`:void 0,H=x(`${c}__select-container`,{[`${c}__select-container--disabled`]:p.disabled,[`${c}__select-container--readonly`]:a&&!p.disabled,[`${c}__select-container--negative`]:r});return x(`${c}__select-icon`,{[`${c}__select-icon--disabled`]:p.disabled,[`${c}__select-icon--readonly`]:a&&!p.disabled,[`${c}__select-icon--is-valid`]:h,[`${c}__select-icon--negative`]:r}),h&&x(`${c}__valid-icon`),l.jsxs("div",{className:x(c,o,{[`${c}--negative`]:r}),children:[e&&l.jsxs(bt,{htmlFor:N,className:x(`${c}__label`),"data-testid":f("label"),disabled:p.disabled,negative:r,children:[p.required&&l.jsx("span",{"aria-hidden":!0,children:"*"}),e]}),l.jsx("div",{className:x(`${c}__field-row`),children:l.jsxs("div",{className:H,children:[l.jsxs("select",{...p,onChange:a||p==null?void 0:p.onChange,id:N,ref:g,"data-testid":f("select"),"aria-describedby":p["aria-describedby"]||T,"aria-invalid":p["aria-invalid"]||!!i,"aria-disabled":p["aria-disabled"]||p.disabled,"aria-readonly":p["aria-readonly"]||a&&!p.disabled,className:x(`${c}__select`,{[`${c}__select--error`]:!!i,[`${c}__select--is-valid`]:h,[`${c}__select--negative`]:r}),children:[t&&l.jsx("option",{value:t.value??t.label,disabled:!0,children:t.label}),n.map((w,C)=>zt(w)?Ht(w,N,C,a):re(w,N,C,a))]}),l.jsxs("div",{className:x(`${c}__end-adornments`),children:[$?l.jsx(Ot,{disabled:p.disabled,size:"xxs",negative:r,"data-testid":f("spinner")},"spinner"):l.jsx(Kr,{className:x(`${c}__select-icon`,{[`${c}__select-icon--disabled`]:p.disabled,[`${c}__select-icon--readonly`]:a&&!p.disabled,[`${c}__select-icon--is-valid`]:h,[`${c}__select-icon--negative`]:r}),"data-testid":f("dropdown-icon"),size:"sm"},"chevron-down-icon"),h&&l.jsx(Jr,{"data-testid":f("valid-icon"),className:x(`${c}__valid-icon`)},"valid-icon")]}),l.jsx("div",{className:x(`${c}__frame`,{[`${c}__frame--negative`]:r})})]})}),T&&l.jsx(Qe,{disabled:p.disabled,"data-testid":f("helper-text"),id:T,negative:r,children:u}),i&&l.jsx(De,{negative:r,"data-testid":f("error-text"),children:i})]})}),zt=e=>e.hasOwnProperty("options"),Ht=(e,n,o,i)=>{const u=`${n}--group--${o}`;return l.jsx("optgroup",{label:e.label,children:e.options.map((r,t)=>re(r,u,t,i))},u)},re=(e,n,o,i)=>l.jsx("option",{value:e.value??e.label,disabled:i,children:e.label},`${n}--option--${o}`);Yr.displayName="Select";const qt={colorBrandDeepPurple:"var(--purpur-color-purple-100)",colorBrandCorePurple:"var(--purpur-color-purple-400)",colorBrandLightPurple:"var(--purpur-color-purple-900)",colorBrandDeepBeige:"var(--purpur-color-beige-100)",colorBrandBeige:"var(--purpur-color-beige-700)",colorBrandLightBeige:"var(--purpur-color-beige-800)",colorBrandOffBlack:"var(--purpur-color-functional-white)",colorBrandWhite:"var(--purpur-color-gray-900)",colorTextDefault:"var(--purpur-color-transparent-white-950)",colorTextMedium:"var(--purpur-color-transparent-white-700)",colorTextWeak:"var(--purpur-color-transparent-white-400)",colorTextDefaultNegative:"var(--purpur-color-transparent-black-800)",colorTextMediumNegative:"var(--purpur-color-transparent-black-500)",colorTextWeakNegative:"var(--purpur-color-transparent-black-400)",colorTextInteractivePrimary:"var(--purpur-color-purple-100)",colorTextInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorTextInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorTextInteractiveOnPrimary:"var(--purpur-color-purple-800)",colorTextInteractiveOnExpressive:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHover:"var(--purpur-color-purple-900)",colorTextInteractiveOnExpressiveActive:"var(--purpur-color-purple-900)",colorTextInteractiveOnDestructive:"var(--purpur-color-functional-white)",colorTextInteractiveSelected:"var(--purpur-color-purple-300)",colorTextInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorTextInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorTextInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorTextInteractiveOnPrimaryNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHoverNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveActiveNegative:"var(--purpur-color-functional-white)",colorTextStatusInfoMedium:"var(--purpur-color-blue-400)",colorTextStatusInfoStrong:"var(--purpur-color-blue-200)",colorTextStatusSuccessMedium:"var(--purpur-color-green-400)",colorTextStatusSuccessStrong:"var(--purpur-color-green-200)",colorTextStatusWarningMedium:"var(--purpur-color-orange-300)",colorTextStatusWarningStrong:"var(--purpur-color-orange-200)",colorTextStatusErrorMedium:"var(--purpur-color-red-400)",colorTextStatusErrorStrong:"var(--purpur-color-red-200)",colorTextStatusNeutral:"var(--purpur-color-functional-white)",colorTextStatusSpecial:"var(--purpur-color-functional-white)",colorTextStatusAttention:"var(--purpur-color-purple-800)",colorTextStatusDiscount:"var(--purpur-color-purple-300)",colorTextStatusBlackFriday:"var(--purpur-color-gray-900)",colorTextStatusSuccessStrongNegative:"var(--purpur-color-green-700)",colorTextStatusErrorMediumNegative:"var(--purpur-color-red-500)",colorTextStatusErrorStrongNegative:"var(--purpur-color-red-700)",colorTextStatusWarningMediumNegative:"var(--purpur-color-orange-500)",colorTextToneOnTonePrimary:"var(--purpur-color-purple-900)",colorTextToneOnToneSecondary:"var(--purpur-color-purple-100)",colorTextToneOnToneTertiary:"var(--purpur-color-functional-white)",colorBackgroundPrimary:"var(--purpur-color-gray-950)",colorBackgroundSecondary:"var(--purpur-color-gray-900)",colorBackgroundOnImage:"var(--purpur-color-transparent-black-700)",colorBackgroundPrimaryNegative:"var(--purpur-color-functional-white)",colorBackgroundSecondaryNegative:"var(--purpur-color-gray-50)",colorBackgroundOnImageNegative:"var(--purpur-color-transparent-white-850)",colorBackgroundInteractivePrimary:"var(--purpur-color-purple-100)",colorBackgroundInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBackgroundInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveExpressive:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHover:"var(--purpur-color-purple-400)",colorBackgroundInteractiveExpressiveActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveTransparentHover:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentActive:"var(--purpur-color-purple-700)",colorBackgroundInteractiveDisabled:"var(--purpur-color-transparent-white-100)",colorBackgroundInteractiveReadOnly:"var(--purpur-color-transparent-white-50)",colorBackgroundInteractiveInactive:"var(--purpur-color-transparent-white-150)",colorBackgroundInteractiveDestructive:"var(--purpur-color-red-500)",colorBackgroundInteractiveDestructiveHover:"var(--purpur-color-red-600)",colorBackgroundInteractiveDestructiveActive:"var(--purpur-color-red-700)",colorBackgroundInteractiveAutoFill:"var(--purpur-color-blue-800)",colorBackgroundInteractivePrimaryNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractivePrimaryHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractivePrimaryActiveNegative:"var(--purpur-color-purple-600)",colorBackgroundInteractiveExpressiveNegative:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractiveExpressiveActiveNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentHoverNegative:"var(--purpur-color-purple-200)",colorBackgroundInteractiveTransparentActiveNegative:"var(--purpur-color-purple-300)",colorBackgroundInteractiveDisabledNegative:"var(--purpur-color-transparent-black-100)",colorBackgroundInteractiveInactiveNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundInteractiveReadOnlyNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundStatusInfoMedium:"var(--purpur-color-blue-800)",colorBackgroundStatusInfoStrong:"var(--purpur-color-blue-300)",colorBackgroundStatusSuccessMedium:"var(--purpur-color-green-800)",colorBackgroundStatusSuccessStrong:"var(--purpur-color-green-300)",colorBackgroundStatusWarningMedium:"var(--purpur-color-orange-800)",colorBackgroundStatusWarningStrong:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorMedium:"var(--purpur-color-red-800)",colorBackgroundStatusErrorStrong:"var(--purpur-color-red-300)",colorBackgroundStatusNeutral:"var(--purpur-color-gray-800)",colorBackgroundStatusSpecial:"var(--purpur-color-purple-700)",colorBackgroundStatusAttention:"var(--purpur-color-purple-100)",colorBackgroundStatusBlackFriday:"var(--purpur-color-functional-white)",colorBackgroundStatusSuccessStrongNegative:"var(--purpur-color-green-400)",colorBackgroundStatusWarningStrongNegative:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorStrongNegative:"var(--purpur-color-red-400)",colorBackgroundToneOnTonePrimary:"var(--purpur-color-purple-100)",colorBackgroundToneOnToneSecondary:"var(--purpur-color-purple-900)",colorBackgroundToneOnToneTertiary:"var(--purpur-color-beige-700)",colorBackgroundToneOnToneQuaternary:"var(--purpur-color-beige-800)",colorBorderWeak:"var(--purpur-color-transparent-white-150)",colorBorderMedium:"var(--purpur-color-transparent-white-300)",colorBorderStrong:"var(--purpur-color-transparent-white-500)",colorBorderWeakNegative:"var(--purpur-color-transparent-black-150)",colorBorderMediumNegative:"var(--purpur-color-transparent-black-300)",colorBorderStrongNegative:"var(--purpur-color-transparent-black-500)",colorBorderInteractivePrimary:"var(--purpur-color-purple-100)",colorBorderInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBorderInteractivePrimaryActive:"var(--purpur-color-purple-200)",colorBorderInteractiveFocus:"var(--purpur-color-purple-400)",colorBorderInteractiveExpressive:"var(--purpur-color-purple-550)",colorBorderInteractiveSubtle:"var(--purpur-color-transparent-white-400)",colorBorderInteractiveSubtleHover:"var(--purpur-color-purple-200)",colorBorderInteractiveSelected:"var(--purpur-color-purple-300)",colorBorderInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorBorderInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorBorderInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorBorderInteractiveSubtleNegative:"var(--purpur-color-transparent-black-400)",colorBorderInteractiveSubtleHoverNegative:"var(--purpur-color-purple-700)",colorBorderStatusError:"var(--purpur-color-red-400)",colorBorderStatusWarning:"var(--purpur-color-orange-300)",colorBorderStatusInfo:"var(--purpur-color-blue-400)",colorBorderStatusSuccess:"var(--purpur-color-green-400)",colorBorderStatusErrorNegative:"var(--purpur-color-red-500)",colorBorderStatusSuccessNegative:"var(--purpur-color-green-500)"},Lt="#29003e",Dt="#990ae3",Wt="#f4e0ff",Vt="#4f4741",Rt="#ede1d8",Zt="#f9f1ec",Ft="#1e1e20",Gt="#ffffff",Qt="rgba(0, 0, 0, 0.84)",Jt="rgba(0, 0, 0, 0.62)",Kt="rgba(0, 0, 0, 0.44)",Ut="rgba(255, 255, 255, 0.95)",Xt="rgba(255, 255, 255, 0.66)",Yt="rgba(255, 255, 255, 0.37)",ro="#6d02a3",eo="#4e0174",to="#29003e",oo="#ffffff",no="#4e0174",ao="#f4e0ff",io="#e4b6fb",uo="#e4b6fb",lo="#ffffff",po="#ffffff",co="#ffffff",so="#29003e",_o="#ffffff",go="#29003e",vo="#ffffff",fo="#990ae3",mo="#990ae3",ho="#980233",xo="#ff80ab",yo="#e4175c",$o="#fb4885",bo="#02562b",So="#3dbf7c",jo="#018842",ko="#6a4102",No="#a86602",wo="#f39200",Bo="#014d80",To="#0078cb",Io="rgba(0, 0, 0, 0.71)",Oo="#4e0174",Po="#ffffff",Co="#ffffff",Ao="#f4e0ff",Mo="#29003e",Eo="#4f4741",zo="#ffffff",Ho="#1f002e",qo="#f5f5fa",Lo="#29003e",Do="rgba(255, 255, 255, 0.84)",Wo="rgba(0, 0, 0, 0.71)",Vo="#e8f6ff",Ro="#4e0174",Zo="#6d02a3",Fo="#8c07d0",Go="#f4e0ff",Qo="#e4b6fb",Jo="#d58df9",Ko="#990ae3",Uo="#6d02a3",Xo="#4e0174",Yo="#990ae3",rn="#c461f7",en="#d58df9",tn="rgba(0, 0, 0, 0.1)",on="rgba(255, 255, 255, 0.11)",nn="#f4e0ff",an="#4e0174",un="#e4b6fb",ln="#6d02a3",pn="rgba(0, 0, 0, 0.05)",cn="rgba(255, 255, 255, 0.16)",sn="rgba(0, 0, 0, 0.05)",dn="rgba(255, 255, 255, 0.11)",_n="#e4175c",gn="#c00543",vn="#980233",fn="#caeaff",mn="#3694d3",hn="#c5efd9",xn="#1fa15e",yn="#3dbf7c",$n="#ffdde8",bn="#fb4885",Sn="#ff80ab",jn="#ffe1b3",kn="#cc7a00",Nn="#f39200",wn="#d6d6dd",Bn="#f4e0ff",Tn="#6d02a3",In="#1e1e20",On="#29003e",Pn="#f4e0ff",Cn="#ede1d8",An="#f9f1ec",Mn="rgba(0, 0, 0, 0.33)",En="rgba(255, 255, 255, 0.29)",zn="rgba(0, 0, 0, 0.54)",Hn="rgba(255, 255, 255, 0.46)",qn="rgba(0, 0, 0, 0.16)",Ln="rgba(255, 255, 255, 0.16)",Dn="#b12df4",Wn="#6d02a3",Vn="#f4e0ff",Rn="#4e0174",Zn="#29003e",Fn="#e4b6fb",Gn="#e4b6fb",Qn="#990ae3",Jn="#990ae3",Kn="rgba(0, 0, 0, 0.44)",Un="rgba(255, 255, 255, 0.46)",Xn="#6d02a3",Yn="#c461f7",ra="#e4175c",ea="#fb4885",ta="#cc7a00",oa="#0078cb",na="#018842",aa="#1fa15e",ia={colorBrandDeepPurple:Lt,colorBrandCorePurple:Dt,colorBrandLightPurple:Wt,colorBrandDeepBeige:Vt,colorBrandBeige:Rt,colorBrandLightBeige:Zt,colorBrandOffBlack:Ft,colorBrandWhite:Gt,colorTextDefault:Qt,colorTextMedium:Jt,colorTextWeak:Kt,colorTextDefaultNegative:Ut,colorTextMediumNegative:Xt,colorTextWeakNegative:Yt,colorTextInteractivePrimary:ro,colorTextInteractivePrimaryHover:eo,colorTextInteractivePrimaryActive:to,colorTextInteractiveOnPrimary:oo,colorTextInteractiveOnExpressive:lo,colorTextInteractiveOnExpressiveHover:co,colorTextInteractiveOnExpressiveActive:_o,colorTextInteractiveOnDestructive:vo,colorTextInteractiveSelected:fo,colorTextInteractivePrimaryNegative:ao,colorTextInteractivePrimaryHoverNegative:io,colorTextInteractivePrimaryActiveNegative:uo,colorTextInteractiveOnPrimaryNegative:no,colorTextInteractiveOnExpressiveNegative:po,colorTextInteractiveOnExpressiveHoverNegative:so,colorTextInteractiveOnExpressiveActiveNegative:go,colorTextStatusInfoMedium:To,colorTextStatusInfoStrong:Bo,colorTextStatusSuccessMedium:jo,colorTextStatusSuccessStrong:bo,colorTextStatusWarningMedium:No,colorTextStatusWarningStrong:ko,colorTextStatusErrorMedium:yo,colorTextStatusErrorStrong:ho,colorTextStatusNeutral:Io,colorTextStatusSpecial:Oo,colorTextStatusAttention:Po,colorTextStatusDiscount:mo,colorTextStatusBlackFriday:Co,colorTextStatusSuccessStrongNegative:So,colorTextStatusErrorMediumNegative:$o,colorTextStatusErrorStrongNegative:xo,colorTextStatusWarningMediumNegative:wo,colorTextToneOnTonePrimary:Ao,colorTextToneOnToneSecondary:Mo,colorTextToneOnToneTertiary:Eo,colorBackgroundPrimary:zo,colorBackgroundSecondary:qo,colorBackgroundOnImage:Do,colorBackgroundPrimaryNegative:Ho,colorBackgroundSecondaryNegative:Lo,colorBackgroundOnImageNegative:Wo,colorBackgroundInteractivePrimary:Ro,colorBackgroundInteractivePrimaryHover:Zo,colorBackgroundInteractivePrimaryActive:Fo,colorBackgroundInteractiveExpressive:Ko,colorBackgroundInteractiveExpressiveHover:Uo,colorBackgroundInteractiveExpressiveActive:Xo,colorBackgroundInteractiveTransparentHover:nn,colorBackgroundInteractiveTransparentActive:un,colorBackgroundInteractiveDisabled:tn,colorBackgroundInteractiveReadOnly:sn,colorBackgroundInteractiveInactive:pn,colorBackgroundInteractiveDestructive:_n,colorBackgroundInteractiveDestructiveHover:gn,colorBackgroundInteractiveDestructiveActive:vn,colorBackgroundInteractiveAutoFill:Vo,colorBackgroundInteractivePrimaryNegative:Go,colorBackgroundInteractivePrimaryHoverNegative:Qo,colorBackgroundInteractivePrimaryActiveNegative:Jo,colorBackgroundInteractiveExpressiveNegative:Yo,colorBackgroundInteractiveExpressiveHoverNegative:rn,colorBackgroundInteractiveExpressiveActiveNegative:en,colorBackgroundInteractiveTransparentHoverNegative:an,colorBackgroundInteractiveTransparentActiveNegative:ln,colorBackgroundInteractiveDisabledNegative:on,colorBackgroundInteractiveInactiveNegative:cn,colorBackgroundInteractiveReadOnlyNegative:dn,colorBackgroundStatusInfoMedium:fn,colorBackgroundStatusInfoStrong:mn,colorBackgroundStatusSuccessMedium:hn,colorBackgroundStatusSuccessStrong:xn,colorBackgroundStatusWarningMedium:jn,colorBackgroundStatusWarningStrong:kn,colorBackgroundStatusErrorMedium:$n,colorBackgroundStatusErrorStrong:bn,colorBackgroundStatusNeutral:wn,colorBackgroundStatusSpecial:Bn,colorBackgroundStatusAttention:Tn,colorBackgroundStatusBlackFriday:In,colorBackgroundStatusSuccessStrongNegative:yn,colorBackgroundStatusWarningStrongNegative:Nn,colorBackgroundStatusErrorStrongNegative:Sn,colorBackgroundToneOnTonePrimary:On,colorBackgroundToneOnToneSecondary:Pn,colorBackgroundToneOnToneTertiary:Cn,colorBackgroundToneOnToneQuaternary:An,colorBorderWeak:qn,colorBorderMedium:Mn,colorBorderStrong:zn,colorBorderWeakNegative:Ln,colorBorderMediumNegative:En,colorBorderStrongNegative:Hn,colorBorderInteractivePrimary:Wn,colorBorderInteractivePrimaryHover:Rn,colorBorderInteractivePrimaryActive:Zn,colorBorderInteractiveFocus:Dn,colorBorderInteractiveExpressive:Qn,colorBorderInteractiveSubtle:Kn,colorBorderInteractiveSubtleHover:Xn,colorBorderInteractiveSelected:Jn,colorBorderInteractivePrimaryNegative:Vn,colorBorderInteractivePrimaryHoverNegative:Fn,colorBorderInteractivePrimaryActiveNegative:Gn,colorBorderInteractiveSubtleNegative:Un,colorBorderInteractiveSubtleHoverNegative:Yn,colorBorderStatusError:ra,colorBorderStatusWarning:ta,colorBorderStatusInfo:oa,colorBorderStatusSuccess:na,colorBorderStatusErrorNegative:ea,colorBorderStatusSuccessNegative:aa},Br={light:ia,dark:qt},ua=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),la=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),pa=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),ca=/[^\p{L}\d]+/giu,Tr="$1\0$2",Ir="";function ee(e){let n=e.trim();n=n.replace(ua,Tr).replace(la,Tr),n=n.replace(ca,"\0");let o=0,i=n.length;for(;n.charAt(o)==="\0";)o++;if(o===i)return[];for(;n.charAt(i-1)==="\0";)i--;return n.slice(o,i).split(/\0/g)}function sa(e){const n=ee(e);for(let o=0;o<n.length;o++){const i=n[o],u=pa.exec(i);if(u){const r=u.index+(u[1]??u[2]).length;n.splice(o,1,i.slice(0,r),i.slice(r))}}return n}function da(e,n){const[o,i,u]=va(e,n);return o+i.map(ga(n==null?void 0:n.locale)).join((n==null?void 0:n.delimiter)??" ")+u}function _a(e,n){return da(e,{delimiter:"-",...n})}function ga(e){return e===!1?n=>n.toLowerCase():n=>n.toLocaleLowerCase(e)}function va(e,n={}){const o=n.split??(n.separateNumbers?sa:ee),i=n.prefixCharacters??Ir,u=n.suffixCharacters??Ir;let r=0,t=e.length;for(;r<e.length;){const a=e.charAt(r);if(!i.includes(a))break;r++}for(;t>r;){const a=t-1,d=e.charAt(a);if(!u.includes(d))break;t=a}return[e.slice(0,r),o(e.slice(r,t)),e.slice(t)]}const fa=({theme:e=Br,cssVariablesSelector:n,currentColorScheme:o})=>{_.useEffect(()=>{o&&Object.entries((e==null?void 0:e[o])??Br[o]).forEach(([i,u])=>{((n?document.querySelector(n):null)??document.documentElement).style.setProperty(`--purpur-${_a(i)}`,u)})},[e,n,o])},ma=_.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),te=()=>{const e=_.useContext(ma);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},ha=()=>{const{currentColorScheme:e,setColorScheme:n}=te();return[e,n]};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F={exports:{}};/*!
|
|
37
|
+
*/var Cr;function Ot(){return Cr||(Cr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Sr)),Sr.exports}var zt=Ot();const Pt=kt(zt),Mt={"purpur-select":"_purpur-select_t7uxd_1","purpur-select__label":"_purpur-select__label_t7uxd_7","purpur-select__field-row":"_purpur-select__field-row_t7uxd_12","purpur-select__frame":"_purpur-select__frame_t7uxd_16","purpur-select__frame--negative":"_purpur-select__frame--negative_t7uxd_23","purpur-select__select-container":"_purpur-select__select-container_t7uxd_26","purpur-select__select-container--disabled":"_purpur-select__select-container--disabled_t7uxd_34","purpur-select__select-container--readonly":"_purpur-select__select-container--readonly_t7uxd_37","purpur-select__select-container--negative":"_purpur-select__select-container--negative_t7uxd_40","purpur-select__select":"_purpur-select__select_t7uxd_26","purpur-select__select--error":"_purpur-select__select--error_t7uxd_98","purpur-select__select--is-valid":"_purpur-select__select--is-valid_t7uxd_104","purpur-select__select--negative":"_purpur-select__select--negative_t7uxd_110","purpur-select__end-adornments":"_purpur-select__end-adornments_t7uxd_120","purpur-select__select-icon":"_purpur-select__select-icon_t7uxd_130","purpur-select__select-icon--readonly":"_purpur-select__select-icon--readonly_t7uxd_133","purpur-select__select-icon--disabled":"_purpur-select__select-icon--disabled_t7uxd_133","purpur-select__select-icon--negative":"_purpur-select__select-icon--negative_t7uxd_136","purpur-select__valid-icon":"_purpur-select__valid-icon_t7uxd_142"},$=Pt.bind(Mt),s="purpur-select",Kr=h.forwardRef(({label:e,options:u,className:n,errorText:a,helperText:p,negative:r=!1,placeholder:t,readOnly:i=!1,["data-testid"]:c,valid:d,loading:x,...l},g)=>{const f=C=>c?`${c}-${C}`:void 0,y=d&&!a,k=h.useId(),S=l.id??k,O=p?`${S}-helper-text`:void 0,H=$(`${s}__select-container`,{[`${s}__select-container--disabled`]:l.disabled,[`${s}__select-container--readonly`]:i&&!l.disabled,[`${s}__select-container--negative`]:r});return $(`${s}__select-icon`,{[`${s}__select-icon--disabled`]:l.disabled,[`${s}__select-icon--readonly`]:i&&!l.disabled,[`${s}__select-icon--is-valid`]:y,[`${s}__select-icon--negative`]:r}),y&&$(`${s}__valid-icon`),o.jsxs("div",{className:$(s,n,{[`${s}--negative`]:r}),children:[e&&o.jsxs(ht,{htmlFor:S,className:$(`${s}__label`),"data-testid":f("label"),disabled:l.disabled,negative:r,children:[l.required&&o.jsx("span",{"aria-hidden":!0,children:"*"}),e]}),o.jsx("div",{className:$(`${s}__field-row`),children:o.jsxs("div",{className:H,children:[o.jsxs("select",{...l,onChange:i||l==null?void 0:l.onChange,id:S,ref:g,"data-testid":f("select"),"aria-describedby":l["aria-describedby"]||O,"aria-invalid":l["aria-invalid"]||!!a,"aria-disabled":l["aria-disabled"]||l.disabled,"aria-readonly":l["aria-readonly"]||i&&!l.disabled,className:$(`${s}__select`,{[`${s}__select--error`]:!!a,[`${s}__select--is-valid`]:y,[`${s}__select--negative`]:r}),children:[t&&o.jsx("option",{value:t.value??t.label,disabled:!0,children:t.label}),u.map((C,A)=>At(C)?qt(C,S,A,i):Qr(C,S,A,i))]}),o.jsxs("div",{className:$(`${s}__end-adornments`),children:[x?o.jsx(Ct,{disabled:l.disabled,size:"xxs",negative:r,"data-testid":f("spinner")},"spinner"):o.jsx(Wr,{className:$(`${s}__select-icon`,{[`${s}__select-icon--disabled`]:l.disabled,[`${s}__select-icon--readonly`]:i&&!l.disabled,[`${s}__select-icon--is-valid`]:y,[`${s}__select-icon--negative`]:r}),"data-testid":f("dropdown-icon"),size:"sm"},"chevron-down-icon"),y&&o.jsx(Gr,{"data-testid":f("valid-icon"),className:$(`${s}__valid-icon`)},"valid-icon")]}),o.jsx("div",{className:$(`${s}__frame`,{[`${s}__frame--negative`]:r})})]})}),O&&o.jsx(Ee,{disabled:l.disabled,"data-testid":f("helper-text"),id:O,negative:r,children:p}),a&&o.jsx(Te,{negative:r,"data-testid":f("error-text"),children:a})]})}),At=e=>e.hasOwnProperty("options"),qt=(e,u,n,a)=>{const p=`${u}--group--${n}`;return o.jsx("optgroup",{label:e.label,children:e.options.map((r,t)=>Qr(r,p,t,a))},p)},Qr=(e,u,n,a)=>o.jsx("option",{value:e.value??e.label,disabled:a,children:e.label},`${u}--option--${n}`);Kr.displayName="Select";function Tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var W={exports:{}};/*!
|
|
38
38
|
Copyright (c) 2018 Jed Watson.
|
|
39
39
|
Licensed under the MIT License (MIT), see
|
|
40
40
|
http://jedwatson.github.io/classnames
|
|
41
|
-
*/var
|
|
41
|
+
*/var kr;function It(){return kr||(kr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(W)),W.exports}var Vt=It();const X=Tt(Vt),_="purpur-footer",Y={"purpur-footer":"_purpur-footer_1jrwm_1","purpur-footer__container":"_purpur-footer__container_1jrwm_8","purpur-footer__logo":"_purpur-footer__logo_1jrwm_29","purpur-footer__logo--telia":"_purpur-footer__logo--telia_1jrwm_33","purpur-footer__social":"_purpur-footer__social_1jrwm_53","purpur-footer__social--md":"_purpur-footer__social--md_1jrwm_69","purpur-footer__social--sm":"_purpur-footer__social--sm_1jrwm_77","purpur-footer__social-link":"_purpur-footer__social-link_1jrwm_86","purpur-footer__navigation":"_purpur-footer__navigation_1jrwm_106","purpur-footer__navigation-section":"_purpur-footer__navigation-section_1jrwm_115","purpur-footer__navigation-section-heading":"_purpur-footer__navigation-section-heading_1jrwm_118","purpur-footer__navigation--lg":"_purpur-footer__navigation--lg_1jrwm_141","purpur-footer__navigation--sm":"_purpur-footer__navigation--sm_1jrwm_155","purpur-footer__custom-link-navigation":"_purpur-footer__custom-link-navigation_1jrwm_179","purpur-footer__payments":"_purpur-footer__payments_1jrwm_201","purpur-footer__payments-image":"_purpur-footer__payments-image_1jrwm_217","purpur-footer__contacts":"_purpur-footer__contacts_1jrwm_221","purpur-footer__contacts-copyright":"_purpur-footer__contacts-copyright_1jrwm_236","purpur-footer__contacts-address":"_purpur-footer__contacts-address_1jrwm_241","purpur-footer__theme-select":"_purpur-footer__theme-select_1jrwm_245","purpur-footer__additional":"_purpur-footer__additional_1jrwm_254","purpur-footer__additional-links":"_purpur-footer__additional-links_1jrwm_271","purpur-footer__custom-content":"_purpur-footer__custom-content_1jrwm_283"};function Ht(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Or={exports:{}};/*!
|
|
42
42
|
Copyright (c) 2018 Jed Watson.
|
|
43
43
|
Licensed under the MIT License (MIT), see
|
|
44
44
|
http://jedwatson.github.io/classnames
|
|
45
|
-
*/var
|
|
45
|
+
*/var zr;function Lt(){return zr||(zr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a(i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Or)),Or.exports}var Zt=Lt();const Rt=Ht(Zt),L={"purpur-heading":"_purpur-heading_vo751_1","purpur-heading--hyphens":"_purpur-heading--hyphens_vo751_8","purpur-heading--negative":"_purpur-heading--negative_vo751_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_vo751_14","purpur-heading--title-100":"_purpur-heading--title-100_vo751_20","purpur-heading--title-200":"_purpur-heading--title-200_vo751_26","purpur-heading--title-300":"_purpur-heading--title-300_vo751_32","purpur-heading--title-400":"_purpur-heading--title-400_vo751_38","purpur-heading--title-500":"_purpur-heading--title-500_vo751_44","purpur-heading--title-600":"_purpur-heading--title-600_vo751_50","purpur-heading--title-700":"_purpur-heading--title-700_vo751_56","purpur-heading--display-5":"_purpur-heading--display-5_vo751_62","purpur-heading--display-10":"_purpur-heading--display-10_vo751_68","purpur-heading--display-15":"_purpur-heading--display-15_vo751_74","purpur-heading--display-20":"_purpur-heading--display-20_vo751_80","purpur-heading--display-25":"_purpur-heading--display-25_vo751_86","purpur-heading--display-50":"_purpur-heading--display-50_vo751_92","purpur-heading--display-100":"_purpur-heading--display-100_vo751_98","purpur-heading--display-200":"_purpur-heading--display-200_vo751_104"},Et={TITLE100:"title-100"},Z="purpur-heading",rr=({children:e,className:u="",enableHyphenation:n=!1,negative:a=!1,tag:p,variant:r=Et.TITLE100,...t})=>{const i=p,c=Rt([u,L[Z],L[`${Z}--${r}`],{[L[`${Z}--hyphens`]]:n,[L[`${Z}--negative`]]:a}]);return o.jsx(i,{className:c,...t,children:e})};rr.displayName="Heading";function Bt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pr={exports:{}};/*!
|
|
46
46
|
Copyright (c) 2018 Jed Watson.
|
|
47
47
|
Licensed under the MIT License (MIT), see
|
|
48
48
|
http://jedwatson.github.io/classnames
|
|
49
|
-
*/var Mr;function
|
|
49
|
+
*/var Mr;function Dt(){return Mr||(Mr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Pr)),Pr.exports}var Ft=Dt();const Ur=Bt(Ft),Gt={"purpur-accordion":"_purpur-accordion_mwmy0_1","purpur-accordion__title":"_purpur-accordion__title_mwmy0_4","purpur-accordion--negative":"_purpur-accordion--negative_mwmy0_13"};function Wt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ar={exports:{}};/*!
|
|
50
50
|
Copyright (c) 2018 Jed Watson.
|
|
51
51
|
Licensed under the MIT License (MIT), see
|
|
52
52
|
http://jedwatson.github.io/classnames
|
|
53
|
-
*/var
|
|
53
|
+
*/var qr;function Jt(){return qr||(qr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Ar)),Ar.exports}var Kt=Jt();const Qt=Wt(Kt),Ut={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Xt=Qt.bind(Ut),Tr="purpur-icon",Yt="md",rn=e=>e.filter(u=>Object.keys(u).length>=1).map(u=>`${u.name}="${u.value}"`).join(" "),en=({content:e="",title:u}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},u?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=u?`<title>${u}</title>`:"";return`<svg ${rn(n)}>${a}${e}</svg>`},tn=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Xr=({svg:e,allyTitle:u,className:n,size:a=Yt,...p})=>{const r=en({content:tn(e.svg),title:u}),t=Xt(n,Tr,`${Tr}--${a}`);return o.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...p})};Xr.displayName="Icon";const nn={name:"chevron-down",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["chevron-down"],category:"utility"},Yr=e=>o.jsx(Xr,{...e,svg:nn});Yr.displayName="IconChevronDown";function un(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir={exports:{}};/*!
|
|
54
54
|
Copyright (c) 2018 Jed Watson.
|
|
55
55
|
Licensed under the MIT License (MIT), see
|
|
56
56
|
http://jedwatson.github.io/classnames
|
|
57
|
-
*/var
|
|
57
|
+
*/var Vr;function an(){return Vr||(Vr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Ir)),Ir.exports}var pn=an();const on=un(pn),ln={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},sn=on.bind(ln),_n={PARAGRAPH100:"paragraph-100"},V="purpur-paragraph",re=({children:e,className:u,disabled:n,enableHyphenation:a=!1,negative:p=!1,variant:r=_n.PARAGRAPH100,...t})=>{const i=sn(u,V,`${V}--${r}`,{[`${V}--hyphens`]:a,[`${V}--disabled`]:n,[`${V}--negative`]:p});return o.jsx("p",{...t,className:i,children:e})};re.displayName="Paragraph";const cn={"purpur-accordion-item":"_purpur-accordion-item_1du2l_1","purpur-accordion-item__trigger":"_purpur-accordion-item__trigger_1du2l_4","purpur-accordion-item__header":"_purpur-accordion-item__header_1du2l_10","purpur-accordion-item__trigger__icon":"_purpur-accordion-item__trigger__icon_1du2l_43","purpur-accordion-item__title":"_purpur-accordion-item__title_1du2l_49","purpur-accordion-item__icon":"_purpur-accordion-item__icon_1du2l_50","purpur-accordion-item__rotate":"_purpur-accordion-item__rotate_1du2l_64","purpur-accordion-item__content":"_purpur-accordion-item__content_1du2l_67","purpur-accordion-item__contentText":"_purpur-accordion-item__contentText_1du2l_82","purpur-accordion-item__contentText--limit-width":"_purpur-accordion-item__contentText--limit-width_1du2l_85","purpur-accordion-item--negative":"_purpur-accordion-item--negative_1du2l_107"},P=Ur.bind(cn),w="purpur-accordion-item",dn=({children:e,className:u,fullWidth:n=!1,title:a,titleTag:p="h3",initialOpen:r=!1,onClick:t,onOpen:i,onClose:c,...d})=>{const x=h.useContext(ee),l=h.useId(),[g,f]=h.useState(!r),y=P([u,w,{[`${w}--negative`]:x}]);return o.jsxs("div",{className:y,...d,children:[o.jsx(rr,{tag:p,variant:"title-100",className:P([`${w}__header`,`${w}__title`]),children:o.jsxs("button",{type:"button","data-state":g?"open":"close",onClick:k=>{t&&t(k),g?i&&i():c&&c(),f(!g)},className:P(`${w}__trigger`,u,{[`${w}__rotate`]:!g}),"aria-expanded":!g,"aria-controls":l,id:l+"button",children:[a,o.jsx(Yr,{size:"md",className:P(`${w}__icon`),"aria-hidden":!0})]})}),o.jsx("div",{className:P(`${w}__content`,u),"aria-hidden":g,id:l,"aria-labelledby":l+"button",role:"region",children:o.jsx("div",{className:P(`${w}__contentText`,{[`${w}__contentText--limit-width`]:!n}),children:typeof e=="string"?o.jsx(re,{variant:"paragraph-200",children:e}):e})})]})},Hr=Ur.bind(Gt),J="purpur-accordion",ee=h.createContext(!1),R=({children:e,className:u,negative:n=!1,title:a,titleTag:p="h2",titleVariant:r="title-300",schema:t,...i})=>{const c=Hr([u,J,{[`${J}--negative`]:n}]);return o.jsxs("div",{className:c,...i,children:[a&&o.jsx(rr,{tag:p,variant:r,className:Hr(`${J}__title`),children:a}),o.jsx(ee.Provider,{value:n,children:e}),t&&o.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:t}})]})};R.Item=dn;R.displayName="Accordion";const M=X.bind(Y),Lr=({links:e,customLink:u})=>o.jsx("ul",{children:e.map(({href:n,text:a,...p},r)=>o.jsx("li",{children:u?o.jsx(u,{...p,href:n,className:M(`${_}__custom-link-navigation`),children:a}):o.jsx(Q,{...p,variant:"navigation",negative:!0,href:n,disableVisited:!0,children:a})},r))}),gn=({navigationLinks:e,sectionProps:u,customLink:n})=>o.jsxs(o.Fragment,{children:[o.jsx("section",{...u,className:M(`${_}__navigation`,`${_}__navigation--lg`,u==null?void 0:u.className),children:e.map((a,p)=>o.jsxs("div",{className:M(`${_}__navigation-section`),children:[o.jsx("h3",{className:M(`${_}__navigation-section-heading`),children:a.heading}),o.jsx(Lr,{links:a.links,customLink:n})]},p))}),o.jsx("section",{...u,className:M(`${_}__navigation`,`${_}__navigation--sm`,u==null?void 0:u.className),children:o.jsx(R,{negative:!0,children:e.map((a,p)=>o.jsx(R.Item,{title:a.heading,titleTag:"h2",className:M(`${_}__navigation-section`),children:o.jsx(Lr,{links:a.links,customLink:n})},p))})})]});function mn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zr={exports:{}};/*!
|
|
58
58
|
Copyright (c) 2018 Jed Watson.
|
|
59
59
|
Licensed under the MIT License (MIT), see
|
|
60
60
|
http://jedwatson.github.io/classnames
|
|
61
|
-
*/var Rr;function
|
|
61
|
+
*/var Rr;function fn(){return Rr||(Rr=1,(function(e){(function(){var u={}.hasOwnProperty;function n(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=p(r,a.call(this,i)))}return r}function a(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)u.call(r,i)&&r[i]&&(t=p(t,this&&this[i]||i));return t}function p(r,t){return t?r?r+" "+t:r+t:r}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Zr)),Zr.exports}var vn=fn();const hn=mn(vn),xn={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},yn=hn.bind(xn),Er="purpur-icon",$n="md",jn=e=>e.filter(u=>Object.keys(u).length>=1).map(u=>`${u.name}="${u.value}"`).join(" "),bn=({content:e="",title:u}={})=>{const n=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},u?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],a=u?`<title>${u}</title>`:"";return`<svg ${jn(n)}>${a}${e}</svg>`},wn=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),te=({svg:e,allyTitle:u,className:n,size:a=$n,...p})=>{const r=bn({content:wn(e.svg),title:u}),t=yn(n,Er,`${Er}--${a}`);return o.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...p})};te.displayName="Icon";const Nn=X.bind(Y),Br=({icon:e,href:u,...n})=>o.jsx("a",{...n,href:u,className:Nn(`${_}__social-link`),rel:"noreferrer",target:"_blank",children:o.jsx(te,{svg:e})}),Sn=()=>o.jsxs("svg",{width:"81",height:"32",viewBox:"0 0 81 32",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":"true",children:[o.jsxs("g",{clipPath:"url(#clip0_5309_7721)",children:[o.jsx("path",{d:"M81.28 16.8043V25.2064H78.5458V23.8293C77.6183 25.04 76.1438 25.4912 74.9076 25.4912C72.3401 25.4912 70.8186 23.8773 70.8186 21.8592C70.8186 19.5573 73.4107 17.6821 76.5723 17.6821C77.1909 17.6821 77.8566 17.7301 78.4507 17.92V17.1371C78.4507 15.9499 77.7615 15.3333 76.3586 15.3333C75.0989 15.3333 73.9812 15.9744 73.2921 16.8053L71.2235 15.2864C72.3882 13.9339 74.3862 12.9845 76.4067 12.9845C79.5683 12.9824 81.28 14.3595 81.28 16.8043ZM78.4507 20.6251V20.1024C77.9752 19.936 77.4762 19.8891 76.8576 19.8891C74.7174 19.8891 73.6244 20.7435 73.6244 21.7877C73.6244 22.6421 74.3616 23.1883 75.4792 23.1883C76.9527 23.1883 78.4507 22.3104 78.4507 20.6251Z",fill:"currentColor"}),o.jsx("path",{d:"M65.8021 9.968C65.8021 9.04214 66.6109 8.28267 67.5373 8.28267C68.4412 8.28267 69.249 9.04214 69.249 9.968C69.249 10.8939 68.4401 11.6533 67.5373 11.6533C66.6109 11.6533 65.8021 10.8939 65.8021 9.968ZM66.0638 25.2064V13.3387H68.9883V25.2064H66.0638Z",fill:"currentColor"}),o.jsx("path",{d:"M64.2806 25.2533C63.8286 25.3483 63.3531 25.3717 62.9257 25.3717C60.8337 25.3717 59.9062 24.3744 59.9062 22.3573V8.59093H62.8306V21.9541C62.8306 22.9749 63.4493 23.1168 64.2806 23.0219V25.2533Z",fill:"currentColor"}),o.jsx("path",{d:"M58.0513 20.1035H49.2781C49.5869 21.8603 50.8477 23.0229 52.4643 23.0229C53.677 23.0229 54.6514 22.4768 55.2466 21.5755L57.5769 22.976C56.3877 24.5664 54.4388 25.5157 52.4653 25.5157C49.2086 25.5157 46.3793 22.9291 46.3793 19.2256C46.3793 15.5221 49.1851 12.96 52.3232 12.96C56.4347 12.9589 58.4552 16.2347 58.0513 20.1035ZM49.3732 17.8955H55.222C54.8651 16.3531 53.8672 15.3792 52.3211 15.3792C50.8712 15.3803 49.7771 16.3765 49.3732 17.8955Z",fill:"currentColor"}),o.jsx("path",{d:"M48.6359 11.2971H43.69V25.2064H40.5518V11.2971H35.5589V8.59093H48.6359V11.2971Z",fill:"currentColor"}),o.jsx("path",{d:"M16.9321 27.4656C11.5983 29.6245 8.54567 28.9365 6.85855 27.5904L6.83397 27.5712C9.44532 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z",fill:"currentColor"}),o.jsx("path",{d:"M20.9806 22.4843C25.137 20.0779 28.8809 15.9968 30.0616 13.0869C30.3971 10.6784 30.4654 10.3744 30.506 7.7248C30.5114 7.35787 30.4889 7.00587 30.4548 6.6688C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43738 23.5435 1.74589 20.6027C2.6808 22.4459 3.29411 23.3408 4.34549 24.7083C7.45048 27.4539 13.9853 26.5355 20.9806 22.4843Z",fill:"currentColor"}),o.jsx("path",{d:"M17.5721 15.8923C25.1562 12.24 30.4387 7.04427 29.5177 3.6C28.0058 0.993067 24.9457 0 21.6644 0C11.9381 0 0 6.4 0 14.5653C0 15.6149 0.231859 16.7883 0.647496 18.0181C2.86565 20.9568 9.64833 19.7077 17.5721 15.8923Z",fill:"currentColor"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_5309_7721",children:o.jsx("rect",{width:"81",height:"32",fill:"currentColor"})})})]}),v=X.bind(Y),ne=({className:e,navigation:u,social:n,contacts:a,additional:p,custom:r,payments:t,logo:i,themeSelect:c,forceColorScheme:d,...x})=>{var S,O,H,C,A,er,tr,nr;const l=v(e,_),g=h.useId(),{options:f}=B.useTheme(),[y,k]=B.useColorScheme();return B.useApplyTheme({cssVariablesSelector:`[data-id="${g}"]`,currentColorScheme:d??(f==null?void 0:f.footerColorScheme)}),o.jsx("footer",{"data-id":g,className:l,...x,children:o.jsx(K,{children:o.jsxs("div",{className:v(`${_}__container`),children:[o.jsx("div",{className:v(`${_}__logo`,{[`${_}__logo--telia`]:!i}),children:i??o.jsx(Sn,{})}),n&&o.jsx("section",{...n.sectionProps,className:v(`${_}__social`,`${_}__social--md`,(S=n.sectionProps)==null?void 0:S.className),children:n.links.map(({icon:j,href:b,...q})=>h.createElement(Br,{...q,icon:j,href:b,key:b}))}),u&&o.jsx(gn,{customLink:u.customLink,navigationLinks:u.links,sectionProps:u.sectionProps}),t&&o.jsx("section",{...t.sectionProps,className:v(`${_}__payments`,(O=t.sectionProps)==null?void 0:O.className),children:t.images.map(({alt:j,src:b})=>o.jsx("img",{className:v(`${_}__payments-image`),src:b,alt:j},b))}),a&&o.jsxs("section",{...a.sectionProps,className:v(`${_}__contacts`,(H=a.sectionProps)==null?void 0:H.className),children:[a.copyright&&o.jsx("div",{className:v(`${_}__contacts-copyright`),children:a.copyright}),a.address&&o.jsx("address",{...a.address.addressProps,className:v(`${_}__contacts-address`,(C=a.address.addressProps)==null?void 0:C.className),children:a.address.content})]}),(r||p)&&o.jsxs("div",{className:v(`${_}__additional`),children:[r&&o.jsx("section",{...r.sectionProps,className:v(`${_}__custom-content`,(A=r.sectionProps)==null?void 0:A.className),children:r.content}),c&&o.jsx(Kr,{value:y,label:c.label,options:c.options,negative:!0,className:v(`${_}__theme-select`),onChange:j=>{k(j.target.value)}}),p&&o.jsx("section",{...p.sectionProps,className:v(`${_}__additional-links`,(er=p.sectionProps)==null?void 0:er.className),children:(tr=p==null?void 0:p.links)==null?void 0:tr.map(({href:j,text:b,...q})=>h.createElement(Q,{...q,variant:"standalone",negative:!0,href:j,key:j,disableVisited:!0},b))})]}),n&&o.jsx("section",{...n.sectionProps,className:v(`${_}__social`,`${_}__social--sm`,(nr=n.sectionProps)==null?void 0:nr.className),children:n.links.map(({icon:j,href:b,...q})=>h.createElement(Br,{...q,icon:j,href:b,key:b}))})]})})})};ne.displayName="Footer";exports.Footer=ne;
|
|
62
62
|
//# sourceMappingURL=footer.cjs.js.map
|