/*! For license information please see coachindicator-stories-coachindicator-stories.152ac592.iframe.bundle.js.LICENSE.txt */
(globalThis.webpackChunk_spectrum_css_preview=globalThis.webpackChunk_spectrum_css_preview||[]).push([[2302],{"../components/coachindicator/stories/coachindicator.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,__namedExportsOrder:()=>__namedExportsOrder,default:()=>coachindicator_stories});var lit=__webpack_require__("../node_modules/lit/index.js"),lit_html=__webpack_require__("../node_modules/lit-html/lit-html.js"),class_map=__webpack_require__("../node_modules/lit-html/directives/class-map.js"),injectStylesIntoLinkTag=__webpack_require__("../node_modules/style-loader/dist/runtime/injectStylesIntoLinkTag.js"),injectStylesIntoLinkTag_default=__webpack_require__.n(injectStylesIntoLinkTag),insertBySelector=__webpack_require__("../node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),coachindicator=__webpack_require__("../node_modules/file-loader/dist/cjs.js??ruleSet[1].rules[10].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].use[2]!../components/coachindicator/index.css"),coachindicator_default=__webpack_require__.n(coachindicator),options={attributes:{"data-source":"processed"}};options.insert=insertBySelector_default().bind(null,"head");injectStylesIntoLinkTag_default()(coachindicator_default(),options);const Template=({rootClass="spectrum-CoachIndicator",isQuiet=!1,variant})=>lit_html.qy`
	<div
		class=${(0,class_map.H)({[`${rootClass}`]:!0,[`${rootClass}--quiet`]:isQuiet,[`${rootClass}--${variant}`]:"default"!==variant})}
	>
		<div class="${rootClass}-ring"></div>
		<div class="${rootClass}-ring"></div>
		<div class="${rootClass}-ring"></div>
	</div>
`,coachindicator_stories={title:"components/Coach indicator",description:"The coach indicator component can be used to bring added attention to specific parts of a page.",component:"CoachIndicator",argTypes:{reducedMotion:{table:{disable:!0}},isQuiet:{name:"Quiet styling",type:{name:"boolean"},table:{type:{summary:"boolean"},category:"Component"},control:"boolean"},variant:{name:"Variant",type:{name:"string"},table:{type:{summary:"string"},category:"Component"},options:["default","dark","light"],control:"select"}},args:{rootClass:"spectrum-CoachIndicator",isQuiet:!1,variant:"default"},parameters:{actions:{handles:[]},status:{type:"migrated"}}},Default=args=>lit.qy`${window.isChromatic()?(args=>lit.qy`
        <div>
            ${Template({...args,variant:"default"})}
            ${Template({...args,variant:"dark"})}
            ${Template({...args,variant:"light"})}
            ${Template({...args,variant:"default",isQuiet:!0})}
            ${Template({...args,variant:"dark",isQuiet:!0})}
            ${Template({...args,variant:"light",isQuiet:!0})}
        </div>
    `)(args):Template(args)}`;Default.args={variant:"default"},Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"args => html`${window.isChromatic() ? chromaticGroup(args) : Template(args)}`",...Default.parameters?.docs?.source}}};const __namedExportsOrder=["Default"]},"../node_modules/file-loader/dist/cjs.js??ruleSet[1].rules[10].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].use[2]!../components/coachindicator/index.css":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__.p+"assets/css/components/coachindicator/index.css"},"../node_modules/lit-html/directive.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{OA:()=>t,WL:()=>i,u$:()=>e});const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},"../node_modules/lit-html/directives/class-map.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>e});var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../node_modules/lit-html/lit-html.js"),_directive_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../node_modules/lit-html/directive.js");const e=(0,_directive_js__WEBPACK_IMPORTED_MODULE_1__.u$)(class extends _directive_js__WEBPACK_IMPORTED_MODULE_1__.WL{constructor(t){if(super(t),t.type!==_directive_js__WEBPACK_IMPORTED_MODULE_1__.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.c0}})}}]);
//# sourceMappingURL=coachindicator-stories-coachindicator-stories.152ac592.iframe.bundle.js.map