PageSourceSearch

https://www.gant.at/mobify/bundle/1869/pages-components-testing.js

js gant.at collected 2026-10-08 12:06:11 UTC 44,248 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7833],{48535(e,t,a){var r=a(4026),n=a(68066);const o=e=>{const t=e.match(/(?:\w+\:\/\/)?([^\/:]+)(?:\:\d+)?(?:\/|$)/);return t?t[1]:null};a.d(t,["M",0,e=>{const{site:t}=(0,n.A)();if(!e)return e;const{app:a}=(0,r.getConfig)(),{disBaseLinkDomain:l,disInstance:i}=a,c=o(e);if(l&&c&&i)return e.replace(c,l).replace(/BFLN_([A-Z0-1]){3}/,i);const s=o(t.appOrigin);return e.replace(c,s)}])},93031(e,t,a){var r=a(10939);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const l=(e,t,a)=>`${e<0?"-":""}${t} ${Math.abs(e).toFixed(a?0:2)}`,i=({locale:e,currency:t,digits:a=null})=>{const r={"en-US":{symbol:"$",position:"before",space:!1,decimal:".",thousands:","},"en-GB":{symbol:"£",position:"before",space:!1,decimal:".",thousands:","},"da-DK":{symbol:"kr",position:"after",space:!0,decimal:",",thousands:" "},"nl-NL":{symbol:"€",position:"before",space:!0,decimal:",",thousands:" "},"fi-FI":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"fr-BE":{symbol:"€",position:"before",space:!1,decimal:",",thousands:" "},"nl-BE":{symbol:"€",position:"before",space:!1,decimal:",",thousands:" "},"fr-FR":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"de-DE":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"de-CH":{symbol:"CHF",position:"before",space:!0,decimal:".",thousands:"'"},"it-CH":{symbol:"CHF",position:"before",space:!0,decimal:".",thousands:"'"},"fr-CH":{symbol:"CHF",position:"before",space:!0,decimal:".",thousands:"'"},"en-CH":{symbol:"CHF",position:"before",space:!0,decimal:".",thousands:"'"},"de-AT":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"es-ES":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"pt-PT":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "},"sv-SE":{symbol:"kr",position:"after",space:!0,decimal:",",thousands:" "},"it-IT":{symbol:"€",position:"after",space:!0,decimal:",",thousands:" "}}[e];if(r)return{format:e=>{if(null==e||""===e)return"";const t="string"==typeof e?parseFloat(e):e;if(isNaN(t))return"";const n=Number.isInteger(t),o=Math.abs(t),l=t<0?"-":"",i=null!==a?a:n?0:2,c=o.toFixed(i),[s,d]=c.split(".");let m,p=s.replace(/\B(?=(\d{3})+(?!\d))/g,r.thousands);return d&&i>0&&(p+=r.decimal+d),m="before"===r.position?r.space?`${r.symbol} ${p}`:`${r.symbol}${p}`:r.space?`${p} ${r.symbol}`:`${p}${r.symbol}`,`${l}${m}`}};const n=new Intl.NumberFormat(e,{style:"currency",currency:t,minimumFractionDigits:null!==a?a:0,maximumFractionDigits:null!==a?a:2});return o(o({},n),{},{format:r=>{if(null==r||""===r)return"";const o="string"==typeof r?parseFloat(r):r;if(isNaN(o))return"";if(null===a){const a=Number.isInteger(o),r=new Intl.NumberFormat(e,{style:"currency",currency:t,minimumFractionDigits:a?0:2,maximumFractionDigits:a?0:2});try{const e=r.format(o);if(e.startsWith("$"))switch(t){case"CAD":return e.replace(/^\$/,"CA$");case"AUD":return e.replace(/^\$/,"AU$");case"HKD":return e.replace(/^\$/,"HK$");case"NZD":return e.replace(/^\$/,"NZ$");case"SGD":return e.replace(/^\$/,"SG$")}return e}catch(e){console.error("Currency formatting error:",e);const a=Number.isInteger(o);return l(o,t,a)}}try{const e=n.format(o);if(e.startsWith("$"))switch(t){case"CAD":return e.replace(/^\$/,"CA$");case"AUD":return e.replace(/^\$/,"AU$");case"HKD":return e.replace(/^\$/,"HK$");case"NZD":return e.replace(/^\$/,"NZ$");case"SGD":return e.replace(/^\$/,"SG$")}return e}catch(e){console.error("Currency formatting error:",e);const a=Number.isInteger(o);return l(o,t,a)}}})};a.d(t,["v",0,(e,t="USD",a="en-US")=>i({locale:a,currency:t}).format(e),"y",0,i])},37341(e,t,a){var r=a(10939),n=a(64180),o=a(77810),l=a(75826),i=a.n(l),c=a(72750),s=a(83023),d=a(27821),m=a(62539),p=a(977),u=a(52384),h=a(42073),b=a(84939),g=a(69725),x=a(40512),E=a(73448),y=a(60115),f=a(68066);function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function v(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?w(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const _={[s.nA.HEADING_1]:"h1",[s.nA.HEADING_2]:"h2",[s.nA.HEADING_3]:"h3",[s.nA.HEADING_4]:"h4",[s.nA.HEADING_5]:"h5",[s.nA.HEADING_6]:"h6"},T=(e,t)=>o.createElement(d.E,(0,n.A)({as:_[e.nodeType]},p.U.header_modern,{color:h.T.gant_colors.text.text_primary}),t),S=({document:e,customStyles:t,codeCustomDesign:a=!1})=>{const{buildUrl:r}=(0,f.A)(),l=((e={},t)=>({[s.nA.HEADING_1]:T,[s.nA.HEADING_2]:T,[s.nA.HEADING_3]:T,[s.nA.HEADING_4]:T,[s.nA.HEADING_5]:T,[s.nA.HEADING_6]:T,[s.nA.PARAGRAPH]:(t,a)=>{if(""===(null==a?void 0:a.toString().trim()))return null;const r=e.paragraph||p.U.body;return o.createElement(d.E,(0,n.A)({},r,{color:h.T.gant_colors.text.text_primary}),a)},[s.nA.EMBEDDED_ENTRY]:e=>{var t;const{contentType:a}=(null===(t=e.data)||void 0===t?void 0:t.target)||{};if("link"===a){var r,l;const{linkText:t}=(null===(r=e.data)||void 0===r?void 0:r.target)||{},a=(0,x.x)(null===(l=e.data)||void 0===l?void 0:l.target);return o.createElement(m.az,null,o.createElement(b.A,{icon:o.createElement(g.fl,{boxSize:2}),href:a},o.createElement(d.E,(0,n.A)({py:{base:u.x.medium.lg,lg:u.x.medium.base}},p.U.body),t)))}if("widgetAccordion"===a){var i;const t=(null===(i=e.data)||void 0===i?void 0:i.target)||{};return o.createElement(m.az,{pt:u.x.extra_large},o.createElement(y.A,{content:t,variant:E.AQ.SECTION}))}},[s.XD.EMBEDDED_ENTRY]:e=>{var a,r;const{contentType:n,linkText:l}=(null===(a=e.data)||void 0===a?void 0:a.target)||{},i=t((0,x.x)(null===(r=e.data)||void 0===r?void 0:r.target));if("link"===n)return o.createElement(b.A,{icon:o.createElement(g.fl,{boxSize:2}),href:i},l)}
1,[s.nA.UL_LIST]:(e,t)=>o.createElement(m.az,{as:"ul",pl:u.x.medium.base,color:h.T.gant_colors.text.text_primary},t),[s.nA.OL_LIST]:(e,t)=>o.createElement(m.az,{as:"ol",pl:u.x.medium.lg,color:h.T.gant_colors.text.text_primary},t),[s.nA.LIST_ITEM]:(e,t)=>o.createElement(d.E,{as:"li",sx:{listStyleType:'"–"',paddingInlineStart:u.x.medium.lg},color:h.T.gant_colors.text.text_primary},t),[s.XD.HYPERLINK]:(t,a)=>o.createElement(b.A,{href:t.data.uri,sx:v({},e.bigLink),textDecoration:"underline"},a)}))(t,r),i={renderNode:l,renderMark:{[s.j7.CODE]:e=>o.createElement(d.E,(0,n.A)({as:"code"},a&&p.U.body,{color:a&&h.T.gant_colors.text.text_secondary}),e)},renderText:e=>e.split("\n").reduce((e,t,a)=>[...e,a>0&&o.createElement("br",{key:a}),t],[])};return(0,c.i)(e,i)};S.propTypes={document:i().object.isRequired,sx:i().object,customStyles:i().object};const A=S;a.d(t,["A",0,A])},47490(e,t,a){var r=a(64180),n=a(10939),o=a(77810),l=a(75826),i=a.n(l),c=a(54443),s=a(27821),d=a(11692),m=a(69725),p=a(977);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const b=({label:e,disabled:t=!1,onClick:a})=>{const n=(0,c.o5)("Pill");return e&&o.createElement(d.s,(0,r.A)({},n.container,{sx:t&&h({},n._disabled),tabIndex:t?-1:0,onClick:a,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||!a||t||(e.preventDefault(),a(e))},role:"button","aria-disabled":t,display:"flex"}),o.createElement(s.E,(0,r.A)({},p.U.body,{lineHeight:"1",display:"flex",alignItems:"center"}),e),o.createElement(m.w0,{boxSize:2,display:"flex"}))};b.propTypes={label:i().string.isRequired,disabled:i().bool,onClick:i().func};const g=b;a.d(t,["A",0,g])},20958(e,t,a){a.d(t,{A:()=>A});var r=a(10939),n=a(77810),o=a(75826),l=a.n(o),i=a(77355),c=a(54443),s=a(48706),d=a(46378),m=a(62539),p=a(27821),u=a(87078),h=a(41539),b=a(37890),g=a(11692),x=a(28287),E=a(69725),y=a(93031),f=a(41863);const w=(e,t=!1,a="USD",r="en-US")=>t&&null!=e&&e>0?n.createElement(n.Fragment,null,n.createElement(f.A,{id:"product_view.product_description.from",defaultMessage:[{type:0,value:"From"}]})," ",(0,y.v)(e,a,r)):(0,y.v)(e,a,r);var v=a(34692);function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const S=({regularPrice:e,salePrice:t,sale30DaysPrice:a,currency:r="USD",locale:o="en-US",productDiscount:l,isRange:_,productId:S})=>{const A=(0,v.A)(),[k,C]=(0,n.useState)(!1),[D,z]=(0,n.useState)(!1),O=(0,i.A)({base:!0,md:!1}),P=a&&(null==a?void 0:a.value)>0,I=(0,c.o5)("PriceItem"),j=(0,n.useId)(),B=S?`price-${S}`:`price-${j}`,N=`${B}-title`,L=`${B}-description`,W=`${B}-tooltip`,$=(e,t=!1)=>{if(!e||0===e)return"Price unavailable";const a=(0,y.v)(e,r,o);return t?`${A.formatMessage({id:"product_view.product_description.from",defaultMessage:[{type:0,value:"From"}]})} ${a}`:a},U=()=>P&&a?A.formatMessage({id:"productTile.price.lowest30DaysDescription",defaultMessage:[{type:0,value:"Current price "},{type:1,value:"salePrice"},{type:0,value:", was "},{type:1,value:"regularPrice"},{type:0,value:", lowest price in 30 days: "},{type:1,value:"lowestPrice"}]},{salePrice:$(t,_),regularPrice:$(e,!1),lowestPrice:$(null==a?void 0:a.decimalPrice,!1)}):t&&t!==e&&l?A.formatMessage({id:"productTile.price.saleDescription",defaultMessage:[{type:0,value:"Sale price "},{type:1,value:"salePrice"},{type:0,value:", was "},{type:1,value:"regularPrice"},{type:0,value:", "},{type:1,value:"discount"},{type:0,value:" off"}]},{salePrice:$(t,_),regularPrice:$(e,!1),discount:l}):0===t||l?A.formatMessage({id:"productTile.price.unavailableDescription",defaultMessage:[{type:0,value:"Price unavailable"}]}):A.formatMessage({id:"productTile.price.regularDescription",defaultMessage:[{type:0,value:"Price "},{type:1,value:"price"}]},{price:$(t,_)}),M=n.createElement(s.K,{"aria-label":A.formatMessage({id:"productTile.30DaysInfo.ariaLabel",defaultMessage:[{type:0,value:"More information about 30 day lowest price"}]}),"aria-describedby":P?W:void 0,icon:n.createElement(E.FI.InfoIcon,{boxSize:4}),variant:"ghost",sx:I.infoIcon,onClick:e=>{e.stopPropagation(),O&&C(!0)},tabIndex:0,type:"button",onMouseEnter:()=>!O&&z(!0),onMouseLeave:()=>!O&&z(!1),onFocus:()=>!O&&z(!0),onBlur:()=>!O&&z(!1)});let F=null;return F=t&&t!==e&&l&&!P?n.createElement(d.z,{sx:I.priceItem,role:"group","aria-label":U()},l&&n.createElement(m.az,{sx:I.discountBadge,"aria-hidden":"true"},n.createElement(p.E,{as:"span",sx:I.discountText},l)),n.createElement(p.E,{as:"ins",sx:I.mainPrice,"aria-hidden":"true"},w(t,_,r,o)),n.createElement(p.E,{as:"del",sx:I.strikePrice,"aria-hidden":"true"},w(e,!1,r,o)),P&&M):t&&t!==e&&l&&P?n.createElement(d.z,{sx:I.priceItem,role:"group","aria-label":U()},n.createElement(p.E,{as:"ins",sx:I.mainPrice,"aria-hidden":"true"},w(t,_,r,o)),n.createElement(p.E,{as:"del",sx:I.strikePrice,"aria-hidden":"true"},w(e,!1,r,o)),P&&M):0===t||l?n.createElement(p.E,{as:"del",sx:I.mainPrice,"aria-label":U()},w(e,_,r,o)):n.createElement(p.E,{as:"ins",sx:I.mainPrice,"aria-label":U()},w(t,_,r,o)),n.createElement(m.az,null,F,P&&O&&n.createElement(n.Fragment,null,k&&n.createElement(m.az,{sx:I.modalDe
1saturateLayer}),n.createElement(u.aF,{isOpen:k,onClose:()=>C(!1),isCentered:!0},n.createElement(h.m,{sx:I.modalOverlay}),n.createElement(b.$,{sx:I.modalContent,role:"dialog","aria-labelledby":N,"aria-describedby":L},n.createElement(g.s,{sx:I.modalTitleBar},n.createElement(p.E,{sx:I.modalTitleText,id:N},n.createElement(f.A,{id:"productTile.30DaysLowestPrice",defaultMessage:[{type:0,value:"30 DAY LOWEST:"}]})),n.createElement(s.K,{"aria-label":A.formatMessage({id:"global.close",defaultMessage:[{type:0,value:"Close"}]}),icon:n.createElement(E.FI.CrossIcon,{boxSize:2}),variant:"ghost",sx:I.modalCloseButton,onClick:()=>C(!1)})),n.createElement(x.c,{sx:I.modalBody},n.createElement(p.E,{sx:I.modalInfoText,id:L},n.createElement(f.A,{id:"productTile.lowestPrice",defaultMessage:[{type:0,value:"Lowest price in the last 30 days:"}]})," ",$(null==a?void 0:a.decimalPrice,!1)))))),P&&!O&&n.createElement(m.az,{position:"relative"},n.createElement(p.E,{sx:T(T({},I.lowestText),{},{position:"absolute",top:0,left:0,opacity:D?1:0,transition:"opacity 0.2s ease"}),id:W,role:"tooltip","aria-live":"polite"},n.createElement(f.A,{id:"productTile.lowestPrice",defaultMessage:[{type:0,value:"Lowest price in the last 30 days:"}]})," ",$(null==a?void 0:a.decimalPrice,!1))))};S.propTypes={regularPrice:l().number,salePrice:l().number,sale30DaysPrice:l().object,currency:l().string,locale:l().string,productDiscount:l().string,isRange:l().bool,productId:l().string};const A=S},9860(e,t,a){var r=a(64180),n=a(77810),o=a(75826),l=a.n(o),i=a(54443),c=a(62539),s=a(69725),d=a(85002),m=a(48535);const p=({swatch:e,variant:t})=>{const a=(0,m.M)(null==e?void 0:e.swatchImageUrl),o=(0,i.o5)("Swatch",{variant:t});return n.createElement(d.A,(0,r.A)({key:e.value,src:`${a}?sw=8&q=12`,alt:e.name,width:"100%",height:"100%",objectFit:"cover",loading:"lazy","aria-hidden":"true",role:"presentation"},o.swatch))};p.propTypes={swatch:l().object.isRequired,variant:l().string};const u=({swatch:e,variant:t})=>{const a=(0,i.o5)("Swatch",{variant:t});return n.createElement(c.az,{sx:a.swatch,style:{backgroundColor:e.hexColor},"aria-hidden":!0,role:"presentation","aria-label":e.name})};u.propTypes={swatch:l().object.isRequired,variant:l().string};const h=({swatches:e,ariaLabel:t,maxSwatches:a=4,variant:r})=>{const o=(0,i.o5)("Swatch",{variant:r}),l=e.length>a,d=l?e.slice(0,a-1):e;return n.createElement(c.az,{"aria-label":t,sx:o.swatchContainer},d.map(e=>null!=e&&e.hexColor?n.createElement(u,{key:e.value,swatch:e,variant:r}):n.createElement(p,{key:e.value,swatch:e,variant:r})),l&&n.createElement(c.az,{sx:o.plusIconBox},n.createElement(s.FI.PlusIcon,{boxSize:2})))};h.propTypes={swatches:l().arrayOf(l().shape({name:l().string.isRequired,value:l().string.isRequired,swatch:l().object})).isRequired,value:l().string,ariaLabel:l().string,maxSwatches:l().number,variant:l().string};const b=h;a.d(t,["A",0,b])},28772(e,t,a){a.r(t);var r=a(64180),n=a(10939),o=a(77810),l=a(48706),i=a(62849),c=a(62346),s=a(27821),d=a(92519),m=a(91311),p=a(62539),u=a(59247),h=a(11692),b=a(54443),g=a(15422),x=a(70448),E=a(89618),y=a(32393),f=a(34692),w=a(41863),v=a(95563),_=a(84939),T=a(62241),S=a(2219),A=a(69725),k=a(977),C=a(42073),D=a(97660),z=a(69470),O=a(52996),P=a(50693),I=a(26369),j=a(34497),B=a(9978),N=a(20958),L=a(9860),W=a(43599),$=a(47490),U=a(73448),M=a(60115),F=a(86460),H=a(37341),G=a(76730);function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function R(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}a.d(t,["default",0,function(){const{showSnackbar:e}=(0,D.d)(),t=(0,f.A)(),{res:a}=(0,T.useServerContext)(),[n,K]=(0,o.useState)(!1),[q,Y]=(0,o.useState)(!1),[J,Q]=(0,o.useState)(0),[Z,X]=(0,o.useState)(0),[V,ee]=(0,o.useState)(""),[te,ae]=(0,o.useState)("Select a search engine"),re=(0,o.useRef)(),ne=(0,b.o5)("Faq"),{setDynamicYieldContext:oe}=(0,G.ur)();if((0,o.useEffect)(()=>{oe({type:G.gS.Other,data:["Component Testing"]})},[]),n)throw a&&a.status(500),new S.HTTPError(500,"Test 500 Error: This is a simulated server error for testing purposes");if(q)throw a&&a.status(404),new S.HTTPNotFound("Test 404 Error: This is a simulated page not found error for testing purposes");return o.createElement(p.az,{layerStyle:"page",px:{base:4,md:12},py:8},o.createElement(B.A,null),o.createElement(h.s,{alignItems:"center",mb:8,justifyContent:"space-between"},o.createElement(h.s,{alignItems:"center",gap:4},o.createElement(A.FQ,{width:"150px",height:"32px"}),o.createElement(m.D,{as:"h1",size:"lg",ml:4},"GANT Component Showcase"))),o.createElement(u.c,{mb:8}),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Snackbar"),o.createElement(s.E,{fontWeight:"bold",mb:2,mt:4},"Default"),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Default - Short",variant:"addToCart",onClick:()=>e({text:"Item added successfully",type:"default"})}),o.createElement(v.S,{label:"Default - Long with Link",variant:"addToCart",onClick:()=>e({text:"Going fast! 61 people couldn't resist this item in the last 24 hours %link:View trending items%",type:"default",link:"/products/trending"})}),o.createElement(v.S,{label:"Default - No Auto Close",variant:"addToCart",onClick:()=>
1e({text:"This notification will stay until you close it manually",type:"default",disableAutoClose:!0})})),o.createElement(s.E,{fontWeight:"bold",mb:2,mt:4},"Club"),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Club - Short",variant:"addToCart",onClick:()=>e({text:"Welcome GANT Club member",type:"club"})}),o.createElement(v.S,{label:"Club - Long with Link",variant:"addToCart",onClick:()=>e({text:"Exclusive offer! Get 20% off on your next purchase as a valued GANT Club member %link:Shop now%",type:"club",link:"/club/offers"})})),o.createElement(s.E,{fontWeight:"bold",mb:2,mt:4},"Sale"),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Sale - Short",variant:"addToCart",onClick:()=>e({text:"Sale item added",type:"sale"})}),o.createElement(v.S,{label:"Sale - Long with Link",variant:"addToCart",onClick:()=>e({text:"Limited time offer! This sale item is 50% off and selling fast. Only 3 items left in stock %link:See all sale items%",type:"sale",link:"/sale"})})),o.createElement(s.E,{fontWeight:"bold",mb:2,mt:4},"Status (with status variants)"),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Status - Success",variant:"addToCart",onClick:()=>e({text:"Order confirmed successfully",type:"status",status:"success"})}),o.createElement(v.S,{label:"Status - Success Long",variant:"addToCart",onClick:()=>e({text:"Your order has been successfully placed and will be delivered within 3-5 business days %link:Track order%",type:"status",status:"success",link:"/account/orders"})})),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Status - Warning",variant:"addToCart",onClick:()=>e({text:"Low stock alert",type:"status",status:"warning"})}),o.createElement(v.S,{label:"Status - Warning Long",variant:"addToCart",onClick:()=>e({text:"This item is running low on stock. Only 2 pieces left in your selected size. Add to cart now %link:Continue shopping%",type:"status",status:"warning",link:"/cart"})})),o.createElement(d.B,{gap:2,direction:"row",mb:4},o.createElement(v.S,{label:"Status - Error",variant:"addToCart",onClick:()=>e({text:"Payment failed",type:"status",status:"error"})}),o.createElement(v.S,{label:"Status - Error Long",variant:"addToCart",onClick:()=>e({text:"We couldn't process your payment. Please check your card details and try again or use a different payment method %link:Update payment%",type:"status",status:"error",link:"/checkout/payment"})}))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"GANT Text Styles"),o.createElement(d.B,{gap:2},o.createElement(p.az,{mb:4},o.createElement(s.E,{sx:k.U.header_serif_1},"Header serif 1")),o.createElement(p.az,{mb:4},o.createElement(s.E,{sx:k.U.header_serif_2},"Header serif 2")),o.createElement(p.az,{mb:4},o.createElement(s.E,{sx:k.U.header_serif_gant_club},"Header serif GANT Club")),o.createElement(p.az,{mb:4},o.createElement(s.E,{sx:k.U.header_modern},"Header modern")),o.createElement(p.az,{mb:4},o.createElement(s.E,{sx:k.U.body},"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores maxime dolorem eius quae illo perspiciatis maiores earum aliquid voluptatibus accusantium distinctio eligendi molestiae at soluta fugiat consectetur, incidunt nemo obcaecati? Earum nobis cum ipsa corporis sequi repellat dolores rem sint ex architecto provident ea, placeat quam possimus neque molestiae at necessitatibus vitae error nemo est impedit ipsum? Tenetur, cum rerum impedit ut excepturi tempore vel, non blanditiis rem hic aut nam dolorem dolorum! Quia fuga eius, deleniti repudiandae reiciendis et, sapiente odio perferendis non sequi vero, nesciunt atque quam iusto pariatur dolorum aliquam placeat nihil eos? Magni consectetur perferendis atque?")))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Buttons"),o.createElement(d.B,{gap:8,alignItems:"flex-start"},o.createElement(p.az,null,o.createElement(s.E,{fontWeight:"bold",mb:2,sx:k.U.header_modern},"Primary"),o.createElement(d.B,{gap:2,direction:"row"},o.createElement(v.S,{label:"Button-text",sx:R(R({},k.U.body),{},{minWidth:"100px"})}),o.createElement(v.S,{label:"Button-text",isDisabled:!0,minWidth:"100px"}))),o.createElement(p.az,null,o.createElement(s.E,{fontWeight:"bold",mb:2,sx:k.U.header_modern},"Secondary"),o.createElement(d.B,{gap:2,direction:"row"},o.createElement(v.S,{label:"Button-text",variant:"secondary",minWidth:"100px"}),o.createElement(v.S,{label:"Button-text",variant:"secondary",isDisabled:!0,minWidth:"100px"}))),o.createElement(p.az,null,o.createElement(s.E,{fontWeight:"bold",mb:2,sx:k.U.header_modern},"Add to Cart"),o.createElement(d.B,{gap:2,direction:"row"},o.createElement(v.S,{label:"Add to Cart",variant:"addToCart",minWidth:"100px"}),o.createElement(v.S,{label:"Add to Cart",variant:"addToCart",isDisabled:!0,minWidth:"100px"}))))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Links"),o.createElement(d.B,{gap:4,alignItems:"flex-start"},o.createElement(p.az,null,o.createElement(_.A,{href:"https://www.google.com",icon:o.createElement(A.fl,{boxSize:2}),size:"md",sx:k.U.body},"Text link")),o.createElement(p.az,null,o.createElement(_.A,{href:"https://www.google.com",icon:o.createElement(A.fl,{boxSize:2}),size:"md",sx:k.U.body,isHovered:!0},"Text link")),o.createElement(p.az,null,o.createElement(_.A,{href:"https://www.google.com",icon:o.createElement(A.fl,{boxSize:2}),size:"md",sx:k.U.body,isActive:!0},"Text link")),o.createElement(p.az,null,o.createElement(_.A,{href:"https://www.google.com",icon:o.createElement(A.fl,{boxSize:2}),size:"md",sx:k.U.body,isDisabled:!0},"Text link")))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Dropdown"),o.createElement(d.B,{gap:4,alignItems:"flex-start"},o.createElement(y.W,{tabIndex:0},({isOpen:e})=>{var t;return o.createElement(p.az,{width:"25%"},o.createElement(E.I,(0,r.A)({ref:re,tabIndex:0},ne.dropdownButton,{minWidth:"224px","aria-label":"Search engine dropdown","aria-expanded":e?"true":"false","aria-haspopup":"listbox",role:"combobox"}),o.createElement(h.s,ne.dropdownButtonContent,o.createElement(s.E,(0,r.A)({},ne.dropdownButtonText,{color:C.T.gant_colors.text.text_primary}),te),o.createElement(h.s,{width:"24px",height:"24px",justifyContent:"center",alignItems:"center"},e?o.createElement(A.Mt,ne.dropdownIcon):o.createElement(A.D3,ne.dropdownIcon)))),o.createElement(x.c,(0,r.A)({},ne.dropdownList,{w:(null===(t=re.current)||void 0===t?void 0:t.offsetWidth)||"100%",role:"listbox","aria-label":"Search engine options"}),[{text:"Google.com",href:"https://www.google.com"},{text:"Bing.com",href:"https://www.bing.com"},{text:"Yahoo.com",href:"https://www.yahoo.com"}].map((e,t)=>o.createElement(g.D,(0,r.A)({},ne.dropdownItem,{key:e.text,role:"option","aria-selected":te===e.text?"true":"false",onClick:t=>{ae(e.text),t.preventDefault(),t.stopPropagation()}}),o.createElement(s.E,ne.dropdownItemText,`${t+1}. ${e.text}`)))))}))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Controls Design Tokens"),o.createElement(d.B,{gap:8},o.createElement(p.az,{border:"1px solid",borderRadius:8,padding:4,width:"50%"},o.createElement(s.E,{sx:k.U.headline_modern,mb:2},"Arrows"),o.createElement(d.B,{direction:"row",gap:32},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Arrow Right",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.fl,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Arrow Left",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.A6,{width:"8px",height:"8px"})))),o.createElement(s.E,{sx:k.U.headline_modern,mb:2,mt:2},"Arrows - Disable"),o.createElement(d.B,{direction:"row",gap:32,mt:4},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Arrow Right",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.fl,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Arrow Left",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.A6,{width:"8px",height:"8px"}))))),o.createElement(p.az,{border:"1px solid",borderRadius:8,padding:4,width:"50%"},o.createElement(s.E,{sx:k.U.headline_modern,mb:2},"Media Controls"),o.createElement(d.B,{direction:"row",gap:32},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Play",width:"20px",height:"20px",minWidth:"20px",border:"none",color:C.T.gant_colors.text.text_primary,bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.ud,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Pause",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.E$,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Add",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},color:C.T.gant_colors.text.text_primary},o.createElement(A.c1,{width:"8px",height:"8px"})))),o.createElement(s.E,{sx:k.U.headline_modern,mb:2,mt:2},"Media Controls - Disable"),o.createElement(d.B,{direction:"row",gap:32,mt:4},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Play",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.ud,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Pause",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.E$,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Add",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.c1,{width:"8px",height:"8px"}))))),o.createElement(p.az,{border:"1px solid",borderRadius:8,padding:4,width:"50%"},o.createElement(s.E,{sx:k.U.headline_modern,mb:2},"Arrow Controls"),o.createElement(d.B,{direction:"row",gap:32},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Chevron Left",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.YJ,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Chevron Right",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.vK,{width:"8px",height:"8px"})))),o.createElement(s.E,{sx:k.U.headline_modern,mb:2,mt:2},"Arrow Controls - Disable"),o.createElement(d.B,{direction:"row",gap:32,mt:4},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Chevron Left",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.YJ,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Chevron Right",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.vK,{width:"8px",height:"8px"}))))),o.createElement(p.az,{border:"1px solid",borderRadius:8,padding:4,width:"50%"},o.createElement(s.E,{sx:k.U.headline_modern,mb:2},"Wishlist Controls"),o.createElement(d.B,{direction:"row",gap:32},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Wishlist",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.T,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},o.createElement(l.K,{"aria-label":"Wishlist Filled",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",color:C.T.gant_colors.text.text_primary,_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"}},o.createElement(A.Dm,{width:"8px",height:"8px"})))),o.createElement(s.E,{sx:k.U.headline_modern,mb:2,mt:2},"Wishlist Controls - Disable"),o.createElement(d.B,{direction:"row",gap:32,mt:4},o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Wishlist",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.T,{width:"8px",height:"8px"}))),o.createElement(p.az,{width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center",opacity:.4},o.createElement(l.K,{"aria-label":"Wishlist Filled",width:"20px",height:"20px",minWidth:"20px",border:"none",bg:"transparent",_hover:{bg:"transparent"},_focus:{outline:"none",boxShadow:"none"},_disabled:{bg:"transparent",background:"transparent",opacity:1,color:C.T.gant_colors.text.text_primary_disabled},disabled:!0},o.createElement(A.Dm,{width:"8px",height:"8px"}))))))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"Payment Design Tokens"),o.c
1reateElement(h.s,{gap:"2rem"},o.createElement(A.Co,{boxSize:7}),o.createElement(A.CC,{boxSize:7}),o.createElement(A.Xv,{boxSize:7}),o.createElement(A.H0,{boxSize:7}),o.createElement(A.tB,{boxSize:7}),o.createElement(A.g8,{boxSize:7}),o.createElement(A.RW,{boxSize:7}),o.createElement(A.Ax,{boxSize:7}),o.createElement(A.lW,{boxSize:7}))),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"NavItem"),o.createElement(z.A,{label:"NavItem"})),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"NavItemBack"),o.createElement(O.A,{label:"NavItemBack"})),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"TabPrimary"),o.createElement(h.s,{gap:4},["Tab One","Tab Two","Tab Three"].map((e,t)=>o.createElement(P.A,{key:t,label:e,isActive:t===J,onClick:()=>Q(t)})))),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"TabSecondary"),o.createElement(h.s,{gap:4,role:"tablist","aria-label":"Tab secondary categories"},[{label:"Category One",count:24},{label:"Category Two",count:15},{label:"Category Three",count:8}].map((e,t)=>o.createElement(I.A,{key:t,label:e.label,count:e.count,isActive:t===Z,onClick:()=>X(t)})))),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"FilterSortGridsBar"),o.createElement(j.A,{filterLabel:"Filter & Sort",filterCount:10,onOpen:()=>{}})),o.createElement(p.az,null,o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"ProductTilePrice"),o.createElement(N.A,{regularPrice:1e4,salePrice:8e3,sale30DaysPrice:{value:7e3,decimalPrice:6e3},currency:"USD",locale:"en-US",productId:"test-product-1"})),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"SwatchSelector"),o.createElement(L.A,{swatches:[{name:"Blue",value:"blue",swatch:{disBaseLink:"https://via.placeholder.com/150",link:"https://via.placeholder.com/150"}},{name:"Green",value:"green",swatch:{disBaseLink:"https://via.placeholder.com/150",link:"https://via.placeholder.com/150"}},{name:"Red",value:"red",swatch:{disBaseLink:"https://via.placeholder.com/150",link:"https://via.placeholder.com/150"}},{name:"Yellow",value:"yellow",swatch:{disBaseLink:"https://via.placeholder.com/150",link:"https://via.placeholder.com/150"}},{name:"Black",value:"black",swatch:{disBaseLink:"https://via.placeholder.com/150",link:"https://via.placeholder.com/150"}}],value:"red",onChange:()=>{},ariaLabel:"Swatch Selector"})),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Breadcrump"),o.createElement(W.A,{categories:[{id:1,name:"Item1"},{id:2,name:"Item2"},{id:3,name:"Item3",disabled:!0},{id:4,name:"Item"}]})),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Pill"),o.createElement($.A,{label:"Item"})),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},o.createElement(w.A,{id:"component_testing.accordion.provided.label",defaultMessage:[{type:0,value:"Accordion Section"}],textTransform:"uppercase"})),o.createElement(p.az,{as:"section",px:"18px",pt:"18px","aria-label":t.formatMessage({id:"component_testing.accordion.provided.aria_label",defaultMessage:[{type:0,value:"Provided accordion navigation"}]}),sx:{"& .accordion-button-provided":{pb:"24px",transition:"padding-bottom 0.2s ease",'&[aria-expanded="true"]':{pb:"12px"}}}},o.createElement(M.A.Root,{variant:U.AQ.SECTION,defaultIndex:[0]},[{id:1,groupName:"Customer Service",links:[{text:"Contact Us",href:"/contact"},{text:"Track Order",href:"/track"},{text:"Returns",href:"/returns"}]},{id:2,groupName:"Information",links:[{text:"Shipping Info",href:"/shipping"},{text:"Size Guide",href:"/size-guide"},{text:"FAQs",href:"/faqs"}]}].map((e,t)=>o.createElement(M.A.Item,{key:e.id,index:t},o.createElement(M.A.Button,{index:t,className:"accordion-button-provided"},o.createElement(M.A.Title,{textTransform:"uppercase"},e.groupName),o.createElement(M.A.Icon,{index:t,"aria-hidden":"true"})),o.createElement(M.A.Panel,{index:t},o.createElement(d.B,{spacing:0,pt:"18px",pb:"32px"},e.links.map(e=>o.createElement(_.A,{key:e.text,href:e.href,sx:R(R({},k.U.body),{},{py:"12px"})},e.text))))))))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},o.createElement(w.A,{id:"component_testing.rich_text_accordion.label",defaultMessage:[{type:0,value:"Accordion Paragraph"}]})),o.createElement(p.az,{px:"18px",pt:"18px",sx:{"& > div > a":{py:"8px",display:"block"},'& [role="region"] a':{py:"8px",display:"block"}}},o.createElement(H.A,{document:{nodeType:"document",data:{},content:[{nodeType:"heading-2",data:{},content:[{nodeType:"text",value:"Better Cotton",marks:[],data:{}}]},{nodeType:"paragraph",data:{},content:[{nodeType:"text",value:"By choosing our cotton products, you support GANT's commitment to Better Cotton. This product is produced using a mass balance system and may not contain Better Cotton. Learn more at ",marks:[],data:{}}
1,{nodeType:"hyperlink",data:{uri:"https://bettercotton.org/massbalance"},content:[{nodeType:"text",value:"bettercotton.org/massbalance",marks:[],data:{}}]},{nodeType:"text",value:".",marks:[],data:{}}]},{nodeType:"embedded-entry-block",data:{target:{contentType:"link",linkText:"Explore Mens Knitwear",url:"/mens/knitwear"}},content:[]},{nodeType:"embedded-entry-block",data:{target:{contentType:"widgetAccordion",accordionItems:[{title:"ACCORDION 1",content:{nodeType:"document",data:{},content:[{nodeType:"paragraph",data:{},content:[{nodeType:"text",value:"Accordion 1 ",marks:[],data:{}},{nodeType:"hyperlink",data:{uri:"https://example.com"},content:[{nodeType:"text",value:"asdaasdas",marks:[],data:{}}]},{nodeType:"text",value:" asdasdasddasda",marks:[],data:{}}]},{nodeType:"embedded-entry-block",data:{target:{contentType:"link",linkText:"Tout voir vêtements",url:"/all-clothing"}},content:[]},{nodeType:"embedded-entry-block",data:{target:{contentType:"link",linkText:"Trouver un magasin",url:"/stores"}},content:[]},{nodeType:"embedded-entry-block",data:{target:{contentType:"link",linkText:"Explore Mens Knitwear",url:"/mens/knitwear"}},content:[]}]}}]}},content:[]}]},customStyles:{bigLink:{py:"8px",display:"block"}}}))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4,py:"12px"},"Search Input"),o.createElement(p.az,null,o.createElement(i.M,null,o.createElement(h.s,{width:"100%",alignItems:"center",border:"1px solid",borderColor:C.T.gant_colors.border.border_primary,_hover:{borderColor:C.T.gant_colors.border.border_active,".search-icon-button":{color:C.T.gant_colors.text.text_primary}},_focusWithin:{borderColor:C.T.gant_colors.border.border_active,".search-icon-button":{color:C.T.gant_colors.text.text_primary}}},o.createElement(c.p,{placeholder:t.formatMessage({id:"faq.search.placeholder",defaultMessage:[{type:0,value:'Search for "Delivery", "Order", "Returns"'}]}),autoComplete:"off",value:V,onChange:e=>ee(e.target.value),border:"none",outline:"none",color:C.T.gant_colors.text.text_secondary,_focus:{boxShadow:"none",outline:"none",color:C.T.gant_colors.text.text_primary},_hover:{_placeholder:{color:C.T.gant_colors.text.text_primary}},_active:{boxShadow:"none",color:C.T.gant_colors.text.text_primary},flex:"1",px:4,height:"60px"}),V&&o.createElement(v.S,{label:"Clear",onClick:()=>ee(""),variant:"unstyled",px:4,height:"auto"}),o.createElement(v.S,{type:"button",className:"search-icon-button",variant:"unstyled",px:4,height:"60px",color:C.T.gant_colors.text.text_secondary,_hover:{color:C.T.gant_colors.text.text_primary},_active:{color:C.T.gant_colors.text.text_primary}},o.createElement(A.WI,null)))))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Message Component"),o.createElement(d.B,null,o.createElement(F.Ay,{variant:"info"},o.createElement(F.Ap,null,"Free alterations"),o.createElement(F.uP,null,"The difference is in the details. Whether you need to sew up or hem your garments, our tailoring service will adjust your GANT favorites free of charge in store."," ",o.createElement(F.kJ,{href:"https://www.google.com"},"Learn more"))),o.createElement(F.Ay,{variant:"success"},o.createElement(F.Ap,null,"Free alterations"),o.createElement(F.uP,null,"The difference is in the details. Whether you need to sew up or hem your garments, our tailoring service will adjust your GANT favorites free of charge in store."," ",o.createElement(F.kJ,{href:"https://www.google.com"},"Learn more"))),o.createElement(F.Ay,{variant:"warning"},o.createElement(F.Ap,null,"Free alterations"),o.createElement(F.uP,null,"The difference is in the details. Whether you need to sew up or hem your garments, our tailoring service will adjust your GANT favorites free of charge in store."," ",o.createElement(F.kJ,{href:"https://www.google.com"},"Learn more"))),o.createElement(F.Ay,{variant:"error"},o.createElement(F.Ap,null,"Free alterations"),o.createElement(F.uP,null,"The difference is in the details. Whether you need to sew up or hem your garments, our tailoring service will adjust your GANT favorites free of charge in store."," ",o.
1createElement(F.kJ,{href:"https://www.google.com"},"Learn more"))))),o.createElement(p.az,{mb:12},o.createElement(m.D,{as:"h2",size:"md",mb:4},"Error Testing"),o.createElement(s.E,{mb:4,sx:k.U.body},"Test error boundaries and error pages by generating fake errors."),o.createElement(d.B,{gap:2,direction:"row"},o.createElement(v.S,{label:"Generate 404 Error",variant:"secondary",onClick:()=>{Y(!0)}}),o.createElement(v.S,{label:"Generate 500 Error",variant:"secondary",onClick:()=>{K(!0)}}))))}])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.