1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8249],{99979:(e,s,a)=>{a.d(s,{o:()=>o});var t=a(406029),i=a(455729),r=a(159524);let o=e=>class extends i.PureComponent{render(){return(0,t.jsx)(r.V.Consumer,{children:s=>(0,t.jsx)(e,{...this.props,storyContext:s})})}}},123396:(e,s,a)=>{a.d(s,{Ay:()=>R});var t=a(406029),i=a(455729),r=a(94588),o=a.n(r),l=a(76885),n=a(792309),c=a(325793),d=a(332988),p=a.n(d),x=a(422213),u=a(716450),b=a(459358),y=a(615613),m=a(189650),g=a.n(m),h=function(e){return e.Close="Close",e.CloseSelect="CloseSelect",e.First="First",e.Last="Last",e.Next="Next",e.Open="Open",e.PageDown="PageDown",e.PageUp="PageUp",e.Previous="Previous",e.Select="Select",e.Tab="Tab",e.Type="Type",e}({});function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t=s.toLowerCase().trim();return e.filter(e=>("string"==typeof e.label?e.label:"string"==typeof e["aria-label"]?e["aria-label"]:"").toLowerCase().startsWith(t)&&0>a.indexOf(e))}let A=e=>e.split("").every(s=>s===e[0]),v=(e,s)=>e.findIndex(e=>e.id===s);var j=a(637045),k=a(919143),w=a(874400);let _=(0,i.forwardRef)((e,s)=>{let{theme:a}=(0,u.df)(),i=(0,k.A)().component.textEditable({selector:'[role="combobox"]'});return(0,t.jsxs)("div",{ref:s,"aria-activedescendant":e["aria-activedescendant"]||void 0,"aria-controls":e["aria-controls"],"aria-expanded":e.isExpanded,"aria-haspopup":"listbox","aria-labelledby":e["aria-labelledby"],"aria-disabled":e.isDisabled,"aria-invalid":e.isInvalid,"aria-describedby":e["aria-describedby"],"aria-required":e["aria-required"],role:"combobox",tabIndex:0,onKeyDown:e.onKeyDown,onClick:e.onClick,onFocus:e.onFocus,onBlur:e.onBlur,"data-testid":e.testId,className:o().dynamic([["191d86d2cd45bcdb",[b.A.spacing.xxs,e.minWidth,a.colors.labelSecondary]]])+" "+(p()("combobox-input",e.className,i.className)||""),children:[(0,t.jsx)("span",{className:o().dynamic([["191d86d2cd45bcdb",[b.A.spacing.xxs,e.minWidth,a.colors.labelSecondary]]])+" "+(p()("text",{placeholder:e.hasPlaceholderText})||""),children:e.children}),e.customDropdownIcon??(0,t.jsx)(w.A,{path:j.V,size:16,fill:"currentColor"}),i.styles,(0,t.jsx)(o(),{id:"191d86d2cd45bcdb",dynamic:[b.A.spacing.xxs,e.minWidth,a.colors.labelSecondary],children:`.combobox-input.__jsx-style-dynamic-selector{text-align:start;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:grid;grid-auto-flow:column;grid-template-columns:1fr auto;grid-gap:${b.A.spacing.xxs};min-width:${e.minWidth};-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.text.__jsx-style-dynamic-selector{width:100%;justify-self:start}.text.placeholder.__jsx-style-dynamic-selector{color:${a.colors.labelSecondary}}@media screen and (forced-colors:active){.combobox-input.__jsx-style-dynamic-selector{color:ButtonText;border-color:ButtonText}.combobox-input[aria-disabled="true"].__jsx-style-dynamic-selector{color:GrayText;border-color:ButtonText}}`})]})});var C=a(856097);let S=(0,i.forwardRef)((e,s)=>{let{theme:a,productVariables:i}=(0,u.df)();return(0,t.jsxs)("ul",{ref:s,id:e.id,role:"listbox","aria-labelledby":e["aria-labelledby"],tabIndex:-1,className:o().dynamic([["f2a5b0b6201e1ee7",[C.Ay.overflowWrap({shouldApplyWordBreak:!0}),a.colors.surfaceDefault,i.borderRadius.regular,C.Ay.shadow.md(),e.maxHeight]]])+" "+(p()("combobox-listbox",e.className,{"max-height":!!e.maxHeight})||""),children:[e.children,(0,t.jsx)(o(),{id:"f2a5b0b6201e1ee7",dynamic:[C.Ay.overflowWrap({shouldApplyWordBreak:!0}),a.colors.surfaceDefault,i.borderRadius.regular,C.Ay.shadow.md(),e.maxHeight],children:`.combobox-listbox.__jsx-style-dynamic-selector{${C.Ay.overflowWrap({shouldApplyWordBreak:!0})} background-color: ${a.colors.surfaceDefault};-webkit-border-radius:${i.borderRadius.regular};-moz-border-radius:${i.borderRadius.regular};border-radius:${i.borderRadius.regular};${C.Ay.shadow.md()} pointer-events: all;list-style:none}.max-height.__jsx-style-dynamic-selector{max-height:${e.maxHeight};overflow-y:auto}@media screen and (forced-colors:active){.combobox-listbox.__jsx-style-dynamic-selector{border:1px solid ButtonText}}`})]})});var D=a(789038),$=a(674772),I=a(888254);let T=(0,i.forwardRef)((e,s)=>{let{isActive:a,id:r,label:l,isSelected:n,isDisabled:c,tooltipContent:d}=e,{theme:x,productVariables:y}=(0,u.df)(),[m,g]=(0,i.useState)(!1),h=(0,i.useCallback)(()=>{d&&g(!0)},[d]),f=(0,i.useCallback)(()=>{d&&g(!1)},[d]);a&&!m&&h(),!a&&m&&f();let A=(0,t.jsxs)("li",{role:"option","aria-label":e["aria-label"],"aria-selected":n,id:r,ref:s,onFocus:h,onMouseOver:h,onMouseLeave:f,"aria-disabled":c,onClick:(0,$.gY)(c)(e.onClick),onMouseDown:(0,$.gY)(c)(e.onMouseDown),className:o().dynamic([["57eee4b86fb92917",[x.colors.labelPrimary,C.Ay.typography.bodySmall(),b.A.spacing.xxxs,b.A.spacing.xxs,y.borderRadius.regular,x.colors.surfaceHover,x.colors.labelDisabled,x.colors.outlineActive,b.A.spacing.xxs,b.A.
1spacing.xxs]]])+" "+(p()("combobox-option",e.className,{active:a})||""),children:[(0,t.jsxs)("div",{className:o().dynamic([["57eee4b86fb92917",[x.colors.labelPrimary,C.Ay.typography.bodySmall(),b.A.spacing.xxxs,b.A.spacing.xxs,y.borderRadius.regular,x.colors.surfaceHover,x.colors.labelDisabled,x.colors.outlineActive,b.A.spacing.xxs,b.A.spacing.xxs]]])+" combobox-option-content",children:[(0,t.jsx)("div",{className:o().dynamic([["57eee4b86fb92917",[x.colors.labelPrimary,C.Ay.typography.bodySmall(),b.A.spacing.xxxs,b.A.spacing.xxs,y.borderRadius.regular,x.colors.surfaceHover,x.colors.labelDisabled,x.colors.outlineActive,b.A.spacing.xxs,b.A.spacing.xxs]]])+" combobox-option-content-label",children:l}),(0,t.jsx)("div",{className:o().dynamic([["57eee4b86fb92917",[x.colors.labelPrimary,C.Ay.typography.bodySmall(),b.A.spacing.xxxs,b.A.spacing.xxs,y.borderRadius.regular,x.colors.surfaceHover,x.colors.labelDisabled,x.colors.outlineActive,b.A.spacing.xxs,b.A.spacing.xxs]]])+" combobox-option-content-selected",children:n&&(0,t.jsx)(w.A,{path:D.W,size:16,fill:"currentColor"})})]}),(0,t.jsx)(o(),{id:"57eee4b86fb92917",dynamic:[x.colors.labelPrimary,C.Ay.typography.bodySmall(),b.A.spacing.xxxs,b.A.spacing.xxs,y.borderRadius.regular,x.colors.surfaceHover,x.colors.labelDisabled,x.colors.outlineActive,b.A.spacing.xxs,b.A.
1spacing.xxs],children:`.combobox-option.__jsx-style-dynamic-selector{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;background-color:transparent;position:relative;text-align:start;text-decoration:none;color:${x.colors.labelPrimary};${C.Ay.typography.bodySmall()} padding: ${b.A.spacing.xxxs} ${b.A.spacing.xxs};-webkit-border-radius:${y.borderRadius.regular};-moz-border-radius:${y.borderRadius.regular};border-radius:${y.borderRadius.regular}}.combobox-option.__jsx-style-dynamic-selector:hover{background-color:${x.colors.surfaceHover}}.combobox-option[aria-disabled="true"].__jsx-style-dynamic-selector{cursor:not-allowed;color:${x.colors.labelDisabled}}.combobox-option.active.__jsx-style-dynamic-selector{-webkit-box-shadow:inset 0 0 0 2px ${x.colors.outlineActive};-moz-box-shadow:inset 0 0 0 2px ${x.colors.outlineActive};box-shadow:inset 0 0 0 2px ${x.colors.outlineActive};outline:2px solid transparent;outline-offset:-2px}.combobox-option-content.__jsx-style-dynamic-selector{display:grid;grid-auto-flow:column;grid-template-columns:1fr ${b.A.spacing.xxs};grid-gap:${b.A.spacing.xxs};-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}@media screen and (forced-colors:active){.combobox-option.__jsx-style-dynamic-selector:hover{color:SelectedItemText;background-color:SelectedItem}.combobox-option[aria-disabled="true"].__jsx-style-dynamic-selector{color:GrayText}}`})]});return d?(0,t.jsxs)(I.m_,{open:!!a||void 0,children:[(0,t.jsx)(I.k$,{children:A}),(0,t.jsx)(I.ZI,{children:d})]}):A}),P=b.A.spacing.custom("21.2rem"),R=e=>{let{minWidth:s=P,shouldStopKeydownPropagation:a=!0,portal:r=!0,...d}=e,b=(0,i.useRef)(null),m=(0,i.useId)(),j=(0,i.useId)(),k=d.isInvalid&&d.errorMessage,w=d.selectedOptionId?d.options.find(e=>e.id===d.selectedOptionId):void 0,{state:C,activeOptionRef:D,listboxRef:$,ariaActivedescendantId:I,onOptionMouseDown:R,onOptionClick:N,onInputBlur:L,onInputKeyDown:E,onInputClick:O}=function(e){let{isExpanded:s=!1,isDisabled:a=!1,options:t=[],selectedOption:r,shouldStopKeydownPropagation:o=!1,shouldDebounceUserInput:l=!0,onChange:n}=e,[c,d]=(0,i.useState)(()=>({isExpanded:s,activeIndex:v(t,r?.id),shouldShowActiveOption:!1})),p=(0,i.useRef)(null),x=(0,i.useRef)(null),u=(0,i.useRef)(!1),b=(0,i.useRef)(!1),y=(0,i.useRef)(""),m=(0,i.useMemo)(()=>{let e=()=>{y.current=""};return l?g()(e,500):e},[l]),j=t?.length-1,k=c.isExpanded&&c.activeIndex>-1?t[c.activeIndex]?.id:void 0;(0,i.useEffect)(()=>{var e;p.current&&x.current&&c.isExpanded&&(e=p.current)&&e.clientHeight<e.scrollHeight&&function(e,s){let{offsetHeight:a,offsetTop:t}=e,{offsetHeight:i,scrollTop:r}=s,o=t<r,l=t+a>r+i;o?s.scrollTo(0,t):l&&s.scrollTo(0,t-i+a)}(x.current,p.current),x.current&&c.isExpanded&&!function(e){let{top:s,left:a,bottom:t,right:i}=e.getBoundingClientRect();return s>=0&&a>=0&&t<=(window.innerHeight||document.documentElement.clientHeight)&&i<=(window.innerWidth||document.documentElement.clientWidth)}(x.current)&&x.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[c.activeIndex,c.isExpanded]);let w=e=>{d(s=>({activeIndex:r?v(t,r.id):s.activeIndex,isExpanded:!0,shouldShowActiveOption:e}))},_=()=>{d(e=>({...e,isExpanded:!1,shouldShowActiveOption:!1}))},C=()=>{c.isExpanded?_():w(!1)},S=e=>{if("number"==typeof e&&e>-1){let s=t[e];s.isDisabled||n(s.id)}},D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;d(s=>({...s,activeIndex:e,shouldShowActiveOption:!0}))},$=e=>(m(),y.current+=e,y.current),I=e=>{c.isExpanded||d(e=>({...e,isExpanded:!0,shouldShowActiveOption:!0}));let s=function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,t=[...e.slice(a),...e.slice(0,a)],i=f(t,s)[0];if(i)return e.indexOf(i);if(A(s)){let a=f(t,s[0]);return e.indexOf(a[0])}return -1}(t,$(e),c.activeIndex+1);s>=0&&D(s)};return{activeOptionRef:x,ariaActivedescendantId:k,listboxRef:p,state:c,onInputBlur:()=>{if(u.current){u.current=!1;return}c.isExpanded&&(S(c.activeIndex),_())},onInputClick:()=>{a||C()},onInputKeyDown:e=>{if(a)return;let s=function(e,s){let{key:a,altKey:t,ctrlKey:i,metaKey:r}=e;if(!s&&["ArrowDown","ArrowUp","Enter"," "].includes(a))return h.Open;if("Home"===a)return h.First;if("End"===a)return h.Last;if("Backspace"===a||"Clear"===a||1===a.length&&" "!==a&&!t&&!i&&!r)return h.Type;if(s){if("ArrowUp"===a&&t)return h.CloseSelect;if("ArrowDown"===a&&!t)return h.Next;if("ArrowUp"===a)return h.Previous;else if("PageUp"===a)return h.PageUp;else if("PageDown"===a)return h.PageDown;else if("Escape"===a)return h.Close;else if("Tab"===a)return h.Tab;else if("Enter"===a||" "===a)return h.CloseSelect}}(e,c.isExpanded);switch(s){case h.Last:case h.First:w(!0);case h.Next:case h.Previous:case h.PageUp:case h.PageDown:e.preventDefault(),D(function(e,s,a){let t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;switch(a){case h.First:return 0;case h.Last:return s;case h.Previous:return Math.max(0,e-1);case h.Next:return Math.min(s,e+1);case h.PageUp:return Math.max(0,e-t);case h.PageDown:return Math.min(s,e+t);default:return e}}(c.activeIndex,j,s));break;case h.CloseSelect:e.preventDefault(),S(c.activeIndex);case h.Close:e.preventDefault(),b.current=!0,_();break;case h.Tab:u.current=!0,_();break;case h.Type:I(e.key);break;case h.Open:e.preventDefault(),w(!0)}o&&e.stopPropagation()},onOptionClick:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;_(),S(e)},onOptionMouseDown:()=>{u.current=!0,b.current=!0}}}({inputRef:b,isDisabled:d.isDisabled,options:d.options,selectedOption:w,shouldDebounceUserInput:d.shouldDebounceUserInput,shouldStopKeydownPropagation:a,onChange:d.onChange}
1),F=d.currentOptionLabel||w?.label||d.placeholderLabel||"",M=d.options.map((e,s)=>{let{id:a,label:t,...r}=e,o=w?.id===a,l=C.shouldShowActiveOption&&s===C.activeIndex;return(0,i.createElement)(T,{...r,key:a,className:p()(d.optionClassName),ref:l?D:void 0,id:a,label:t,isSelected:o,isActive:l,onMouseDown:R,onClick:()=>N(s)})}),{refs:H,floatingStyles:z,context:B}=(0,l.we)({open:C.isExpanded,onOpenChange:O,middleware:[(0,n.RK)({allowedPlacements:["top-start","bottom-start"]}),(0,n.Ej)({apply:e=>{let{rects:s,elements:a}=e;Object.assign(a.floating.style,{minWidth:`${s.reference.width}px`})}})],strategy:"fixed",whileElementsMounted:c.ll}),U=(0,l.kp)(B),W=(0,l.s9)(B),{getReferenceProps:K,getFloatingProps:V}=(0,l.bv)([U,W]),q=(0,l.SV)([b,H.setReference]),J=(0,t.jsxs)("div",{ref:H.setFloating,style:z,...V(),className:o().dynamic([["d6da556aafb2aa31",[x.KU]]])+" combobox-floating",children:[(0,t.jsx)(u.Pl,{defaultTheme:"light",children:(0,t.jsx)(S,{"aria-labelledby":d.ariaLabelledbyId,id:m,className:d.listboxClassName,ref:$,inputRef:b,maxHeight:d.maxHeight,children:M})}),(0,t.jsx)(o(),{id:"d6da556aafb2aa31",dynamic:[x.KU],children:`.combobox-floating.__jsx-style-dynamic-selector{z-index:-webkit-calc(${x.KU} + 1);z-index:-moz-calc(${x.KU} + 1);z-index:calc(${x.KU} + 1)}`})]});return(0,t.jsxs)("div",{className:o().dynamic([["90ee75773675e2fa",[s]]])+" "+(p()("combobox-select",{"full-width":d.isFullWidth},d.targetClassName)||""),children:[(0,t.jsx)(_,{ref:q,"aria-controls":m,"aria-labelledby":d.ariaLabelledbyId,"aria-activedescendant":I,"aria-describedby":k?j:void 0,"aria-required":d.isRequired,className:d.inputClassName||d.targetContentClassName,isExpanded:C.isExpanded,isDisabled:d.isDisabled,isInvalid:d.isInvalid,hasPlaceholderText:!w?.label&&!!d.placeholderL
1abel,minWidth:s,onBlur:L,onClick:O,onKeyDown:E,testId:d.testId,customDropdownIcon:d.customDropdownIcon,...K({onClick:O,onKeyDown:E,onBlur:L}),children:F}),k&&(0,t.jsx)(y.A,{id:j,children:d.errorMessage}),C.isExpanded&&(r?(0,t.jsx)(l.XF,{children:J}):J),(0,t.jsx)(o(),{id:"90ee75773675e2fa",dynamic:[s],children:`.combobox-select.__jsx-style-dynamic-selector{display:inline-block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;min-width:${s}}.combobox-select.full-width.__jsx-style-dynamic-selector{width:100%}`})]})}},199309:(e,s,a)=>{a.d(s,{J:()=>x});var t=a(406029),i=a(94588),r=a.n(i),o=a(332988),l=a.n(o),n=a(716450),c=a(856097),d=a(459358),p=a(705338);let x=e=>{let{theme:s}=(0,n.df)();return(0,t.jsxs)("label",{id:e.id,htmlFor:e.htmlFor,className:r().dynamic([["a730093773488c6f",[c.Ay.typography.form.label(),d.A.spacing.xxxs,c.Ay.screenReaderOnly(),s.colors.labelDisabled]]])+" "+(l()("combobox-label",e.className,{"sr-only":e.isVisuallyHidden,disabled:e.disabled})||""),children:[e.label,e.isRequired&&(0,t.jsx)(p.A,{}),(0,t.jsx)(r(),{id:"a730093773488c6f",dynamic:[c.Ay.typography.form.label(),d.A.spacing.xxxs,c.Ay.screenReaderOnly(),s.colors.labelDisabled],children:`.combobox-label.__jsx-style-dynamic-selector{${c.Ay.typography.form.label()} display: block;margin-bottom:${d.A.spacing.xxxs}}.sr-only.__jsx-style-dynamic-selector{${c.Ay.screenReaderOnly()}}.disabled.__jsx-style-dynamic-selector{color:${s.colors.labelDisabled}}`})]})}},210159:(e,s,a)=>{a.d(s,{A:()=>g});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(332988),n=a.n(l),c=a(139478),d=a(789038),p=a(716450),x=a(856097),u=a(459358),b=a(874400),y=a(615613),m=a(652266);let g=e=>{let{...s}=e,{theme:a,productVariables:i}=(0,p.df)(),l={disabled:s.isDisabled},g=(0,o.useRef)(null),h=(0,o.useId)(),f=(0,o.useId)();return(0,o.useEffect)(()=>{g.current&&(g.current.indeterminate=!!s.isPartiallyChecked)},[g,s.isPartiallyChecked]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" "+(n()("layout-container",{"with-margin":!s.tooltip})||""),children:[(0,t.jsxs)("label",{htmlFor:h,className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" "+(n()(l,s.className)||""),children:[(0,t.jsx)("input",{id:h,type:"checkbox",checked:!!s.isChecked&&!s.isPartiallyChecked,"aria-checked":s.isPartiallyChecked?"mixed":s.isChecked,disabled:s.isDisabled,"aria-disabled":s.isDisabled,onChange:s.onChange,"data-testid":s.testId,ref:g,required:s.required,"aria-invalid":s.isInvalid,"aria-describedby":s.isInvalid?f:void 0,className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" checkbox"}),(0,t.jsx)("div",{className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" checkbox-input-outer",children:(0,t.jsx)("div",{className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" checkbox-input-inner",children:(0,t.jsx)(b.A,{path:s.isPartiallyChecked?c.y:d.W,size:16})})}),s.label&&(0,t.jsx)("div",{className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" "+(n()("checkbox-label",l)||""),children:s.label})]}),s.tooltip&&(0,t.jsx)(m.WU,{tooltip:s.tooltip,isFocusable:!0})]}),s.description&&(0,t.jsx)("div",{className:r().dynamic([["bed762d237ced173",[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})]]])+" "+(n()("checkbox-description",l)||""),children:s.description}),s.isInvalid&&s.errorMessage&&(0,t.jsx)(y.A,{id:f,children:s.errorMessage}),(0,t.jsx)(r(),{id:"bed762d237ced173",dynamic:[x.Ay.screenReaderOnly(),u.A.spacing.xxxs,x.Ay.typography.bodySmall(),a.colors.labelPrimary,x.Ay.typography.caption(),a.colors.labelSecondary,u.A.spacing.xs,a.colors.labelDisabled,u.A.spacing.xxs,u.A.spacing.xxs,i.borderRadius.small,a.colors.surfaceDefault,a.colors.labelSecondary,u.A.spacing.xxxs,a.colors.outlineSubduedHover,x.Ay.center(),a.colors.labelPrimaryReverse,a.colors.interactiveDefault,a.colors.interactiveDisabled,a.colors.outlineSubduedDefault,a.colors.surfaceDisabled,x.Ay.focusIndicatorUniversal({})],children:`.checkbox.__jsx-style-dynamic-selector{${x.Ay.screenReaderOnly()}}.layout-container.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.layout-container.with-margin.__jsx-style-dynamic-selector{margin:${u.A.spacing.xxxs} 0}label.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}label.disabled.__jsx-style-dynamic-selector{cursor:not-allowed}.checkbox-label.__jsx-style-dynamic-selector{-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;${x.Ay.typography.bodySmall()} color: ${a.colors.labelPrimary}}.checkbox-description.__jsx-style-dynamic-selector{${x.Ay.typography.caption()} color: ${a.colors.labelSecondary};-webkit-margin-start:${u.A.spacing.xs};-moz-margin-start:${u.A.spacing.xs};margin-inline-start:${u.A.spacing.xs}}.checkbox-label.disabled.__jsx-style-dynamic-selector,.checkbox-description.disabled.__jsx-style-dynamic-selector{color:${a.colors.labelDisabled}}.checkbox-input-outer.__jsx-style-dynamic-selector,.checkbox-input-inner.__jsx-style-dynamic-selector{width:${u.A.spacing.xxs};height:${u.A.spacing.xxs};-webkit-border-radius:${i.borderRadius.small};-moz-border-radius:${i.borderRadius.small};border-radius:${i.borderRadius.small};background-color:${a.colors.surfaceDefault}}.checkbox-input-outer.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;border:1px solid ${a.colors.labelSecondary};-webkit-margin-end:${u.A.spacing.xxxs};-moz-margin-end:${u.A.spacing.xxxs};margin-inline-end:${u.A.spacing.xxxs}}.checkbox-input-inner.__jsx-style-dynamic-selector{display:none}label.__jsx-style-dynamic-selector:hover .checkbox-input-outer.__jsx-style-dynamic-selector,.checkbox-input-outer.__jsx-style-dynamic-selector:hover{border-color:${a.colors.outlineSubduedHover}}.checkbox.__jsx-style-dynamic-selector:checked+.checkbox-input-outer.__jsx-style-dynamic-selector .checkbox-input-inner.__jsx-style-dynamic-selector,.checkbox[aria-checked="mixed"].__jsx-style-dynamic-selector+.checkbox-input-outer.__jsx-style-dynamic-selector .checkbox-input-inner.__jsx-style-dynamic-selector{${x.Ay.center()} color: ${a.colors.labelPrimaryReverse};background-color:${a.colors.interactiveDefault};margin:-1px}.checkbox[disabled].__jsx-style-dynamic-selector:checked+.checkbox-input-outer.__jsx-style-dynamic-selector .checkbox-input-inner.__jsx-style-dynamic-selector,.checkbox[disabled][aria-checked="mixed"].__jsx-style-dynamic-selector+.checkbox-input-outer.__jsx-style-dynamic-selector .checkbox-input-inner.__jsx-style-dynamic-selector{background-color:${a.colors.interactiveDisabled}}.checkbox[disabled].__jsx-style-dynamic-selector:not(:checked)+.checkbox-input-outer.__jsx-style-dynamic-selector{border-color:${a.colors.outlineSubduedDefault};background-color:${a.colors.surfaceDisabled}}.checkbox.__jsx-style-dynamic-selector:focus-visible+.checkbox-input-outer.__jsx-style-dynamic-selector{${x.Ay.focusIndicatorUniversal({})}}`})]})}},263841:(e,s,a)=>{a.d(s,{A:()=>n});var t=a(406029),i=a(94588),r=a.n(i),o=a(716450),l=a(459358);let n=()=>{let{theme:e}=(0,o.df)();return(0,t.jsx)("div",{className:r().dynamic([["c83163c0927f10e2",[l.A.spacing.xxxxs,l.A.spacing.xxxxs,e.colors.outlineSubduedDefault]]])+" divider",children:(0,t.jsx)(r(),{id:"c83163c0927f10e2",dynamic:[l.A.spacing.xxxxs,l.A.spacing.xxxxs,e.colors.outlineSubduedDefault],children:`.divider.__jsx-style-dynamic-selector{width:1px;height:-webkit-calc(100% - 2 * ${l.A.spacing.xxxxs});height:-moz-calc(100% - 2 * ${l.A.spacing.xxxxs});height:calc(100% - 2 * ${l.A.spacing.xxxxs});margin:0 ${l.A.spacing.xxxxs};background-color:${e.colors.outlineSubduedDefault}}`})})}},328202:(e,s,a)=>{a.d(s,{RV:()=>u,X6:()=>x,nm:()=>p});var t=a(406029),i=a(455729),r=a(335274),o=a(89826),l=a(54302),n=a(254033),c=a(239663);let d=(0,i.createContext)({isFavorite:!1,onItemFavorite:()=>{},onItemUnfavorite:()=>{},showSignInModal:()=>{}}),p=()=>(0,i.useContext)(d),x=e=>{let{children:s,storyItem:a,signInModal:p,showSignInModal:x}=e,{toast:u}=(0,r.dj)(),{authManager:b}=(0,o.Py)(),[y,m]=(0,i.useState)(!1),{itemId:g,itemOwner:h,type:f,viewerMode:A}=a;(0,i.useEffect)(()=>{v()},[]);let v=async()=>{let e=async()=>
1{if(!b)return!1;try{return await (0,l.YI)(g,b)}catch(e){return!1}};m(await e())},j=(0,i.useCallback)(async()=>{if(b)try{m(!0),await (0,c.eb)({id:g,authManager:b,toast:u,owner:h,itemType:f}),n.A.trackEvent("view"===A?n.A.Category.Viewer:n.A.Category.Builder,n.A.Action.Item_Favorited,f)}catch(e){m(!1)}},[b,a]),k=(0,i.useCallback)(async()=>{if(b)try{m(!1),await (0,c.V4)({id:g,authManager:b,toast:u,owner:h,itemType:f}),n.A.trackEvent("view"===A?n.A.Category.Viewer:n.A.Category.Builder,n.A.Action.Item_Unfavorited,f)}catch(e){m(!0)}},[b,a]),w=(0,i.useMemo)(()=>({isFavorite:y,onItemFavorite:j,onItemUnfavorite:k,showSignInModal:x}),[y,j,k,x]);return(0,t.jsxs)(d.Provider,{value:w,children:[s,p]})},u=e=>s=>(0,t.jsx)(d.Consumer,{children:a=>(0,t.jsx)(e,{...s,...a})})},367875:(e,s,a)=>{a.d(s,{A:()=>l,e:()=>o});var t=a(406029),i=a(455729),r=a(241523);let o=e=>class extends i.Component{render(){return(0,t.jsx)(r.Ay.Consumer,{children:s=>(0,t.jsx)(e,{...this.props,storyItem:s})})}},l=o},426343:(e,s,a)=>{a.d(s,{A:()=>u});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(332988),n=a.n(l),c=a(459358),d=a(199309),p=a(123396),x=a(652266);let u=e=>{let{labelText:s,isLabelVisuallyHidden:a,labelClassName:i,labelTooltipText:l,containerClassName:u,...b}=e,y=(0,o.useId)(),m="string"==typeof l&&l.length>0,g={styles:(0,t.jsx)(r(),{id:"a5467230bc52d81b",children:".label-override.jsx-a5467230bc52d81b{margin-bottom:0}"}),className:"jsx-a5467230bc52d81b"},h=(0,t.jsx)(d.J,{id:y,label:s,className:n()(i,{"label-override":m,[g.className]:m}
1),disabled:b.isDisabled,isRequired:b.isRequired,isVisuallyHidden:a});return(0,t.jsxs)("div",{className:r().dynamic([["d0624fe58483c6de",[c.A.spacing.xxs]]])+" "+(n()("combobox-with-label",u)||""),children:[m?(0,t.jsx)(x.WU,{placement:"top",tooltip:l,isFocusable:!0,children:h}):h,(0,t.jsxs)("div",{className:r().dynamic([["d0624fe58483c6de",[c.A.spacing.xxs]]])+" combobox-row",children:[(0,t.jsx)(p.Ay,{ariaLabelledbyId:y,...b}),e.bottomItems]}),(0,t.jsx)(r(),{id:"d0624fe58483c6de",dynamic:[c.A.spacing.xxs],children:`.combobox-row.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start;gap:${c.A.spacing.xxs}}`}),m&&g.styles]})}},502436:(e,s,a)=>{a.d(s,{Iw:()=>p,No:()=>d,OD:()=>n});var t=a(406029),i=a(455729),r=a(155022),o=a(522344);let l=(0,i.createContext)({isGoogleFontCSSLoaded:e=>!1,loadFont:e=>void 0,removeFont:e=>void 0}),n=()=>(0,i.useContext)(l),c=(e,s)=>{let a=e.indexOf(s.fontKey);switch(s.type){case"add":if(a<0)return[...e,s.fontKey];return e;case"remove":if(a>=0)return[...e.slice(0,a),...e.slice(a+1)];return e;default:return e}},d=e=>{let{children:s}=e,a="google-font-css",n=(0,i.useRef)(!0),d=(0,i.useRef)([]),[p,x]=(0,i.useReducer)(c,[]),u=(0,i.useCallback)(e=>{let s=d.current.filter(r.z);if(document.querySelectorAll(`.${a}`).forEach(e=>{e.dataset.googleFontKey&&s.includes(e.dataset.googleFontKey)||e.remove()}),e){let s=document.createElement("link");s.rel="stylesheet",s.classList.add(a),s.dataset.googleFontKey=e.key,s.onload=()=>{n.current&&x({type:"add",fontKey:e.key})},s.href=(0,o.o5)(e.fontDef),document.head.append(s)}},[]),b=(0,i.useCallback)(e=>{let{displayName:s,weight:a}=e;return p.includes((0,o.bl)({displayName:s,weight:a}))},[p]);return(0,i.useEffect)(()=>()=>{n.current=!1,document.querySelectorAll(`.${a}`).forEach(e=>{e.remove()})},[]),(0,t.jsx)(l.Provider,{value:{isGoogleFontCSSLoaded:b,loadFont:e=>{let s=(0,o.bl)(e),a=!d.current.includes(s);d.current=[...d.current,s],a&&u({fontDef:e,key:s})},removeFont:e=>{setTimeout(()=>{let s=(0,o.bl)(e),a=d.current.indexOf(s);a>=0&&(d.current=[...d.current.slice(0,a),...d.current.slice(a+1)]),!d.current.includes(s)&&n.current&&(x({type:"remove",fontKey:s}),u())},50)}},children:s})};d.displayName="GoogleFontsProvider";let p=e=>class extends i.PureComponent{render(){return(0,t.jsx)(l.Consumer,{children:s=>(0,t.jsx)(e,{...this.props,googleFonts:s})})}}},531095:(e,s,a)=>{a.d(s,{A:()=>g});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(390248),n=a(639151),c=a(597770),d=a(459358),p=a(779186),x=a(888254),u=a(924099),b=a(716450),y=a(872333);class m extends o.PureComponent{static #e=this.defaultProps={shouldShowCancelButton:!0};constructor(e){super(e),this.renderModalBody=()=>{let e=this.props.tabs.find(e=>e.id===this.getSelectedTabId())||this.props.tabs[0];return(0,t.jsxs)(o.Fragment,{children:[e.modalProperties&&e.modalProperties.length>0&&this.renderEnabledProperties(e.modalProperties),e.disabledModalProperties&&e.disabledModalProperties.length>0&&(0,t.jsxs)(o.Fragment,{children:[!e.shouldHideDisabledModalPropertiesCallout&&(0,t.jsx)(c.A,{size:"large",marginBottom:d.A.spacing.xxs,children:e.disabledModalPropertiesCalloutContent??(0,t.jsx)(l.A,{id:"publicAccount.disabled.link",tagName:"p",values:{"product-doc":e=>(0,t.jsx)("a",{href:"https://www.esri.com/en-us/arcgis/products/arcgis-storymaps/buy",target:"_blank",rel:"noopener noreferrer",children:e})}})}),this.renderDisabledProperties(e.disabledModalProperties)]})]})},this.renderModalBodyWithTabbar=()=>(0,t.jsxs)("div",{className:r().dynamic([["3fd9dd44b1310ca5",[d.A.spacing.xxxxs,d.A.spacing.sm]]])+" properties",children:[this.renderTabBar(),(0,t.jsx)("div",{className:r().dynamic([["3fd9dd44b1310ca5",[d.A.spacing.xxxxs,d.A.spacing.sm]]])+" properties-body",children:this.renderModalBody()}),(0,t.jsx)(r(),{id:"3fd9dd44b1310ca5",dynamic:[d.A.spacing.xxxxs,d.A.spacing.sm],children:`.properties.__jsx-style-dynamic-selector{margin-top:${d.A.spacing.xxxxs}}.properties-body.__jsx-style-dynamic-selector{margin-top:${d.A.spacing.sm}}`})]}),this.renderIcon=e=>(0,t.jsxs)("span",{className:r().dynamic([["481025746db23a22",[d.A.spacing.xxxs]]])+" icon-container",children:[e,(0,t.jsx)(r(),{id:"481025746db23a22",dynamic:[d.A.spacing.xxxs],children:`.icon-container.__jsx-style-dynamic-selector{display:inline-block;-webkit-padding-start:${d.A.spacing.xxxs};-moz-padding-start:${d.A.spacing.xxxs};padding-inline-start:${d.A.spacing.xxxs}}`})]}),this.renderTabBar=()=>(0,t.jsx)(p.A,{children:this.props.tabs.map((e,s)=>{let a=(0,t.jsxs)(p.A.Tab,{"data-id":e.id,isSelected:this.getSelectedTabId()===e.id,onClick:this.onTabChange(e.id),isDisabled:e.isDisabled,testId:e.testId,children:[(0,t.jsx)(l.A,{id:e.title}),e.icon&&this.renderIcon(e.icon)]},e.id);return e.isDisabled?(0,t.jsx)("div",{children:(0,t.jsxs)(x.m_,{children:[(0,t.jsx)(x.k$,{children:a}),(0,t.jsx)(x.ZI,{children:this.props.intl.formatMessage({id:e.disabledTooltipId})})]})},e.id):a})}
1),this.getSelectedTabId=()=>this.props.selectedTabId||this.state?.selectedTabId||this.props.tabs[0].id,this.onTabChange=e=>()=>{this.props.onTabChange?this.props.onTabChange(e):this.setState({selectedTabId:this.props.selectedTabId||e})},this.renderEnabledProperties=e=>e.map((e,s)=>this.renderMediaPropertyInput({property:e,isDisabled:e.isDisabled??!1,shouldAutoFocus:0===s})),this.renderDisabledProperties=e=>(0,t.jsxs)("div",{className:"jsx-a3bb1948c67556b9 disabled-properties",children:[e.map(e=>this.renderMediaPropertyInput({property:e,isDisabled:!0})),(0,t.jsx)(r(),{id:"a3bb1948c67556b9",children:".disabled-properties.jsx-a3bb1948c67556b9{opacity:.4}"})]}),this.renderMediaPropertyInput=e=>{let{property:s,isDisabled:a,shouldAutoFocus:i}=e;return(0,t.jsx)(y.A,{...s,shouldAutoFocus:i,isDisabled:a,isInvalid:s.isInvalid||this.state.shouldShowError},s.id)},this.updateSettings=()=>{let e=this.props.tabs.find(e=>e.id===this.getSelectedTabId())||this.props.tabs[0],s=!1;e.modalProperties&&e.modalProperties.length>0&&(e.modalProperties.forEach(e=>{e.isRequired&&!e.value&&(s=!0)}),this.setState({shouldShowError:s})),s||this.props.onConfirm(e.id)},this.closeMediaOptions=()=>{this.props.onDiscard()},this.state={shouldShowError:!1,selectedTabId:this.getSelectedTabId()}}componentDidUpdate(e,s){this.props.isShowingModal&&!e.isShowingModal&&this.setState({shouldShowError:!1})}render(){let e=void 0===this.props.isShowingModal||this.props.isShowingModal,s=this.props.saveButtonContent||(0,t.jsx)(l.A,{id:"builder.common.save"});return(0,t.jsx)(u.A,{isShowingModal:e,onCloseButtonClick:this.closeMediaOptions,headerTitle:this.props.mediaTitle,primaryButtonTitle:s,onPrimaryButtonClick:this.updateSettings,secondaryButtonTitle:this.props.shouldShowCancelButton&&(0,t.jsx)(l.A,{id:"common.cancel"}),onSecondaryButtonClick:this.closeMediaOptions,closeButtonLabel:this.props.intl.formatMessage({id:"common.close"}),isPrimaryButtonDisabled:this.props.isSaveDisabled,hasTabs:this.props.tabs.length>1,children:this.props.tabs.length>1?this.renderModalBodyWithTabbar():this.renderModalBody()})}}let g=(0,n.Ay)(e=>(0,t.jsx)(b.Pl,{defaultTheme:"light",children:(0,t.jsx)(m,{...e})}))},539248:(e,s,a)=>{a.d(s,{FL:()=>l,Oh:()=>r,QI:()=>o,UK:()=>i,rU:()=>c});var t=a(385526);let i=e=>{let{itemType:s,isTemplate:a,title:i,formatMessage:r,fallbackOverrides:o}=e;return i||r({id:o?.[s]??(0,t.U8)(s,a)})},r=(e,s,a)=>{if(!s||"preview"===e.viewerMode||a)return;let t=e.itemData,i=t.root,r=t.nodes[i],o=r?.config?.analytics;if(o)return o},o=()=>n(window.location.hash),l=()=>{window.history.replaceState(null,"",window.location.origin+window.location.pathname+window.location.search)},n=e=>{let s=e.substring(1).match(/(^|&)ref-([^?&]+)/);if(s)return s[2]},c=(e,s)=>{try{let a=new URL(e);if(!s)return e;let t=`ref-${s}`,i=a.hash;return a.hash=i?`${i}&${t}`:t,a.href}catch{return""}}},585810:(e,s,a)=>{a.d(s,{XR:()=>o,eg:()=>c,uA:()=>x,wJ:()=>d});var t=a(455729),i=a(366317),r=a(255281);let o="â ",l=e=>{!1===e?document.exitFullscreen():!0===e?document.documentElement.requestFullscreen():document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},n=()=>!!document.fullscreenElement,c=e=>{let{onChange:s,exitFullscreenOnUnmount:a=!1}=e,[i,r]=(0,t.useState)(n());return(0,t.useEffect)(()=>{let e=()=>{let e=n();r(e),s?.(e)};return document.addEventListener("fullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e)}},[s]),(0,t.useEffect)(()=>()=>{a&&n()&&l(!1)},[a]),{isDocumentFullscreen:i,toggleDocumentFullscreen:l}},d=e=>{(!(0,r.nq)()||document.activeElement!==document.body)&&(null===e.getAttribute("tabindex")&&e.setAttribute("tabindex","-1"),e.classList.remove(i.tK.focusHasJumpedClass),e.classList.add(i.tK.focusIsJumpingClass),e.focus(),e.addEventListener("blur",p),setTimeout(()=>{e.classList.replace(i.tK.focusIsJumpingClass,i.tK.focusHasJumpedClass)},500))},p=e=>{let s=e.target||null;s&&(s.classList.remove(i.tK.focusHasJumpedClass),s.removeEventListener("blur",p))},x=e=>{let s="string"==typeof e?document.getElementById(e):e;return!!s?.contains(document.activeElement)}},840543:(e,s,a)=>{a.d(s,{IO:()=>d,me:()=>l});var t=a(733704),i=a(456444),r=a(122353),o=a(901595);let l=e=>{let s=e?.type==="google"&&e.gaid&&/^G-[\da-z]{1,10}$/i.test(e.gaid),a=e?.type==="adobe"&&e.adobeSuiteID&&/^(?!.*\s)(?=.*[a-zA-Z0-9.])[a-zA-Z0-9.]{1,40}$/i.test(e.adobeSuiteID),t=/^(?!www\.)([-a-zA-Z0-9.-]{1,256}){1,4}\.[a-zA-Z0-9()]{1,6}\b$/i,i=e?.type==="adobe"&&e.adobeTrackingServer&&t.test(e.adobeTrackingServer);return{isValidGA:s,isValidAdobeSuiteID:a,isValidAdobeTrackingServer:i,isValidAdobeTrackingServerSSL:e?.type==="adobe"&&!!e.adobeTrackingSSL&&t.test(e.adobeTrackingSSL),isValidAnalyticsConfig:s||a&&i}};
1class n{constructor(e,s,a){this.startupTracker=async()=>{await this.tracker.init(),this.trackPageView()},this.trackPageView=()=>{if("function"==typeof window.gtag&&this.tracker)try{this.tracker.logPageView(document.title)}catch(e){console.error(e)}},this.sendEvent=e=>{this.tracker.logEvent({category:e.category,action:e.action,label:e.label})},this.debug=s,this.portal=a;let i=new r.a({measurementIds:[e]});this.googleTelemetryOptions={plugins:[i],portal:this.portal,debug:this.debug},this.tracker=new t.Telemetry(this.googleTelemetryOptions)}}class c{constructor(e,s,a,r,o){this.startupTracker=async()=>{await this.tracker.init(),this.trackPageView()},this.trackPageView=()=>{if("function"==typeof window.s_gi&&this.tracker)try{this.tracker.logPageView()}catch(e){console.error(e)}},this.sendEvent=e=>{this.tracker.logEvent({category:e.category,action:e.action,label:e.label})},this.portal=r,this.debug=a;let l={plugins:[new i.w({reportSuite:e,trackingServer:s,trackingServerSSL:o})],portal:this.portal,debug:this.debug};this.tracker=new t.Telemetry(l)}}class d{static #e=this.disableTracking=!1;static #s=this.Category=o.E;static #a=this.Action=o.r;static #t=this.debug=!1;static async setup(e){if(!("1"===window.navigator.doNotTrack||d.isReady())&&"undefined"!=typeof TextEncoder&&l(e.authorTrackingConfig).isValidAnalyticsConfig){if(e.isPortal&&e.portal&&(e.portal.eueiEnabled=!0),e.authorTrackingConfig?.type==="google")try{d.instance=new n(e.authorTrackingConfig.gaid,this.debug,e.portal)}catch(e){}else if(e.authorTrackingConfig?.type==="adobe")try{d.instance=new c(e.authorTrackingConfig.adobeSuiteID,e.authorTrackingConfig.adobeTrackingServer,this.debug,e.portal,e.authorTrackingConfig?.adobeTrackingSSL)}catch(e){}}}static isReady(){return void 0!==d.instance}}},854527:(e,s,a)=>{a.d(s,{A:()=>b});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(390248),n=a(459358),c=a(438910),d=a(894368),p=a(348239),x=a(789016);class u extends o.PureComponent{componentWillUnmount(){this.justCopiedTimeoutId&&clearTimeout(this.justCopiedTimeoutId),this.props.onCopyEnable()}render(){let e={styles:(0,t.jsx)(r(),{id:"ea825855fd32dc55",dynamic:[n.A.spacing.xxs],children:`.copy-button.__jsx-style-dynamic-selector{margin-top:${n.A.spacing.xxs}}.textarea.__jsx-style-dynamic-selector{cursor:pointer}`}),className:r().dynamic([["ea825855fd32dc55",[n.A.spacing.xxs]]])};return(0,t.jsxs)(o.Fragment,{children:[(0,t.jsx)(c.A,{type:"textarea",ref:this.embedCodeTextArea,value:this.props.textToCopy,isReadOnly:!0,className:`textarea ${e.className}`,onClick:this.selectTextArea}),(0,t.jsx)(d.Ay,{type:"secondary",className:`copy-button ${e.className}`,onClick:this.copyEmbedToClipboard,disabled:this.props.isCopyDisabled,children:(0,t.jsx)(l.A,{id:this.props.isCopyDisabled?"builder.common.copied":"builder.common.copy"})}),e.styles]})}constructor(...e){super(...e),this.embedCodeTextArea=(0,o.createRef)(),this.selectTextArea=()=>{this.embedCodeTextArea?.current?.focus(),this.embedCodeTextArea?.current?.select()},this.copyEmbedToClipboard=async()=>{try{await (0,x.lW)(this.embedCodeTextArea?.current?.value??this.props.textToCopy),this.props.onCopyDisable(()=>{this.justCopiedTimeoutId&&clearTimeout(this.justCopiedTimeoutId),this.justCopiedTimeoutId=setTimeout(()=>{this.props.onCopyEnable()},3e3)})}catch(e){this.props.toast.add({type:"error",title:(0,t.jsx)(l.A,{id:"viewer.copyToClipboard.failure"})})}}}}let b=(0,p.Ay)(u)},857588:(e,s,a)=>{a.d(s,{A:()=>m});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(332988),n=a.n(l),c=a(856097),d=a(459358),p=a(426343),x=a(159004),u=a(150547);let b=(e,s)=>{switch(s.type){case"language-set":return{...e,...s.payload};case"culture-changed":return{...e,selectedCulture:s.payload};default:return e}},y=e=>{let s={id:e.culture,label:(0,x.Ii)(e)};return e.cultureFormats&&(s.cultureFormats=e.cultureFormats),s},m=e=>{let{locale:s,onLocaleChange:a,className:i,labelClassName:l,isEditing:x=!0,languages:m,isDisabled:g,shouldPortalListboxes:h}=e,f=(0,u.A)(),[A,v]=(0,o.useReducer)(b,{languageOptions:m.map(y)});(0,o.useEffect)(()=>{let e,a;let[t,i]=s.split("-"),r=A.languageOptions.find(e=>e.id===t||e.id===s);r?.cultureFormats&&({selectedCulture:e,cultures:a}=j(r.cultureFormats,i)),v({type:"language-set",payload:{selectedLanguage:r,cultureOptions:a,selectedCulture:e}})},[x]);let j=(e,s)=>{let a=e.map(e=>({id:e.format,label:`${e.localizedName} - ${e.name}`})),t=s?.toLowerCase(),i=a.find(e=>e.id===t);return i?{selectedCulture:i,cultures:a}:{selectedCulture:a[0],cultures:a}},k=(e,s)=>e&&s?`${e.id}-${s.id}`:e?.id??"";return(0,t.jsxs)(t.Fragment,{children:[x?(0,t.jsxs)("div",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]])+" "+(n()("locale-selector",i)||""),children:[(0,t.jsx)(p.A,{labelText:f("component.builderHeader.storySettings.language"),labelClassName:l,selectedOptionId:A.selectedLanguage?.id,onChange:e=>{let s,t;let i=A.languageOptions?.find(s=>
1s.id===e);i&&(i?.cultureFormats&&({selectedCulture:s,cultures:t}=j(i.cultureFormats)),a(k(i,s)),v({type:"language-set",payload:{selectedLanguage:i,selectedCulture:s,cultureOptions:t}}))},options:A.languageOptions,maxHeight:d.A.spacing.custom("25rem"),isFullWidth:!0,isDisabled:g,testId:"language-dropdown",portal:h}),A.cultureOptions&&(0,t.jsx)(p.A,{labelText:f("component.builderHeader.storySettings.language.numberDateFormat"),labelClassName:l,selectedOptionId:A.selectedCulture?.id,onChange:e=>{if(!A.cultureOptions)return;let s=A.cultureOptions.find(s=>s.id===e);a(k(A.selectedLanguage,s)),v({type:"culture-changed",payload:s})},options:A.cultureOptions,isFullWidth:!0,isDisabled:g,testId:"number-and-date-format-dropdown",portal:h})]}):(0,t.jsxs)("dl",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]])+" "+(n()("locale-selector",i)||""),children:[(0,t.jsxs)("div",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]]),children:[(0,t.jsx)("dt",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]])+" "+(l||""),children:f("component.builderHeader.storySettings.language")}),(0,t.jsx)("dd",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]]),children:A.selectedLanguage?.label})]}),A.cultureOptions&&(0,t.jsxs)("div",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]]),children:[(0,t.jsx)("dt",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]])+" "+(l||""),children:f("component.builderHeader.storySettings.language.numberDateFormat")}),(0,t.jsx)("dd",{className:r().dynamic([["743efc22ff852085",[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()]]]),children:A.selectedCulture?.label})]})]}),(0,t.jsx)(r(),{id:"743efc22ff852085",dynamic:[c.Ay.gappedList(d.A.spacing.xxs),c.Ay.typography.labelLarge()],children:`.locale-selector.__jsx-style-dynamic-selector{${c.Ay.gappedList(d.A.spacing.xxs)}}dt.__jsx-style-dynamic-selector{${c.Ay.typography.labelLarge()}}`})]})}},872333:(e,s,a)=>{a.d(s,{A:()=>m});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(639151),n=a(332988),c=a.n(n),d=a(459358),p=a(856097),x=a(962126),u=a(438910),b=a(716450);class y extends o.PureComponent{static #e=this.defaultProps={rows:1};render(){let e=this.props.isRequired&&!this.props.value&&this.props.isInvalid,s=c()("property",{"show-error":e}),a={...this.props.titleLabelHtmlId&&{id:this.props.titleLabelHtmlId},...this.props.titleLabelHtmlFor&&{htmlFor:this.props.titleLabelHtmlFor}};return(0,t.jsxs)("div",{role:"group","aria-labelledby":this.props.titleLabelHtmlId,className:r().dynamic([["350dcde0da9a9bd7",[d.A.spacing.xs,p.Ay.typography.form.description(),this.props.websiteDesign.theme.colors.labelSecondary,d.A.spacing.xxxs,d.A.spacing.xs,d.A.spacing.xxxs,d.A.color.alertRed]]])+" "+(s||""),children:[this.props.title&&(0,t.jsx)(x.A,{...a,label:this.props.title,isRequired:this.props.isRequired,isDisabled:this.props.isDisabled,characterCounterProps:void 0!==this.props.value&&void 0!==this.props.maxLength?{count:this.props.value.toString().length,limit:this.props.maxLength,isLimitReachDangerous:this.props.hasHardCharacterLimit}:void 0,children:this.renderInput()}),this.props.description&&(0,t.jsx)("div",{className:r().dynamic([["350dcde0da9a9bd7",[d.A.spacing.xs,p.Ay.typography.form.description(),this.props.websiteDesign.theme.colors.labelSecondary,d.A.spacing.xxxs,d.A.spacing.xs,d.A.spacing.xxxs,d.A.color.alertRed]]])+" property-description",children:this.props.description}),e&&!this.props.errorMessage&&(0,t.jsx)("div",{className:r().dynamic([["350dcde0da9a9bd7",[d.A.spacing.xs,p.Ay.typography.form.description(),this.props.websiteDesign.theme.colors.labelSecondary,d.A.spacing.xxxs,d.A.spacing.xs,d.A.spacing.xxxs,d.A.color.alertRed]]])+" property-error",children:this.props.intl.formatMessage({id:"builder.common.requiredField"})}),this.props.customComponent&&(0,t.jsx)("div",{className:r().dynamic([["350dcde0da9a9bd7",[d.A.spacing.xs,p.Ay.typography.form.description(),this.props.websiteDesign.theme.colors.labelSecondary,d.A.spacing.xxxs,d.A.spacing.xs,d.A.spacing.xxxs,d.A.color.alertRed]]])+" "+(c()("custom-component-container",this.props.customComponentClassname)||""),children:this.props.customComponent}),(0,t.jsx)(r(),{id:"350dcde0da9a9bd7",dynamic:[d.A.spacing.xs,p.Ay.typography.form.description(),this.props.websiteDesign.theme.colors.labelSecondary,d.A.spacing.xxxs,d.A.spacing.xs,d.A.spacing.xxxs,d.A.color.alertRed],children:`.property.__jsx-style-dynamic-selector+.property.__jsx-style-dynamic-selector{margin-top:${d.A.spacing.xs}}.property-description.__jsx-style-dynamic-selector,.property-error.__jsx-style-dynamic-selector{${p.Ay.typography.form.description()} color: ${this.props.websiteDesign.theme.colors.labelSecondary};margin:${d.A.spacing.xxxs} 0 0}.custom-component-container.__jsx-style-dynamic-selector{margin:0 0 ${d.A.spacing.xs}}.custom-component-container.custom-override.__jsx-style-dynamic-selector{margin:${d.A.spacing.xxxs} 0 0}.property-error.__jsx-style-dynamic-selector{color:${d.A.color.alertRed};display:none}.show-error.__jsx-style-dynamic-selector .property-error.__jsx-style-dynamic-selector{display:block}`})]})}constructor(...e){super(...e),this.renderInput=()=>{if(this.props.onChange)return(0,t.jsx)(u.A,{type:this.props.type??"text",rows:this.props.rows,onChange:this.props.onChange,value:this.props.value,placeholder:this.props.placeholder,isRequired:this.props.isRequired,isDisabled:this.props.isDisabled,isInvalid:this.props.isInvalid,errorMessage:this.props.errorMessage,maxLength:this.props.maxLength,shouldAutoFocus:!!this.props.shouldAutoFocus})}}}let m=(0,l.Ay)((0,b.NV)(y))},901595:(e,s,a)=>{a.d(s,{E:()=>t,r:()=>i});var t=function(e){return e.Viewer="Viewer",e}({}),i=function(e){return e.ButtonClick="Button Clicks",e.LinkClick="Hyperlink Clicks",e.TourMapClick="TourMap Clicks",e.ExpressMapClick="ExpressMap Clicks",e.WebMapClick="WebMap Clicks",e}({})},902820:(e,s,a)=>{a.d(s,{A:()=>h});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(390248),n=a(332988),c=a.n(n),d=a(272993),p=a(716450),x=a(459358),u=a(366317),b=a(894368),y=a(644663),m=a(255281),g=a(126966);let h=e=>{let{href:s,shouldApplyStoryTheme:a}=e,i=(0,o.useCallback)(e=>{e.preventDefault(),(0,m.kj)(s)},[s]),{theme:n}=(0,p.df)(),{buttonColor:h,titleColorDark:f,titleColorLight:A}=(0,g.cu)(),v={styles:(0,t.jsx)(r(),{id:"1e19f41115738bcf",dynamic:[x.A.spacing.xxxs,x.A.spacing.xxxs,u.Gs.RTL,x.A.spacing.xxxs,(0,d.W0)(h,f,A),h,a?h:n.colors.interactiveDefault,x.A.spacing.xxxs,x.A.spacing.xxs],children:`.ski
1p-link.__jsx-style-dynamic-selector{left:${x.A.spacing.xxxs};top:${x.A.spacing.xxxs};z-index:100}.skip-link.underline.__jsx-style-dynamic-selector{text-decoration:underline}${u.Gs.RTL} .skip-link.__jsx-style-dynamic-selector{left:unset;right:${x.A.spacing.xxxs}}.skip-link.theme-styled.__jsx-style-dynamic-selector{color:${(0,d.W0)(h,f,A)};background:${h}}.skip-link.theme-styled.__jsx-style-dynamic-selector:hover,.skip-link.theme-styled.__jsx-style-dynamic-selector:active,.skip-link.theme-styled.__jsx-style-dynamic-selector:focus-visible{background-color:${a?h:n.colors.interactiveDefault}}.skip-link.__jsx-style-dynamic-selector:focus-visible{position:absolute;padding:${x.A.spacing.xxxs} ${x.A.spacing.xxs}}`}),className:r().dynamic([["1e19f41115738bcf",[x.A.spacing.xxxs,x.A.spacing.xxxs,u.Gs.RTL,x.A.spacing.xxxs,(0,d.W0)(h,f,A),h,a?h:n.colors.interactiveDefault,x.A.spacing.xxxs,x.A.spacing.xxs]]])};return s?(0,t.jsxs)(b.Ay,{className:c()("skip-link","underline",y.u,v.className,{"theme-styled":a}),href:s,onClick:i,children:[(0,t.jsx)(l.A,{id:"component.header.skipToContent"}),v.styles]}):void 0}},942203:(e,s,a)=>{a.d(s,{A:()=>c});var t=a(406029);a(455729);var i=a(531095),r=a(531024),o=a(241523),l=a(150547),n=a(999702);let c=function(e){let{isModalOpen:s,onModalClose:a}=e,c=(0,o.ck)(),d=(0,l.A)(),p=[{id:"embed-options",modalProperties:[{id:"",customComponent:(0,t.jsx)(n.C,{})}]}],x=(0,r.yJ)(c.type);return(0,t.jsx)(i.A,{mediaTitle:d(x),tabs:p,isShowingModal:s,onConfirm:a,onDiscard:a,saveButtonContent:d("viewer.common.done"),shouldShowCancelButton:!1})}},999702:(e,s,a)=>{a.d(s,{C:()=>w});var t=a(406029),i=a(94588),r=a.n(i),o=a(455729),l=a(89826),n=a(716450),c=a(422213),d=a(856097),p=a(459358),x=a(210159),u=a(153072),b=a(230658),y=a(54302),m=a(854527),g=a(101570),h=a(241523),f=a(150547),A=a(458151),v=a(426343);function j(e){let{titleId:s,descriptionId:a}=e,i=(0,f.A)(),{theme:o}=(0,n.df)();return(0,t.jsxs)("div",{className:r().dynamic([["e0ba8620d05cb226",[p.A.spacing.xxxxxs,d.Ay.typography.bodySmall(),d.Ay.typography.caption(),o.colors.labelSecondary]]])+" embed-type",children:[(0,t.jsx)("span",{className:r().dynamic([["e0ba8620d05cb226",[p.A.spacing.xxxxxs,d.Ay.typography.bodySmall(),d.Ay.typography.caption(),o.colors.labelSecondary]]])+" title",children:i(s)}),a&&(0,t.jsx)("span",{className:r().dynamic([["e0ba8620d05cb226",[p.A.spacing.xxxxxs,d.Ay.typography.bodySmall(),d.Ay.typography.caption(),o.colors.labelSecondary]]])+" description",children:i(a)}),(0,t.jsx)(r(),{id:"e0ba8620d05cb226",dynamic:[p.A.spacing.xxxxxs,d.Ay.typography.bodySmall(),d.Ay.typography.caption(),o.colors.labelSecondary],children:`.embed-type.__jsx-style-dynamic-selector{display:grid;grid-template-rows:auto auto;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;grid-gap:${p.A.spacing.xxxxxs}}.title.__jsx-style-dynamic-selector,.description.__jsx-style-dynamic-selector{display:block}.title.__jsx-style-dynamic-selector{${d.Ay.typography.bodySmall()}}.description.__jsx-style-dynamic-selector{${d.Ay.typography.caption()} color: ${o.colors.labelSecondary}}`})]})}function k(e){let{currentEmbedType:s,onChange:a}=e,i=(0,f.A)(),o=[{id:"iframe",label:(0,t.jsx)(j,{titleId:"builder.embed.iframe.title",descriptionId:"builder.embed.iframe.description"}),activeLabel:i("builder.embed.iframe.title")},{id:"script",label:(0,t.jsx)(j,{titleId:"builder.embed.scriptEmbed.title",descriptionId:"builder.embed.scriptEmbed.description"}),activeLabel:i("builder.embed.scriptEmbed.title")}],l=o.find(e=>e.id===s)?.activeLabel;return(0,t.jsxs)("div",{className:r().dynamic([["ce0780b03a5af08b",[p.A.spacing.xxxs]]])+" label-container",children:[(0,t.jsx)(v.A,{currentOptionLabel:l,isLabelVisuallyHidden:!0,isFullWidth:!0,labelText:i("builder.embed.embedType.label"),options:o,onChange:a}),(0,t.jsx)(r(),{id:"ce0780b03a5af08b",dynamic:[p.A.spacing.xxxs],children:`.label-container.__jsx-style-dynamic-selector{margin-bottom:${p.A.spacing.xxxs}}`})]})}function w(e){let[s,a]=(0,o.useState)("iframe"),[i,v]=(0,o.useState)(!1),[j,w]=(0,o.useState)(!0),[_,C]=(0,o.useState)(!1),{BASE_URL:S}=(0,u.UK)(),{storyMapUserPrivileges:D,authManager:$}=(0,l.Py)(),I=(0,f.A)(),T=(0,h.ck)(),{theme:P}=(0,n.df)(),R=T.isOrgItem,N="string"==typeof T.itemDetails.properties?JSON.parse(T.itemDetails.properties):T.itemDetails.properties,L=N.isScriptEmbedEnabled&&(N.scriptEmbedDomains?.length??0)>0&&!e.shouldHideScriptEmbedOptions&&function(e){let{isOrgItem:s,storyMapUserPrivileges:a,itemDetails:t,authManager:i,itemType:r}=e;return i&&s&&a.canUseScriptEmbed&&(0,y.l$)(t,i)&&r===b.z.Story}({storyMapUserPrivileges:D,isOrgItem:T.isOrgItem,itemDetails:T.itemDetails,authManager:$,itemType:T.type});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{role:"group","aria-labelledby":"embed-code-label",className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]])+" media-group",children:[(0,t.jsx)("label",{id:"embed-code-label",className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]]),children:I("builder.embed.embedCode")}),L&&(0,t.jsx)(k,{currentEmbedType:s,onChange:e=>a(e)}),(0,t.jsx)(m.A,{isCopyDisabled:_,onCopyEnable:()=>C(!1),onCopyDisable:function(e){C(!0),e()},textToCopy:function(){if("script"===s)return`<script src="${window.location.origin}/embed/view" data-story-id="${T.itemId}" data-root-node=".${c.Qo}" ></script>`;let e=(0,g.i)(T.type,T.isTemplate),a=`${window.location.origin}${S}/${e}/${T.itemId}`,t=T.type===b.z.Story?function(){let e=[...i?["header"]:[],...j?[]:["cover=false"]];return e.length>0?`?${e.join("&")}`:""}():"";return`<iframe src="${a}${t}" width="100%" height="500px" frameborder="0" allowfullscreen allow="geolocation"></iframe>`}()})]}),T.type===b.z.Story&&"iframe"===s&&(0,t.jsxs)("div",{role:"group","aria-labelledby":"embed-options-label",className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]])+" media-group",children:[(0,t.jsx)("label",{id:"embed-options-label",className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]]),children:I("builder.embed.options")}),(0,t.jsxs)("div",{className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]])+" checkbox-container",children:[(0,t.jsx)(x.A,{testId:"checkbox-hide-header",isChecked:!i&&R,isDisabled:!R,onChange:function(){v(e=>!e),C(!1)},label:I("common.hideHeader"),tooltip:R?void 0:I("publicAccount.disabled")}),(0,t.jsx)(x.A,{testId:"checkbox-hide-cover",isChecked:!j,onChange:function(){w(e=>!e),C(!1)},label:I("common.hideCover")})]})]}),(0,t.jsx)("a",{href:A.oF,target:"_blank",rel:"noreferrer",className:r().dynamic([["dc0c4a3e1e1be993",[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink]]])+" learn-more",children:I("common.learnMoreEmbed")}),(0,t.jsx)(r(),{id:"dc0c4a3e1e1be993",dynamic:[d.Ay.typography.form.label(),p.A.spacing.xxxs,p.A.spacing.xs,d.Ay.typography.bodySmall(),P.colors.labelLink],children:`label.__jsx-style-dynamic-selector{${d.Ay.typography.form.label()} display: flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%;margin-bottom:${p.A.spacing.xxxs}}.media-group.__jsx-style-dynamic-selector:not(:last-child){margin-bottom:${p.A.spacing.xs}}.learn-more.__jsx-style-dynamic-selector{text-decoration:none;${d.Ay.typography.bodySmall()} ${P.colors.labelLink}}.learn-more.__jsx-style-dynamic-selector:hover{text-decoration:underline}`})]})}}}]);
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.