(function(t){function e(e){for(var n,s,o=e[0],l=e[1],c=e[2],d=0,f=[];d0&&void 0!==arguments[0]?arguments[0]:{},a=e.container,n=void 0===a?document:a,i=e.enabled,r=void 0===i||i,s=e.stickySelector,l=void 0===s?".sticky-events":s;Object(o["a"])(this,t),this.container=n,this.observers=[],this.stickyElements=Array.from(this.container.querySelectorAll(l)),this.stickySelector=l,this.state=new Map,r&&this.enableEvents()}return Object(l["a"])(t,[{key:"setState",value:function(t){this.state.get(t)||this.state.set(t,{isSticky:!1,headerSentinel:this.addSentinel(t,c.SENTINEL_TOP),footerSentinel:this.addSentinel(t,c.SENTINEL_BOTTOM)})}},{key:"enableEvents",value:function(){var t=this;window.self===window.top?(this.observers={header:this.createHeaderObserver(),footer:this.createFooterObserver()},this.stickyElements.forEach((function(e){t.setState(e)}))):console.warn("StickyEvents: There are issues with using IntersectionObservers in an iframe, canceling initialization. Please see https://github.com/w3c/IntersectionObserver/issues/183")}},{key:"disableEvents",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.stickyElements.forEach((function(e){return t.fire(!1,e)})),Object.values(this.observers).forEach((function(t){return t.disconnect()})),this.observers=null,this.state.clear()}},{key:"addStickies",value:function(t){var e,a=this;(e=this.stickyElements).push.apply(e,Object(s["a"])(t)),this.stickyElements.forEach((function(t){return a.setState(t)}))}},{key:"addSticky",value:function(t){this.stickyElements.push(t),this.setState(t)}},{key:"addSentinel",value:function(t,e){var a=document.createElement("div"),n=t.parentElement;switch(t.style.cssText="\n position: -webkit-sticky;\n position: sticky;\n ",a.classList.add(c.SENTINEL,e),Object.assign(a.style,{left:0,position:"absolute",right:0,visibility:"hidden"}),e){case c.SENTINEL_TOP:n.insertBefore(a,t),Object.assign(a.style,this.getSentinelPosition(t,a,e),{position:"relative"}),this.observers.header.observe(a);break;case c.SENTINEL_BOTTOM:n.appendChild(a),Object.assign(a.style,this.getSentinelPosition(t,a,e)),this.observers.footer.observe(a);break}return a}},{key:"createHeaderObserver",value:function(){var e=this;return new IntersectionObserver((function(a){var n=Object(r["a"])(a,1),i=n[0],s=i.boundingClientRect,o=i.isIntersecting,l=i.rootBounds,c=i.target.parentElement,u=c.querySelector(e.stickySelector);c.style.position="relative",s.bottoml.top&&e.isSticking(c)&&o&&e.fire(!0,c,t.POSITION_BOTTOM)}),Object.assign({threshold:1},!(this.container instanceof HTMLDocument)&&{root:this.container}))}},{key:"fire",value:function(e,a,n){a.dispatchEvent(new CustomEvent(t.CHANGE,{detail:{isSticky:e,position:n},bubbles:!0})),a.dispatchEvent(new CustomEvent(e?t.STUCK:t.UNSTUCK,{detail:{isSticky:e,position:n},bubbles:!0})),this.state.set(a,{isSticky:e})}},{key:"getSentinelPosition",value:function(t,e,a){var n=window.getComputedStyle(t),i=window.getComputedStyle(t.parentElement);switch(a){case c.SENTINEL_TOP:return{top:"calc(".concat(n.getPropertyValue("top")," * -1)"),height:1};case c.SENTINEL_BOTTOM:var r=parseInt(i.paddingTop);return{bottom:n.top,height:"".concat(t.getBoundingClientRect().height+r,"px")}}}},{key:"isSticking",value:function(t){var e=t.previousElementSibling,a=t.getBoundingClientRect().top,n=e.getBoundingClientRect().top,i=Math.round(Math.abs(a-n)),r=Math.abs(parseInt(window.getComputedStyle(e).getPropertyValue("top")));return i!==r}}]),t}();u.CHANGE="sticky-change",u.STUCK="sticky-stuck",u.UNSTUCK="sticky-unstuck",u.POSITION_BOTTOM="bottom",u.POSITION_TOP="top";var d={props:{id:{type:String,requied:!0}},data:function(){return{stuck:!1}},mounted:function(){var t=this,e=this.$el.getBoundingClientRect().y,a=new u({stickySelector:".".concat(this.id,".sticky-section-header")});a.stickyElements.forEach((function(a){a.addEventListener(u.CHANGE,(function(a){t.stuck=a.detail&&a.detail.isSticky&&window.scrollY>=e-25}))}))}},f=d,p=(a("eb66"),a("2877")),b=Object(p["a"])(f,n,i,!1,null,"215b9e24",null);e["a"]=b.exports},"21bb":function(t,e,a){"use strict";a("6eb8")},"2a7d":function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("button",t._g({staticClass:"py-2 px-4 text-sm text-gray-800 dark:text-gray-400 border border-gray-400 dark:border-gray-700 hover:bg-gray-300 dark-hover:bg-gray-800 focus:outline-none rounded",class:{"bg-gray-300 dark:bg-gray-800":t.selected,"bg-white dark:bg-gray-900":!t.selected}},t.$listeners),[t._t("default")],2)},i=[],r={props:{selected:{type:Boolean}}},s=r,o=a("2877"),l=Object(o["a"])(s,n,i,!1,null,null,null);e["a"]=l.exports},"2b80":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"space-y-6"},t._l(t.data.letterSpacing,(function(a,n){return e("div",{key:n},[e("p",{staticClass:"mb-2 text-2xl leading-none text-gray-900 dark:text-gray-500",style:{letterSpacing:a}},[t._v("\n "+t._s(t.data.typographyExample)+"\n ")]),e("CanvasBlockLabel",{attrs:{label:"tracking-".concat(n),value:a}})],1)})),0)},i=[],r=a("2bcf"),s={components:{CanvasBlockLabel:r["a"]},props:{data:{type:Object,required:!0}}},o=s,l=a("2877"),c=Object(l["a"])(o,n,i,!1,null,null,null);e["default"]=c.exports},"2bcf":function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"relative"},[e("div",{staticClass:"tooltip pointer-events-none absolute z-50 py-1 px-2 text-sm shadow-md bg-gray-800 dark:bg-midnight text-white rounded transition duration-200 overflow-hidden",class:{show:t.showCopyTooltip}},[t._v("\n "+t._s(t.copyText)+"\n "),e("br"),t.prefixedClassesToCopy.length>1?e("div",{staticClass:"-mx-2 mt-1 px-2 py-1 border-t border-gray-700 dark:border-gray-800"},t._l(t.prefixedClassesToCopy,(function(a){return e("div",{key:a,staticClass:"text-teal-400"},[t._v("\n "+t._s(a)+"\n ")])})),0):t._e()]),e("input",{ref:"label",staticClass:"hidden",attrs:{readonly:""},domProps:{value:t.copyValue}}),e("div",{staticClass:"inline-block text-sm text-gray-800 dark:text-gray-400 font-mono hover:text-teal-600 dark-hover:text-teal-400 cursor-pointer break-words",on:{click:t.copy,mouseover:t.showCopy,mouseout:t.hideCopy}},[t._v("\n "+t._s(t.prefixClassName(t.label))+"\n ")]),t.value?e("div",{staticClass:"text-sm text-gray-700 dark:text-gray-500 break-words"},[t._v("\n "+t._s(t.displayValue)+"\n ")]):t._e()])},i=[],r=(a("6762"),a("2fdb"),a("ed08")),s=[],o={inject:["prefixClassName","getConfig"],props:{label:{type:String,required:!0},value:{type:String}},data:function(){return{showCopyTooltip:!1,copyText:"Copy",copyClasses:[]}},computed:{copyValue:function(){return this.prefixedClassesToCopy.join(" ")},displayValue:function(){return Object(r["a"])(this.value,this.getConfig())},prefixedClassesToCopy:function(){return this.copyClasses.map(this.prefixClassName)}},methods:{copy:function(t){var e=this;t.shiftKey?!s.includes(this.label)&&s.push(this.label):s=[this.label],this.copyClasses=s,this.$nextTick((function(){e.$refs.label.classList.remove("hidden"),e.$refs.label.select(),e.copyText=s.length>1?"Copied (".concat(s.length,")"):"Copied",document.execCommand("copy"),e.$refs.label.blur(),e.$refs.label.classList.add("hidden"),window.getSelection().removeAllRanges()}))},showCopy:function(){this.copyClasses=[],this.copyText="Copy",this.showCopyTooltip=!0},hideCopy:function(){this.showCopyTooltip=!1}}},l=o,c=(a("5c1f"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,"7c049a40",null);e["a"]=u.exports},"314a":function(t,e,a){},"3b5f":function(t,e,a){},"42de":function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"relative"},[e("svg",{staticClass:"absolute pointer-events-none",staticStyle:{right:"10px",top:"calc(50% - 6px)"},attrs:{width:"11",height:"11",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M4.657 4.243h3.76a.2.2 0 0 1 .141.341l-3.76 3.76a.2.2 0 0 1-.283 0l-3.76-3.76a.2.2 0 0 1 .142-.341h3.76z",fill:"#B8C2CC"}})]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],staticClass:"h-full w-full px-4 py-2 border border-gray-400 dark:border-gray-700 focus:outline-none bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-400 rounded text-sm appearance-none",attrs:{id:"transition-duration"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selected=e.target.multiple?a:a[0]}}},t._l(t.options,(function(a,n){return e("option",{key:n,domProps:{value:n}},[t._v(t._s(a))])})),0)])},i=[],r={props:{options:{type:Object,required:!0},value:{type:[Object,String],default:null}},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}}},s=r,o=a("2877"),l=Object(o["a"])(s,n,i,!1,null,null,null);e["a"]=l.exports},"47a5":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("StickySectionHeader",{attrs:{id:"section-spacing"}},[e("div",{staticClass:"md:flex"},[e("ButtonGroup",{staticClass:"mb-2 md:mb-0"},[e("Button",{staticClass:"w-full sm:w-32",attrs:{selected:"p"===t.selectedProp},on:{click:function(e){t.selectedProp="p"}}},[t._v("\n Padding\n ")]),e("Button",{staticClass:"w-full sm:w-32",attrs:{selected:"m"===t.selectedProp},on:{click:function(e){t.selectedProp="m"}}},[t._v("Margin")]),e("Button",{staticClass:"w-full sm:w-auto",attrs:{selected:"-m"===t.selectedProp},on:{click:function(e){t.selectedProp="-m"}}},[t._v("Negative Margin")])],1),e("Select",{staticClass:"w-full md:w-32 md:ml-2",attrs:{options:t.$options.dimensionOptions},model:{value:t.dimensionProp,callback:function(e){t.dimensionProp=e},expression:"dimensionProp"}})],1)]),e("div",{staticClass:"space-y-6 mt-6"},t._l(t.spacing,(function(a){var n=a.value,i=a.prop;return e("div",{key:i},[e("div",{staticClass:"mb-2 bg-gray-500 dark:bg-gray-700",style:{width:n,height:n}}),e("CanvasBlockLabel",{attrs:{label:"".concat(t.selectedProp).concat(t.dimensionProp?t.dimensionProp:"","-").concat(i),value:n}})],1)})),0)],1)},i=[],r=(a("ac6a"),a("456d"),a("55dd"),a("ed08")),s=a("2bcf"),o=a("69e4"),l=a("2a7d"),c=a("42de"),u=a("1fb8"),d={components:{CanvasBlockLabel:s["a"],ButtonGroup:o["a"],Button:l["a"],Select:c["a"],StickySectionHeader:u["a"]},props:{data:{type:Object,required:!0},config:{type:Object}},data:function(){return{selectedProp:"p",dimensionProp:""}},dimensionOptions:{"":"All",t:"Top",r:"Right",b:"Bottom",l:"Left",x:"Horizontal",y:"Vertical"},computed:{spacing:function(){var t=this;return Object.keys(this.data).sort((function(e,a){var n=-1!==t.data[e].indexOf("rem")?Object(r["b"])(t.data[e],t.config):parseFloat(t.data[e]),i=-1!==t.data[a].indexOf("rem")?Object(r["b"])(t.data[a],t.config):parseFloat(t.data[a]);return n-i})).map((function(e){return{prop:e,value:t.data[e]}}))}}},f=d,p=a("2877"),b=Object(p["a"])(f,n,i,!1,null,null,null);e["default"]=b.exports},5234:function(t,e,a){"use strict";a.r(e);var n=a("768b"),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"space-y-6"},t._l(t.fontSizes,(function(a){var i=Object(n["a"])(a,2),r=i[0],s=i[1];return e("div",{key:r},[e("p",{staticClass:"mb-2 leading-none text-gray-900 dark:text-gray-500",style:{fontSize:t.getFontSizeValue(s)}},[t._v("\n "+t._s(t.data.typographyExample)+"\n ")]),e("CanvasBlockLabel",{attrs:{label:"text-".concat(r),value:t.getFontSizeValue(s)}})],1)})),0)},r=[],s=(a("ac6a"),a("ffc1"),a("55dd"),a("ed08")),o=a("2bcf"),l={components:{CanvasBlockLabel:o["a"]},props:{data:{type:Object,required:!0},config:{type:Object,required:!0}},computed:{fontSizes:function(){var t=this;return Object.entries(this.data.fontSize).sort((function(e,a){return Object(s["b"])(e[1],t.config)>Object(s["b"])(a[1],t.config)?1:Object(s["b"])(e[1],t.config)-1:t.checked},on:{change:function(e){var a=t.checked,n=e.target,i=!!n.checked;if(Array.isArray(a)){var r=null,s=t._i(a,r);n.checked?s<0&&(t.checked=a.concat([r])):s>-1&&(t.checked=a.slice(0,s).concat(a.slice(s+1)))}else t.checked=i}}}),e("label",{staticClass:"toggle-label block overflow-hidden h-6 rounded-full cursor-pointer",attrs:{for:t.name}})]),t.label?e("label",{staticClass:"text-xs text-gray-700 dark:text-gray-500",attrs:{for:t.name}},[t._v(t._s(t.label))]):t._e()])},i=[],r={props:{name:{type:String,required:!0},value:{type:Boolean,default:!1},label:{type:String,required:!1}},data:function(){return{checked:this.value}},watch:{checked:function(t){this.$emit("input",t)}}},s=r,o=(a("9082"),a("2877")),l=Object(o["a"])(s,n,i,!1,null,null,null);e["a"]=l.exports},"87b8":function(t,e,a){"use strict";a.r(e);a("6762"),a("2fdb");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"space-y-6"},[t._l(t.fixedWidths,(function(a,n){return e("div",{key:n},[e("CanvasSectionRow",{scopedSlots:t._u([{key:"default",fn:function(t){var n=t.blockClasses;return[e("div",{class:n,style:{width:a.includes("vw")?"100%":a,maxWidth:"100%"}})]}}],null,!0)}),e("CanvasBlockLabel",{attrs:{label:"w-".concat(n),value:a}})],1)})),t._l(t.percentWidths,(function(a,n){return e("div",{key:n,staticClass:"mb-6"},[e("CanvasSectionRow",{scopedSlots:t._u([{key:"default",fn:function(t){var n=t.blockClasses;return[e("div",{class:n,style:{width:a,maxWidth:"100%"}})]}}],null,!0)}),e("CanvasBlockLabel",{attrs:{label:"w-".concat(n),value:a}})],1)}))],2)},i=[],r=(a("8e6e"),a("bd86")),s=(a("ac6a"),a("456d"),a("2bcf")),o=a("ad3c");function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e