@purpurds/footer 8.2.2 → 8.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +6 -6
- 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 +301 -293
- package/dist/footer.es.js.map +1 -1
- package/package.json +14 -13
package/dist/LICENSE.txt
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
Name: @purpurds/grid
|
|
2
|
-
Version: 8.2.
|
|
2
|
+
Version: 8.2.2
|
|
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.2
|
|
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.
|
|
16
|
+
Version: 8.2.2
|
|
17
17
|
License: AGPL-3.0-only
|
|
18
18
|
Private: false
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
22
|
Name: @purpurds/theme
|
|
23
|
-
Version: 8.2.
|
|
23
|
+
Version: 8.2.2
|
|
24
24
|
License: AGPL-3.0-only
|
|
25
25
|
Private: false
|
|
26
26
|
|
|
@@ -61,13 +61,13 @@ SOFTWARE.
|
|
|
61
61
|
---
|
|
62
62
|
|
|
63
63
|
Name: @purpurds/accordion
|
|
64
|
-
Version: 8.2.
|
|
64
|
+
Version: 8.2.2
|
|
65
65
|
License: AGPL-3.0-only
|
|
66
66
|
Private: false
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
70
70
|
Name: @purpurds/icon
|
|
71
|
-
Version: 8.2.
|
|
71
|
+
Version: 8.2.2
|
|
72
72
|
License: AGPL-3.0-only
|
|
73
73
|
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 p=require("react/jsx-runtime"),_=require("react");require("react-dom");function pe(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const f=pe(_);function le(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var or={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 nr;function ce(){return nr||(nr=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})()})(or)),or.exports}var se=ce();const Fr=le(se),de={"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"},_e=Fr.bind(de),M="purpur-grid-item",W=({children:e,className:n,colSpanSm:o=4,colSpanMd:i=8,colSpanLg:u=12,noColGap:r=!1,...t})=>{const a=_e([n,M,{[`${M}--no-col-gap`]:r,[`${M}-colspan-sm-${o}`]:o,[`${M}-colspan-md-${i}`]:i,[`${M}-colspan-lg-${u}`]:u}]);return p.jsx("div",{className:a,...t,children:e})},ge=e=>!!e&&_.isValidElement(e)&&e.type===W;W.displayName="Grid.Item";const ve={"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=Fr.bind(ve),fe="purpur-grid",j="purpur-grid__inner",Q=({children:e,className:n,containerClassName:o,colsSm:i=1,colsMd:u=1,colsLg:r=1,noGap:t=!1,noColGap:a=!1,noRowGap:d=!1,...g})=>{const x=_.Children.toArray(e).filter(ge),l=!!x.length,v=ar([o,fe]),m=ar([n,j,{[`${j}--grid`]:!l,[`${j}--flex`]:l,[`${j}--no-gap`]:t,[`${j}--no-col-gap`]:a,[`${j}--no-row-gap`]:d,[`${j}-col-sm-${i}`]:i>1&&!l,[`${j}-col-md-${u}`]:u>1&&!l,[`${j}-col-lg-${r}`]:r>1&&!l}]);return p.jsx("div",{className:v,...g,children:p.jsx("div",{className:m,children:l?_.Children.map(x,({props:{children:y,...B}})=>p.jsx(W,{...B,noColGap:t||a,children:y})):e})})};Q.displayName="Grid";Q.Item=W;function me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ir={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 ur;function he(){return ur||(ur=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})()})(ir)),ir.exports}var xe=he();const ye=me(xe),$e={"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"},be=ye.bind($e),I="purpur-link",J=({["data-testid"]:e,children:n,className:o,disableVisited:i=!0,ensureTargetArea:u,href:r,negative:t=!1,onClick:a,rel:d,silent:g,target:x,variant:l,...v})=>p.jsx("span",{className:be(o,I,`${I}--${t?`${l}-negative`:l}`,{[`${I}--silent`]:g,[`${I}--negative`]:t,[`${I}--disable-visited`]:i??g,[`${I}--ensure-target-area`]:u}),"data-testid":e,onClick:r?void 0:a,...r?{}:v,children:r?p.jsx("a",{href:r,target:x,rel:d,onClick:a,"data-testid":e?`${e} a`:void 0,...v,children:n}):n});J.displayName="Link";function Se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pr={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 lr;function ke(){return lr||(lr=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})()})(pr)),pr.exports}var je=ke();const Ne=Se(je),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"},Be=Ne.bind(we),cr="purpur-icon",Te="md",Ie=e=>e.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),Oe=({content:e="",title:n}={})=>{const o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],i=n?`<title>${n}</title>`:"";return`<svg ${Ie(o)}>${i}${e}</svg>`},Pe=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Gr=({svg:e,allyTitle:n,className:o,size:i=Te,...u})=>{const r=Oe({content:Pe(e.svg),title:n}),t=Be(o,cr,`${cr}--${i}`);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...u})};Gr.displayName="Icon";const Ce={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 Ae(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sr={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 Me(){return dr||(dr=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})()})(sr)),sr.exports}var Ee=Me();const ze=Ae(Ee),He={"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"},_r=ze.bind(He),V="purpur-field-error-text",qe=({children:e,className:n,negative:o=!1,["aria-relevant"]:i="additions text",...u})=>p.jsxs("div",{className:_r(n,V,{[`${V}--negative`]:o}),"aria-live":"assertive","aria-relevant":i,...u,children:[p.jsx(Gr,{svg:Ce,size:"xs",className:_r(`${V}__icon`)}),e]});function Le(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gr={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
|
|
21
|
+
*/var vr;function De(){return vr||(vr=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})()})(gr)),gr.exports}var We=De();const Ve=Le(We),Re={"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"},Ze=Ve.bind(Re),R="purpur-field-helper-text",Fe=({children:e,className:n,disabled:o,id:i,negative:u,...r})=>{const t=Ze(n,R,{[`${R}--disabled`]:o,[`${R}--negative`]:u});return p.jsx("span",{id:i,className:t,...r,children:e})};function Ge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fr={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
|
|
25
|
+
*/var mr;function Qe(){return mr||(mr=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})()})(fr)),fr.exports}var Je=Qe();const Ke=Ge(Je),Ue={"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"},Xe=Ke.bind(Ue),hr="purpur-icon",Ye="md",rt=e=>e.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),et=({content:e="",title:n}={})=>{const o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],i=n?`<title>${n}</title>`:"";return`<svg ${rt(o)}>${i}${e}</svg>`},tt=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),K=({svg:e,allyTitle:n,className:o,size:i=Ye,...u})=>{const r=et({content:tt(e.svg),title:n}),t=Xe(o,hr,`${hr}--${i}`);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...u})};K.displayName="Icon";const ot={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"},Qr=e=>p.jsx(K,{...e,svg:ot});Qr.displayName="IconCheckCircleFilled";const nt={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"},Jr=e=>p.jsx(K,{...e,svg:nt});Jr.displayName="IconChevronDown";function xr(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function at(...e){return n=>{let o=!1;const i=e.map(u=>{const r=xr(u,n);return!o&&typeof r=="function"&&(o=!0),r});if(o)return()=>{for(let u=0;u<i.length;u++){const r=i[u];typeof r=="function"?r():xr(e[u],null)}}}}function it(e){const n=ut(e),o=f.forwardRef((i,u)=>{const{children:r,...t}=i,a=f.Children.toArray(r),d=a.find(lt);if(d){const g=d.props.children,x=a.map(l=>l===d?f.Children.count(g)>1?f.Children.only(null):f.isValidElement(g)?g.props.children:null:l);return p.jsx(n,{...t,ref:u,children:f.isValidElement(g)?f.cloneElement(g,void 0,x):null})}return p.jsx(n,{...t,ref:u,children:r})});return o.displayName=`${e}.Slot`,o}function ut(e){const n=f.forwardRef((o,i)=>{const{children:u,...r}=o;if(f.isValidElement(u)){const t=st(u),a=ct(r,u.props);return u.type!==f.Fragment&&(a.ref=i?at(i,t):t),f.cloneElement(u,a)}return f.Children.count(u)>1?f.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var pt=Symbol("radix.slottable");function lt(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pt}function ct(e,n){const o={...n};for(const i in n){const u=e[i],r=n[i];/^on[A-Z]/.test(i)?u&&r?o[i]=(...t)=>{const a=r(...t);return u(...t),a}:u&&(o[i]=u):i==="style"?o[i]={...u,...r}:i==="className"&&(o[i]=[u,r].filter(Boolean).join(" "))}return{...e,...o}}function st(e){var n,o;let i=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,u=i&&"isReactWarning"in i&&i.isReactWarning;return u?e.ref:(i=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,u=i&&"isReactWarning"in i&&i.isReactWarning,u?e.props.ref:e.props.ref||e.ref)}var dt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_t=dt.reduce((e,n)=>{const o=it(`Primitive.${n}`),i=f.forwardRef((u,r)=>{const{asChild:t,...a}=u,d=t?o:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(d,{...a,ref:r})});return i.displayName=`Primitive.${n}`,{...e,[n]:i}},{}),gt="Label",Kr=f.forwardRef((e,n)=>p.jsx(_t.label,{...e,ref:n,onMouseDown:o=>{var i;o.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,o),!o.defaultPrevented&&o.detail>1&&o.preventDefault())}}));Kr.displayName=gt;var vt=Kr;function ft(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yr={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 $r;function mt(){return $r||($r=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})()})(yr)),yr.exports}var ht=mt();const xt=ft(ht),yt={"purpur-label":"_purpur-label_1x80u_1","purpur-label--negative":"_purpur-label--negative_1x80u_8","purpur-label--disabled":"_purpur-label--disabled_1x80u_11"},$t=xt.bind(yt),Z="purpur-label",bt=({children:e,className:n,disabled:o,negative:i=!1,...u})=>{const r=$t(n,Z,{[`${Z}--disabled`]:o,[`${Z}--negative`]:i});return p.jsx(vt,{className:r,...u,children:e})};function St(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 Sr;function kt(){return Sr||(Sr=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})()})(br)),br.exports}var jt=kt();const Nt=St(jt),wt="_rotate_12t9p_1",Bt="_dash_12t9p_1",Tt={"purpur-spinner":"_purpur-spinner_12t9p_2",rotate:wt,"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:Bt,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_12t9p_41","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_12t9p_44"},kr=Nt.bind(Tt),E="purpur-spinner",It={SM:"sm"},Ot=({disabled:e=!1,negative:n=!1,size:o=It.SM,...i})=>p.jsx("div",{className:kr(E,`${E}--${o}`),...i,children:p.jsx("svg",{viewBox:"0 0 50 50",children:p.jsx("circle",{className:kr(`${E}__circle`,{[`${E}__circle--disabled`]:e,[`${E}__circle--negative`]:n}),cx:"25",cy:"25",r:"20"})})});function Pt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jr={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 Nr;function Ct(){return Nr||(Nr=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})()})(jr)),jr.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"},$=Mt.bind(Et),c="purpur-select",Ur=_.forwardRef(({label:e,options:n,className:o,errorText:i,helperText:u,negative:r=!1,placeholder:t,readOnly:a=!1,["data-testid"]:d,valid:g,loading:x,...l},v)=>{const m=w=>d?`${d}-${w}`:void 0,y=g&&!i,B=_.useId(),N=l.id??B,T=u?`${N}-helper-text`:void 0,H=$(`${c}__select-container`,{[`${c}__select-container--disabled`]:l.disabled,[`${c}__select-container--readonly`]:a&&!l.disabled,[`${c}__select-container--negative`]:r});return $(`${c}__select-icon`,{[`${c}__select-icon--disabled`]:l.disabled,[`${c}__select-icon--readonly`]:a&&!l.disabled,[`${c}__select-icon--is-valid`]:y,[`${c}__select-icon--negative`]:r}),y&&$(`${c}__valid-icon`),p.jsxs("div",{className:$(c,o,{[`${c}--negative`]:r}),children:[e&&p.jsxs(bt,{htmlFor:N,className:$(`${c}__label`),"data-testid":m("label"),disabled:l.disabled,negative:r,children:[l.required&&p.jsx("span",{"aria-hidden":!0,children:"*"}),e]}),p.jsx("div",{className:$(`${c}__field-row`),children:p.jsxs("div",{className:H,children:[p.jsxs("select",{...l,onChange:a||l==null?void 0:l.onChange,id:N,ref:v,"data-testid":m("select"),"aria-describedby":l["aria-describedby"]||T,"aria-invalid":l["aria-invalid"]||!!i,"aria-disabled":l["aria-disabled"]||l.disabled,"aria-readonly":l["aria-readonly"]||a&&!l.disabled,className:$(`${c}__select`,{[`${c}__select--error`]:!!i,[`${c}__select--is-valid`]:y,[`${c}__select--negative`]:r}),children:[t&&p.jsx("option",{value:t.value??t.label,disabled:!0,children:t.label}),n.map((w,C)=>zt(w)?Ht(w,N,C,a):Xr(w,N,C,a))]}),p.jsxs("div",{className:$(`${c}__end-adornments`),children:[x?p.jsx(Ot,{disabled:l.disabled,size:"xxs",negative:r,"data-testid":m("spinner")},"spinner"):p.jsx(Jr,{className:$(`${c}__select-icon`,{[`${c}__select-icon--disabled`]:l.disabled,[`${c}__select-icon--readonly`]:a&&!l.disabled,[`${c}__select-icon--is-valid`]:y,[`${c}__select-icon--negative`]:r}),"data-testid":m("dropdown-icon"),size:"sm"},"chevron-down-icon"),y&&p.jsx(Qr,{"data-testid":m("valid-icon"),className:$(`${c}__valid-icon`)},"valid-icon")]}),p.jsx("div",{className:$(`${c}__frame`,{[`${c}__frame--negative`]:r})})]})}),T&&p.jsx(Fe,{disabled:l.disabled,"data-testid":m("helper-text"),id:T,negative:r,children:u}),i&&p.jsx(qe,{negative:r,"data-testid":m("error-text"),children:i})]})}),zt=e=>e.hasOwnProperty("options"),Ht=(e,n,o,i)=>{const u=`${n}--group--${o}`;return p.jsx("optgroup",{label:e.label,children:e.options.map((r,t)=>Xr(r,u,t,i))},u)},Xr=(e,n,o,i)=>p.jsx("option",{value:e.value??e.label,disabled:i,children:e.label},`${n}--option--${o}`);Ur.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",po="#ffffff",lo="#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",ko="#018842",jo="#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",pn="#6d02a3",ln="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",kn="#ffe1b3",jn="#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:po,colorTextInteractiveOnExpressiveHover:co,colorTextInteractiveOnExpressiveActive:_o,colorTextInteractiveOnDestructive:vo,colorTextInteractiveSelected:fo,colorTextInteractivePrimaryNegative:ao,colorTextInteractivePrimaryHoverNegative:io,colorTextInteractivePrimaryActiveNegative:uo,colorTextInteractiveOnPrimaryNegative:no,colorTextInteractiveOnExpressiveNegative:lo,colorTextInteractiveOnExpressiveHoverNegative:so,colorTextInteractiveOnExpressiveActiveNegative:go,colorTextStatusInfoMedium:To,colorTextStatusInfoStrong:Bo,colorTextStatusSuccessMedium:ko,colorTextStatusSuccessStrong:bo,colorTextStatusWarningMedium:No,colorTextStatusWarningStrong:jo,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:ln,colorBackgroundInteractiveDestructive:_n,colorBackgroundInteractiveDestructiveHover:gn,colorBackgroundInteractiveDestructiveActive:vn,colorBackgroundInteractiveAutoFill:Vo,colorBackgroundInteractivePrimaryNegative:Go,colorBackgroundInteractivePrimaryHoverNegative:Qo,colorBackgroundInteractivePrimaryActiveNegative:Jo,colorBackgroundInteractiveExpressiveNegative:Yo,colorBackgroundInteractiveExpressiveHoverNegative:rn,colorBackgroundInteractiveExpressiveActiveNegative:en,colorBackgroundInteractiveTransparentHoverNegative:an,colorBackgroundInteractiveTransparentActiveNegative:pn,colorBackgroundInteractiveDisabledNegative:on,colorBackgroundInteractiveInactiveNegative:cn,colorBackgroundInteractiveReadOnlyNegative:dn,colorBackgroundStatusInfoMedium:fn,colorBackgroundStatusInfoStrong:mn,colorBackgroundStatusSuccessMedium:hn,colorBackgroundStatusSuccessStrong:xn,colorBackgroundStatusWarningMedium:kn,colorBackgroundStatusWarningStrong:jn,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},wr={light:ia,dark:qt},ua=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),pa=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),la=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),ca=/[^\p{L}\d]+/giu,Br="$1\0$2",Tr="";function Yr(e){let n=e.trim();n=n.replace(ua,Br).replace(pa,Br),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=Yr(e);for(let o=0;o<n.length;o++){const i=n[o],u=la.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:Yr),i=n.prefixCharacters??Tr,u=n.suffixCharacters??Tr;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=wr,cssVariablesSelector:n,currentColorScheme:o})=>{_.useEffect(()=>{o&&Object.entries((e==null?void 0:e[o])??wr[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:{}}),re=()=>{const e=_.useContext(ma);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},ha=()=>{const{currentColorScheme:e,setColorScheme:n}=re();return[e,n]};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F={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 Ir;function ya(){return Ir||(Ir=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})()})(F)),F.exports}var $a=ya();const U=xa($a),s="purpur-footer",X={"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 ba(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 Pr;function Sa(){return Pr||(Pr=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(a)))}return r}function i(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return o.apply(null,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,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})()})(Or)),Or.exports}var ka=Sa();const ja=ba(ka),q={"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"},Na={TITLE100:"title-100"},L="purpur-heading",Y=({children:e,className:n="",enableHyphenation:o=!1,negative:i=!1,tag:u,variant:r=Na.TITLE100,...t})=>{const a=u,d=ja([n,q[L],q[`${L}--${r}`],{[q[`${L}--hyphens`]]:o,[q[`${L}--negative`]]:i}]);return p.jsx(a,{className:d,...t,children:e})};Y.displayName="Heading";function wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cr={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
|
|
49
|
+
*/var Ar;function Ba(){return Ar||(Ar=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})()})(Cr)),Cr.exports}var Ta=Ba();const ee=wa(Ta),Ia={"purpur-accordion":"_purpur-accordion_mwmy0_1","purpur-accordion__title":"_purpur-accordion__title_mwmy0_4","purpur-accordion--negative":"_purpur-accordion--negative_mwmy0_13"};function Oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mr={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 Er;function Pa(){return Er||(Er=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})()})(Mr)),Mr.exports}var Ca=Pa();const Aa=Oa(Ca),Ma={"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"},Ea=Aa.bind(Ma),zr="purpur-icon",za="md",Ha=e=>e.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),qa=({content:e="",title:n}={})=>{const o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],i=n?`<title>${n}</title>`:"";return`<svg ${Ha(o)}>${i}${e}</svg>`},La=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),te=({svg:e,allyTitle:n,className:o,size:i=za,...u})=>{const r=qa({content:La(e.svg),title:n}),t=Ea(o,zr,`${zr}--${i}`);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...u})};te.displayName="Icon";const Da={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"},oe=e=>p.jsx(te,{...e,svg:Da});oe.displayName="IconChevronDown";function Wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hr={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 qr;function Va(){return qr||(qr=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})()})(Hr)),Hr.exports}var Ra=Va();const Za=Wa(Ra),Fa={"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"},Ga=Za.bind(Fa),Qa={PARAGRAPH100:"paragraph-100"},z="purpur-paragraph",ne=({children:e,className:n,disabled:o,enableHyphenation:i=!1,negative:u=!1,variant:r=Qa.PARAGRAPH100,...t})=>{const a=Ga(n,z,`${z}--${r}`,{[`${z}--hyphens`]:i,[`${z}--disabled`]:o,[`${z}--negative`]:u});return p.jsx("p",{...t,className:a,children:e})};ne.displayName="Paragraph";const Ja={"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"},O=ee.bind(Ja),k="purpur-accordion-item",Ka=({children:e,className:n,fullWidth:o=!1,title:i,titleTag:u="h3",initialOpen:r=!1,onClick:t,onOpen:a,onClose:d,...g})=>{const x=_.useContext(ae),l=_.useId(),[v,m]=_.useState(!r),y=O([n,k,{[`${k}--negative`]:x}]);return p.jsxs("div",{className:y,...g,children:[p.jsx(Y,{tag:u,variant:"title-100",className:O([`${k}__header`,`${k}__title`]),children:p.jsxs("button",{type:"button","data-state":v?"open":"close",onClick:B=>{t&&t(B),v?a&&a():d&&d(),m(!v)},className:O(`${k}__trigger`,n,{[`${k}__rotate`]:!v}),"aria-expanded":!v,"aria-controls":l,id:l+"button",children:[i,p.jsx(oe,{size:"md",className:O(`${k}__icon`),"aria-hidden":!0})]})}),p.jsx("div",{className:O(`${k}__content`,n),"aria-hidden":v,id:l,"aria-labelledby":l+"button",role:"region",children:p.jsx("div",{className:O(`${k}__contentText`,{[`${k}__contentText--limit-width`]:!o}),children:typeof e=="string"?p.jsx(ne,{variant:"paragraph-200",children:e}):e})})]})},Lr=ee.bind(Ia),G="purpur-accordion",ae=_.createContext(!1),D=({children:e,className:n,negative:o=!1,title:i,titleTag:u="h2",titleVariant:r="title-300",schema:t,...a})=>{const d=Lr([n,G,{[`${G}--negative`]:o}]);return p.jsxs("div",{className:d,...a,children:[i&&p.jsx(Y,{tag:u,variant:r,className:Lr(`${G}__title`),children:i}),p.jsx(ae.Provider,{value:o,children:e}),t&&p.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:t}})]})};D.Item=Ka;D.displayName="Accordion";const P=U.bind(X),Dr=({links:e,customLink:n})=>p.jsx("ul",{children:e.map(({href:o,text:i,...u},r)=>p.jsx("li",{children:n?p.jsx(n,{...u,href:o,className:P(`${s}__custom-link-navigation`),children:i}):p.jsx(J,{...u,variant:"navigation",negative:!0,href:o,disableVisited:!0,children:i})},r))}),Ua=({navigationLinks:e,sectionProps:n,customLink:o})=>p.jsxs(p.Fragment,{children:[p.jsx("section",{...n,className:P(`${s}__navigation`,`${s}__navigation--lg`,n==null?void 0:n.className),children:e.map((i,u)=>p.jsxs("div",{className:P(`${s}__navigation-section`),children:[p.jsx("h3",{className:P(`${s}__navigation-section-heading`),children:i.heading}),p.jsx(Dr,{links:i.links,customLink:o})]},u))}),p.jsx("section",{...n,className:P(`${s}__navigation`,`${s}__navigation--sm`,n==null?void 0:n.className),children:p.jsx(D,{negative:!0,children:e.map((i,u)=>p.jsx(D.Item,{title:i.heading,titleTag:"h2",className:P(`${s}__navigation-section`),children:p.jsx(Dr,{links:i.links,customLink:o})},u))})})]});function Xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wr={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
|
|
61
|
+
*/var Vr;function Ya(){return Vr||(Vr=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})()})(Wr)),Wr.exports}var ri=Ya();const ei=Xa(ri),ti={"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"},oi=ei.bind(ti),Rr="purpur-icon",ni="md",ai=e=>e.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),ii=({content:e="",title:n}={})=>{const o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],i=n?`<title>${n}</title>`:"";return`<svg ${ai(o)}>${i}${e}</svg>`},ui=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ie=({svg:e,allyTitle:n,className:o,size:i=ni,...u})=>{const r=ii({content:ui(e.svg),title:n}),t=oi(o,Rr,`${Rr}--${i}`);return p.jsx("span",{className:t,dangerouslySetInnerHTML:{__html:r},...u})};ie.displayName="Icon";const pi=U.bind(X),Zr=({icon:e,href:n,...o})=>p.jsx("a",{...o,href:n,className:pi(`${s}__social-link`),rel:"noreferrer",target:"_blank",children:p.jsx(ie,{svg:e})}),li=()=>p.jsxs("svg",{width:"81",height:"32",viewBox:"0 0 81 32",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":"true",children:[p.jsxs("g",{clipPath:"url(#clip0_5309_7721)",children:[p.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"}),p.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"}),p.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"}),p.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"}),p.jsx("path",{d:"M48.6359 11.2971H43.69V25.2064H40.5518V11.2971H35.5589V8.59093H48.6359V11.2971Z",fill:"currentColor"}),p.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"}),p.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"}),p.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"})]}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_5309_7721",children:p.jsx("rect",{width:"81",height:"32",fill:"currentColor"})})})]}),h=U.bind(X),ue=({className:e,navigation:n,social:o,contacts:i,additional:u,custom:r,payments:t,logo:a,themeSelect:d,forceColorScheme:g,...x})=>{var N,T,H,w,C,rr,er,tr;const l=h(e,s),v=_.useId(),{options:m}=re(),[y,B]=ha();return fa({cssVariablesSelector:`[data-id="${v}"]`,currentColorScheme:g??(m==null?void 0:m.footerColorScheme)}),p.jsx("footer",{"data-id":v,className:l,...x,children:p.jsx(Q,{children:p.jsxs("div",{className:h(`${s}__container`),children:[p.jsx("div",{className:h(`${s}__logo`,{[`${s}__logo--telia`]:!a}),children:a??p.jsx(li,{})}),o&&p.jsx("section",{...o.sectionProps,className:h(`${s}__social`,`${s}__social--md`,(N=o.sectionProps)==null?void 0:N.className),children:o.links.map(({icon:b,href:S,...A})=>_.createElement(Zr,{...A,icon:b,href:S,key:S}))}),n&&p.jsx(Ua,{customLink:n.customLink,navigationLinks:n.links,sectionProps:n.sectionProps}),t&&p.jsx("section",{...t.sectionProps,className:h(`${s}__payments`,(T=t.sectionProps)==null?void 0:T.className),children:t.images.map(({alt:b,src:S})=>p.jsx("img",{className:h(`${s}__payments-image`),src:S,alt:b},S))}),i&&p.jsxs("section",{...i.sectionProps,className:h(`${s}__contacts`,(H=i.sectionProps)==null?void 0:H.className),children:[i.copyright&&p.jsx("div",{className:h(`${s}__contacts-copyright`),children:i.copyright}),i.address&&p.jsx("address",{...i.address.addressProps,className:h(`${s}__contacts-address`,(w=i.address.addressProps)==null?void 0:w.className),children:i.address.content})]}),(r||u)&&p.jsxs("div",{className:h(`${s}__additional`),children:[r&&p.jsx("section",{...r.sectionProps,className:h(`${s}__custom-content`,(C=r.sectionProps)==null?void 0:C.className),children:r.content}),d&&p.jsx(Ur,{value:y,label:d.label,options:d.options,negative:!0,className:h(`${s}__theme-select`),onChange:b=>{B(b.target.value)}}),u&&p.jsx("section",{...u.sectionProps,className:h(`${s}__additional-links`,(rr=u.sectionProps)==null?void 0:rr.className),children:(er=u==null?void 0:u.links)==null?void 0:er.map(({href:b,text:S,...A})=>_.createElement(J,{...A,variant:"standalone",negative:!0,href:b,key:b,disableVisited:!0},S))})]}),o&&p.jsx("section",{...o.sectionProps,className:h(`${s}__social`,`${s}__social--sm`,(tr=o.sectionProps)==null?void 0:tr.className),children:o.links.map(({icon:b,href:S,...A})=>_.createElement(Zr,{...A,icon:b,href:S,key:S}))})]})})})};ue.displayName="Footer";exports.Footer=ue;
|
|
62
62
|
//# sourceMappingURL=footer.cjs.js.map
|