import{r as t,h as n}from"./p-f72b68d6.js";import"./p-74149bb1.js";import{d as i}from"./p-4e10bc2e.js";import{_ as r,a as e,b as s,M as o,c as u,m as c,d as a,e as h}from"./p-ce9073e1.js";
/**
 * @license
 * Copyright 2018 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */var f,l={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},d={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"},b=function(t){this.adapter_=t},v=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getScrollPositionRTL=function(){var t=this.adapter_.getScrollAreaScrollLeft(),n=this.calculateScrollEdges_().right;return Math.round(n-t)},n.prototype.scrollToRTL=function(t){var n=this.calculateScrollEdges_(),i=this.adapter_.getScrollAreaScrollLeft(),r=this.clampScrollValue_(n.right-t);return{finalScrollPosition:r,scrollDelta:r-i}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft(),i=this.clampScrollValue_(n-t);return{finalScrollPosition:i,scrollDelta:i-n}},n.prototype.getAnimatingScrollPosition=function(t){return t},n.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},n.prototype.clampScrollValue_=function(t){var n=this.calculateScrollEdges_();return Math.min(Math.max(n.left,t),n.right)},n}(b),m=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getScrollPositionRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft();return Math.round(t-n)},n.prototype.scrollToRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft(),i=this.clampScrollValue_(-t);return{finalScrollPosition:i,scrollDelta:i-n}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft(),i=this.clampScrollValue_(n-t);return{finalScrollPosition:i,scrollDelta:i-n}},n.prototype.getAnimatingScrollPosition=function(t,n){return t-n},n.prototype.calculateScrollEdges_=function(){var t=this.adapter_.getScrollContentOffsetWidth();return{left:this.adapter_.getScrollAreaOffsetWidth()-t,right:0}},n.prototype.clampScrollValue_=function(t){var n=this.calculateScrollEdges_();return Math.max(Math.min(n.right,t),n.left)},n}(b),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.getScrollPositionRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft();return Math.round(n-t)},n.prototype.scrollToRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft(),i=this.clampScrollValue_(t);return{finalScrollPosition:i,scrollDelta:n-i}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter_.getScrollAreaScrollLeft(),i=this.clampScrollValue_(n+t);return{finalScrollPosition:i,scrollDelta:n-i}},n.prototype.getAnimatingScrollPosition=function(t,n){return t+n},n.prototype.calculateScrollEdges_=function(){return{left:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth(),right:0}},n.prototype.clampScrollValue_=function(t){var n=this.calculateScrollEdges_();return Math.min(Math.max(n.right,t),n.left)},n}(b),C=function(t){function n(i){var r=t.call(this,e({},n.defaultAdapter,i))||this;return r.isAnimating_=!1,r}return r(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!0,configurable:!0}),n.prototype.init=function(){var t=this.adapter_.computeHorizontalScrollbarHeight();this.adapter_.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter_.addScrollAreaClass(n.cssClasses.SCROLL_AREA_SCROLL)},n.prototype.getScrollPosition=function(){if(this.isRTL_())return this.computeCurrentScrollPositionRTL_();var t=this.calculateCurrentTranslateX_();return this.adapter_.getScrollAreaScrollLeft()-t},n.prototype.handleInteraction=function(){this.isAnimating_&&this.stopScrollAnimation_()},n.prototype.handleTransitionEnd=function(t){this.isAnimating_&&this.adapter_.eventTargetMatchesSelector(t.target,n.strings.CONTENT_SELECTOR)&&(this.isAnimating_=!1,this.adapter_.removeClass(n.cssClasses.ANIMATING))},n.prototype.incrementScroll=function(t){if(0!==t)return this.isRTL_()?this.incrementScrollRTL_(t):void this.incrementScroll_(t)},n.prototype.scrollTo=function(t){if(this.isRTL_())return this.scrollToRTL_(t);this.scrollTo_(t)},n.prototype.getRTLScroller=function(){return this.rtlScrollerInstance_||(this.rtlScrollerInstance_=this.rtlScrollerFactory_()),this.rtlScrollerInstance_},n.prototype.calculateCurrentTranslateX_=function(){var t=this.adapter_.getScrollContentStyleValue("transform");if("none"===t)return 0;var n=/\((.+?)\)/.exec(t);if(!n)return 0;var i=s(n[1].split(","),6);return parseFloat(i[4])},n.prototype.clampScrollValue_=function(t){var n=this.calculateScrollEdges_();return Math.min(Math.max(n.left,t),n.right)},n.prototype.computeCurrentScrollPositionRTL_=function(){var t=this.calculateCurrentTranslateX_();return this.getRTLScroller().getScrollPositionRTL(t)},n.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},n.prototype.scrollTo_=function(t){var n=this.getScrollPosition(),i=this.clampScrollValue_(t);this.animate_({finalScrollPosition:i,scrollDelta:i-n})},n.prototype.scrollToRTL_=function(t){var n=this.getRTLScroller().scrollToRTL(t);this.animate_(n)},n.prototype.incrementScroll_=function(t){var n=this.getScrollPosition(),i=this.clampScrollValue_(t+n);this.animate_({finalScrollPosition:i,scrollDelta:i-n})},n.prototype.incrementScrollRTL_=function(t){var n=this.getRTLScroller().incrementScrollRTL(t);this.animate_(n)},n.prototype.animate_=function(t){var i=this;0!==t.scrollDelta&&(this.stopScrollAnimation_(),this.adapter_.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter_.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter_.computeScrollAreaClientRect(),requestAnimationFrame((function(){i.adapter_.addClass(n.cssClasses.ANIMATING),i.adapter_.setScrollContentStyleProperty("transform","none")})),this.isAnimating_=!0)},n.prototype.stopScrollAnimation_=function(){this.isAnimating_=!1;var t=this.getAnimatingScrollPosition_();this.adapter_.removeClass(n.cssClasses.ANIMATING),this.adapter_.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter_.setScrollAreaScrollLeft(t)},n.prototype.getAnimatingScrollPosition_=function(){var t=this.calculateCurrentTranslateX_(),n=this.adapter_.getScrollAreaScrollLeft();return this.isRTL_()?this.getRTLScroller().getAnimatingScrollPosition(n,t):n-t},n.prototype.rtlScrollerFactory_=function(){var t=this.adapter_.getScrollAreaScrollLeft();this.adapter_.setScrollAreaScrollLeft(t-1);var n=this.adapter_.getScrollAreaScrollLeft();if(n<0)return this.adapter_.setScrollAreaScrollLeft(t),new m(this.adapter_);var i=this.adapter_.computeScrollAreaClientRect(),r=this.adapter_.computeScrollContentClientRect(),e=Math.round(r.right-i.right);return this.adapter_.setScrollAreaScrollLeft(t),e===n?new g(this.adapter_):new v(this.adapter_)},n.prototype.isRTL_=function(){return"rtl"===this.adapter_.getScrollContentStyleValue("direction")},n}(o),_=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.area_=this.root_.querySelector(C.strings.AREA_SELECTOR),this.content_=this.root_.querySelector(C.strings.CONTENT_SELECTOR)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleInteraction_=function(){return t.foundation_.handleInteraction()},this.handleTransitionEnd_=function(n){return t.foundation_.handleTransitionEnd(n)},this.area_.addEventListener("wheel",this.handleInteraction_),this.area_.addEventListener("touchstart",this.handleInteraction_),this.area_.addEventListener("pointerdown",this.handleInteraction_),this.area_.addEventListener("mousedown",this.handleInteraction_),this.area_.addEventListener("keydown",this.handleInteraction_),this.content_.addEventListener("transitionend",this.handleTransitionEnd_)},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.area_.removeEventListener("wheel",this.handleInteraction_),this.area_.removeEventListener("touchstart",this.handleInteraction_),this.area_.removeEventListener("pointerdown",this.handleInteraction_),this.area_.removeEventListener("mousedown",this.handleInteraction_),this.area_.removeEventListener("keydown",this.handleInteraction_),this.content_.removeEventListener("transitionend",this.handleTransitionEnd_)},n.prototype.getDefaultFoundation=function(){var t=this;return new C({eventTargetMatchesSelector:function(t,n){return c(t,n)},addClass:function(n){return t.root_.classList.add(n)},removeClass:function(n){return t.root_.classList.remove(n)},addScrollAreaClass:function(n){return t.area_.classList.add(n)},setScrollAreaStyleProperty:function(n,i){return t.area_.style.setProperty(n,i)},setScrollContentStyleProperty:function(n,i){return t.content_.style.setProperty(n,i)},getScrollContentStyleValue:function(n){return window.getComputedStyle(t.content_).getPropertyValue(n)},setScrollAreaScrollLeft:function(n){return t.area_.scrollLeft=n},getScrollAreaScrollLeft:function(){return t.area_.scrollLeft},getScrollContentOffsetWidth:function(){return t.content_.offsetWidth},getScrollAreaOffsetWidth:function(){return t.area_.offsetWidth},computeScrollAreaClientRect:function(){return t.area_.getBoundingClientRect()},computeScrollContentClientRect:function(){return t.content_.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return function(t,n){if(void 0===n&&(n=!0),n&&void 0!==f)return f;var i=t.createElement("div");i.classList.add(l.SCROLL_TEST),t.body.appendChild(i);var r=i.offsetHeight-i.clientHeight;return t.body.removeChild(i),n&&(f=r),r}
/**
 * @license
 * Copyright 2018 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */(document)}})},n.prototype.getScrollPosition=function(){return this.foundation_.getScrollPosition()},n.prototype.getScrollContentWidth=function(){return this.content_.offsetWidth},n.prototype.incrementScroll=function(t){this.foundation_.incrementScroll(t)},n.prototype.scrollTo=function(t){this.foundation_.scrollTo(t)},n}(u),p={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},E={CONTENT_SELECTOR:".mdc-tab-indicator__content"},T=function(t){function n(i){return t.call(this,e({},n.defaultAdapter,i))||this}return r(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return E},enumerable:!0,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!0,configurable:!0}),n.prototype.computeContentClientRect=function(){return this.adapter_.computeContentClientRect()},n}(o),A=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.activate=function(){this.adapter_.addClass(T.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter_.removeClass(T.cssClasses.ACTIVE)},n}(T),S=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.activate=function(t){if(t){var n=this.computeContentClientRect(),i=t.width/n.width,r=t.left-n.left;this.adapter_.addClass(T.cssClasses.NO_TRANSITION),this.adapter_.setContentStyleProperty("transform","translateX("+r+"px) scaleX("+i+")"),this.computeContentClientRect(),this.adapter_.removeClass(T.cssClasses.NO_TRANSITION),this.adapter_.addClass(T.cssClasses.ACTIVE),this.adapter_.setContentStyleProperty("transform","")}else this.adapter_.addClass(T.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter_.removeClass(T.cssClasses.ACTIVE)},n}(T),O=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.content_=this.root_.querySelector(T.strings.CONTENT_SELECTOR)},n.prototype.computeContentClientRect=function(){return this.foundation_.computeContentClientRect()},n.prototype.getDefaultFoundation=function(){var t=this,n={addClass:function(n){return t.root_.classList.add(n)},removeClass:function(n){return t.root_.classList.remove(n)},computeContentClientRect:function(){return t.content_.getBoundingClientRect()},setContentStyleProperty:function(n,i){return t.content_.style.setProperty(n,i)}};return this.root_.classList.contains(T.cssClasses.FADE)?new A(n):new S(n)},n.prototype.activate=function(t){this.foundation_.activate(t)},n.prototype.deactivate=function(){this.foundation_.deactivate()},n}(u),w={ACTIVE:"mdc-tab--active"},R={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"},I=function(t){function n(i){var r=t.call(this,e({},n.defaultAdapter,i))||this;return r.focusOnActivate_=!0,r}return r(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return R},enumerable:!0,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!0,configurable:!0}),n.prototype.handleClick=function(){this.adapter_.notifyInteracted()},n.prototype.isActive=function(){return this.adapter_.hasClass(w.ACTIVE)},n.prototype.setFocusOnActivate=function(t){this.focusOnActivate_=t},n.prototype.activate=function(t){this.adapter_.addClass(w.ACTIVE),this.adapter_.setAttr(R.ARIA_SELECTED,"true"),this.adapter_.setAttr(R.TABINDEX,"0"),this.adapter_.activateIndicator(t),this.focusOnActivate_&&this.adapter_.focus()},n.prototype.deactivate=function(){this.isActive()&&(this.adapter_.removeClass(w.ACTIVE),this.adapter_.setAttr(R.ARIA_SELECTED,"false"),this.adapter_.setAttr(R.TABINDEX,"-1"),this.adapter_.deactivateIndicator())},n.prototype.computeDimensions=function(){var t=this.adapter_.getOffsetWidth(),n=this.adapter_.getOffsetLeft(),i=this.adapter_.getContentOffsetWidth(),r=this.adapter_.getContentOffsetLeft();return{contentLeft:n+r,contentRight:n+r+i,rootLeft:n,rootRight:n+t}},n}(o),L=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(t,n){void 0===t&&(t=function(t,n){return new a(t,n)}),void 0===n&&(n=function(t){return new O(t)}),this.id=this.root_.id;var i=this.root_.querySelector(I.strings.RIPPLE_SELECTOR),r=e({},a.createAdapter(this),{addClass:function(t){return i.classList.add(t)},removeClass:function(t){return i.classList.remove(t)},updateCssVariable:function(t,n){return i.style.setProperty(t,n)}}),s=new h(r);this.ripple_=t(this.root_,s);var o=this.root_.querySelector(I.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator_=n(o),this.content_=this.root_.querySelector(I.strings.CONTENT_SELECTOR)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick_=function(){return t.foundation_.handleClick()},this.listen("click",this.handleClick_)},n.prototype.destroy=function(){this.unlisten("click",this.handleClick_),this.ripple_.destroy(),t.prototype.destroy.call(this)},n.prototype.getDefaultFoundation=function(){var t=this;return new I({setAttr:function(n,i){return t.root_.setAttribute(n,i)},addClass:function(n){return t.root_.classList.add(n)},removeClass:function(n){return t.root_.classList.remove(n)},hasClass:function(n){return t.root_.classList.contains(n)},activateIndicator:function(n){return t.tabIndicator_.activate(n)},deactivateIndicator:function(){return t.tabIndicator_.deactivate()},notifyInteracted:function(){return t.emit(I.strings.INTERACTED_EVENT,{tabId:t.id},!0)},getOffsetLeft:function(){return t.root_.offsetLeft},getOffsetWidth:function(){return t.root_.offsetWidth},getContentOffsetLeft:function(){return t.content_.offsetLeft},getContentOffsetWidth:function(){return t.content_.offsetWidth},focus:function(){return t.root_.focus()}})},Object.defineProperty(n.prototype,"active",{get:function(){return this.foundation_.isActive()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"focusOnActivate",{set:function(t){this.foundation_.setFocusOnActivate(t)},enumerable:!0,configurable:!0}),n.prototype.activate=function(t){this.foundation_.activate(t)},n.prototype.deactivate=function(){this.foundation_.deactivate()},n.prototype.computeIndicatorClientRect=function(){return this.tabIndicator_.computeContentClientRect()},n.prototype.computeDimensions=function(){return this.foundation_.computeDimensions()},n.prototype.focus=function(){this.root_.focus()},n}(u),y={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},x={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32},D=new Set;D.add(y.ARROW_LEFT_KEY),D.add(y.ARROW_RIGHT_KEY),D.add(y.END_KEY),D.add(y.HOME_KEY),D.add(y.ENTER_KEY),D.add(y.SPACE_KEY);var M=new Map;M.set(x.ARROW_LEFT_KEYCODE,y.ARROW_LEFT_KEY),M.set(x.ARROW_RIGHT_KEYCODE,y.ARROW_RIGHT_KEY),M.set(x.END_KEYCODE,y.END_KEY),M.set(x.HOME_KEYCODE,y.HOME_KEY),M.set(x.ENTER_KEYCODE,y.ENTER_KEY),M.set(x.SPACE_KEYCODE,y.SPACE_KEY);var P=function(t){function n(i){var r=t.call(this,e({},n.defaultAdapter,i))||this;return r.useAutomaticActivation_=!1,r}return r(n,t),Object.defineProperty(n,"strings",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(n,"numbers",{get:function(){return x},enumerable:!0,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!0,configurable:!0}),n.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation_=t},n.prototype.activateTab=function(t){var n,i=this.adapter_.getPreviousActiveTabIndex();this.indexIsInRange_(t)&&t!==i&&(-1!==i&&(this.adapter_.deactivateTabAtIndex(i),n=this.adapter_.getTabIndicatorClientRectAtIndex(i)),this.adapter_.activateTabAtIndex(t,n),this.scrollIntoView(t),this.adapter_.notifyTabActivated(t))},n.prototype.handleKeyDown=function(t){var n=this.getKeyFromEvent_(t);if(void 0!==n)if(this.isActivationKey_(n)||t.preventDefault(),this.useAutomaticActivation_){if(this.isActivationKey_(n))return;var i=this.determineTargetFromKey_(this.adapter_.getPreviousActiveTabIndex(),n);this.adapter_.setActiveTab(i),this.scrollIntoView(i)}else{var r=this.adapter_.getFocusedTabIndex();this.isActivationKey_(n)?this.adapter_.setActiveTab(r):(i=this.determineTargetFromKey_(r,n),this.adapter_.focusTabAtIndex(i),this.scrollIntoView(i))}},n.prototype.handleTabInteraction=function(t){this.adapter_.setActiveTab(this.adapter_.getIndexOfTabById(t.detail.tabId))},n.prototype.scrollIntoView=function(t){if(this.indexIsInRange_(t))return 0===t?this.adapter_.scrollTo(0):t===this.adapter_.getTabListLength()-1?this.adapter_.scrollTo(this.adapter_.getScrollContentWidth()):this.isRTL_()?this.scrollIntoViewRTL_(t):void this.scrollIntoView_(t)},n.prototype.determineTargetFromKey_=function(t,n){var i=this.isRTL_(),r=this.adapter_.getTabListLength()-1,e=t;return n===y.END_KEY?e=r:n===y.ARROW_LEFT_KEY&&!i||n===y.ARROW_RIGHT_KEY&&i?e-=1:n===y.ARROW_RIGHT_KEY&&!i||n===y.ARROW_LEFT_KEY&&i?e+=1:e=0,e<0?e=r:e>r&&(e=0),e},n.prototype.calculateScrollIncrement_=function(t,n,i,r){var e=this.adapter_.getTabDimensionsAtIndex(n),s=e.contentLeft-i-r+x.EXTRA_SCROLL_AMOUNT;return n<t?Math.min(e.contentRight-i-x.EXTRA_SCROLL_AMOUNT,0):Math.max(s,0)},n.prototype.calculateScrollIncrementRTL_=function(t,n,i,r,e){var s=this.adapter_.getTabDimensionsAtIndex(n),o=e-s.contentLeft-i-x.EXTRA_SCROLL_AMOUNT;return n>t?Math.max(e-s.contentRight-i-r+x.EXTRA_SCROLL_AMOUNT,0):Math.min(o,0)},n.prototype.findAdjacentTabIndexClosestToEdge_=function(t,n,i,r){var e=n.rootLeft-i,s=n.rootRight-i-r,o=e+s;return e<0||o<0?t-1:s>0||o>0?t+1:-1},n.prototype.findAdjacentTabIndexClosestToEdgeRTL_=function(t,n,i,r,e){var s=e-n.rootLeft-r-i,o=e-n.rootRight-i,u=s+o;return s>0||u>0?t+1:o<0||u<0?t-1:-1},n.prototype.getKeyFromEvent_=function(t){return D.has(t.key)?t.key:M.get(t.keyCode)},n.prototype.isActivationKey_=function(t){return t===y.SPACE_KEY||t===y.ENTER_KEY},n.prototype.indexIsInRange_=function(t){return t>=0&&t<this.adapter_.getTabListLength()},n.prototype.isRTL_=function(){return this.adapter_.isRTL()},n.prototype.scrollIntoView_=function(t){var n=this.adapter_.getScrollPosition(),i=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(t),e=this.findAdjacentTabIndexClosestToEdge_(t,r,n,i);if(this.indexIsInRange_(e)){var s=this.calculateScrollIncrement_(t,e,n,i);this.adapter_.incrementScroll(s)}},n.prototype.scrollIntoViewRTL_=function(t){var n=this.adapter_.getScrollPosition(),i=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(t),e=this.adapter_.getScrollContentWidth(),s=this.findAdjacentTabIndexClosestToEdgeRTL_(t,r,n,i,e);if(this.indexIsInRange_(s)){var o=this.calculateScrollIncrementRTL_(t,s,n,i,e);this.adapter_.incrementScroll(o)}},n}(o),N=P.strings,j=0,W=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"focusOnActivate",{set:function(t){this.tabList_.forEach((function(n){return n.focusOnActivate=t}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"useAutomaticActivation",{set:function(t){this.foundation_.setUseAutomaticActivation(t)},enumerable:!0,configurable:!0}),n.prototype.initialize=function(t,n){void 0===t&&(t=function(t){return new L(t)}),void 0===n&&(n=function(t){return new _(t)}),this.tabList_=this.instantiateTabs_(t),this.tabScroller_=this.instantiateTabScroller_(n)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleTabInteraction_=function(n){return t.foundation_.handleTabInteraction(n)},this.handleKeyDown_=function(n){return t.foundation_.handleKeyDown(n)},this.listen(I.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.listen("keydown",this.handleKeyDown_);for(var n=0;n<this.tabList_.length;n++)if(this.tabList_[n].active){this.scrollIntoView(n);break}},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.unlisten(I.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.unlisten("keydown",this.handleKeyDown_),this.tabList_.forEach((function(t){return t.destroy()})),this.tabScroller_&&this.tabScroller_.destroy()},n.prototype.getDefaultFoundation=function(){var t=this;return new P({scrollTo:function(n){return t.tabScroller_.scrollTo(n)},incrementScroll:function(n){return t.tabScroller_.incrementScroll(n)},getScrollPosition:function(){return t.tabScroller_.getScrollPosition()},getScrollContentWidth:function(){return t.tabScroller_.getScrollContentWidth()},getOffsetWidth:function(){return t.root_.offsetWidth},isRTL:function(){return"rtl"===window.getComputedStyle(t.root_).getPropertyValue("direction")},setActiveTab:function(n){return t.foundation_.activateTab(n)},activateTabAtIndex:function(n,i){return t.tabList_[n].activate(i)},deactivateTabAtIndex:function(n){return t.tabList_[n].deactivate()},focusTabAtIndex:function(n){return t.tabList_[n].focus()},getTabIndicatorClientRectAtIndex:function(n){return t.tabList_[n].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(n){return t.tabList_[n].computeDimensions()},getPreviousActiveTabIndex:function(){for(var n=0;n<t.tabList_.length;n++)if(t.tabList_[n].active)return n;return-1},getFocusedTabIndex:function(){var n=t.getTabElements_(),i=document.activeElement;return n.indexOf(i)},getIndexOfTabById:function(n){for(var i=0;i<t.tabList_.length;i++)if(t.tabList_[i].id===n)return i;return-1},getTabListLength:function(){return t.tabList_.length},notifyTabActivated:function(n){return t.emit(N.TAB_ACTIVATED_EVENT,{index:n},!0)}})},n.prototype.activateTab=function(t){this.foundation_.activateTab(t)},n.prototype.scrollIntoView=function(t){this.foundation_.scrollIntoView(t)},n.prototype.getTabElements_=function(){return[].slice.call(this.root_.querySelectorAll(N.TAB_SELECTOR))},n.prototype.instantiateTabs_=function(t){return this.getTabElements_().map((function(n){return n.id=n.id||"mdc-tab-"+ ++j,t(n)}))},n.prototype.instantiateTabScroller_=function(t){var n=this.root_.querySelector(N.TAB_SCROLLER_SELECTOR);return n?t(n):null},n}(u);
/**
 * @license
 * Copyright 2018 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */const Y=class{constructor(n){t(this,n),this.activeIndex=0}watchActiveIndex(t){1===t?(this.previewElement.style.display="block",this.designElement.style.display="none"):(this.previewElement.style.display="none",this.designElement.style.display="block")}componentDidLoad(){this.tabBar=new W(this.tabElement),this.tabBar.focusOnActivate=!1,this.tabElement.addEventListener("MDCTabBar:activated",this.handleActivated.bind(this)),this.designElement.addEventListener(i.TYPE,this.handleModelUpdated.bind(this))}handleActivated(t){this.activeIndex=t.detail.index}async handleModelUpdated(t){const{update:n}=t.detail;await this.piePlayerElement.updateElementModel(n)}render(){return n("div",{class:"author-preview-container"},n("div",{ref:t=>this.tabElement=t,class:"mdc-tab-bar author-preview-tab-bar",role:"tablist"},n("div",{class:"mdc-tab-scroller"},n("div",{class:"mdc-tab-scroller__scroll-area"},n("div",{class:"mdc-tab-scroller__scroll-content"},n("button",{class:"mdc-tab mdc-tab--active",role:"tab","aria-selected":"true",tabindex:"0",type:"button"},n("span",{class:"mdc-tab__content"},n("span",{class:"mdc-tab__text-label"},"Build")),n("span",{class:"mdc-tab-indicator mdc-tab-indicator--active"},n("span",{class:"mdc-tab-indicator__content mdc-tab-indicator__content--underline"})),n("span",{class:"mdc-tab__ripple"})),n("button",{class:"mdc-tab",role:"tab","aria-selected":"true",tabindex:"1",type:"button"},n("span",{class:"mdc-tab__content"},n("span",{class:"mdc-tab__text-label"},"Item Preview")),n("span",{class:"mdc-tab-indicator"},n("span",{class:"mdc-tab-indicator__content mdc-tab-indicator__content--underline"})),n("span",{class:"mdc-tab__ripple"})))))),n("div",{class:"author-preview-tab-contents"},n("div",{ref:t=>this.designElement=t},n("slot",{name:"configure"})),n("div",{style:{display:"none"},ref:t=>this.previewElement=t},n("div",{class:"preview-control"},n("pie-preview-control",{onEnvChanged:t=>{this.piePlayerElement.env={mode:t.detail.mode,role:t.detail.role}}})),n("div",{class:"pie-player"},n("pie-player",{ref:t=>this.piePlayerElement=t,disableBundler:!0,config:this.config})))))}static get watchers(){return{activeIndex:["watchActiveIndex"]}}static get style(){return".mdc-tab-bar{width:100%}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:-ms-flexbox;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-transform:none;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{-ms-flex-pack:start;justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{-ms-flex-pack:end;justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{-ms-flex-pack:center;justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1)}.mdc-tab-indicator{display:-ms-flexbox;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#0049ff;border-color:var(--mdc-theme-primary,#0049ff);border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#018786;color:var(--mdc-theme-secondary,#018786);height:34px;font-size:34px}.mdc-tab-indicator__content{-webkit-transform-origin:left;transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{-ms-flex-item-align:end;align-self:flex-end;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{-ms-flex-item-align:center;align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{-webkit-transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),-webkit-transform .25s cubic-bezier(.4,0,.2,1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{-webkit-transition:none;transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{-webkit-transition-delay:.1s;transition-delay:.1s}\@-webkit-keyframes mdc-ripple-fg-radius-in{0%{-webkit-animation-timing-function:cubic-bezier(.4,0,.2,1);animation-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}\@keyframes mdc-ripple-fg-radius-in{0%{-webkit-animation-timing-function:cubic-bezier(.4,0,.2,1);animation-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}\@-webkit-keyframes mdc-ripple-fg-opacity-in{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity,0)}}\@keyframes mdc-ripple-fg-opacity-in{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity,0)}}\@-webkit-keyframes mdc-ripple-fg-opacity-out{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity,0)}to{opacity:0}}\@keyframes mdc-ripple-fg-opacity-out{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity,0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var:1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug:before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-tab{position:relative;font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;line-height:2.25rem;font-weight:500;letter-spacing:.0892857143em;text-decoration:none;text-transform:uppercase;padding-right:24px;padding-left:24px;display:-ms-flexbox;display:flex;-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;height:48px;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;background:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab .mdc-tab__text-label{color:rgba(0,0,0,.6)}.mdc-tab .mdc-tab__icon{color:rgba(0,0,0,.54);fill:currentColor}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{-ms-flex:0 1 auto;flex:0 1 auto}.mdc-tab__ripple{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.mdc-tab__ripple:after,.mdc-tab__ripple:before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-tab__ripple:before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1}.mdc-tab__ripple.mdc-ripple-upgraded:before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-tab__ripple.mdc-ripple-upgraded:after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-tab__ripple.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-tab__ripple.mdc-ripple-upgraded--foreground-activation:after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab__ripple.mdc-ripple-upgraded--foreground-deactivation:after{-webkit-animation:mdc-ripple-fg-opacity-out .15s;animation:mdc-ripple-fg-opacity-out .15s;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-tab__ripple:after,.mdc-tab__ripple:before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab__ripple.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-tab__ripple:after,.mdc-tab__ripple:before{background-color:#0049ff}\@supports not (-ms-ime-align:auto){.mdc-tab__ripple:after,.mdc-tab__ripple:before{background-color:var(--mdc-theme-primary,#0049ff)}}.mdc-tab__ripple:hover:before{opacity:.04}.mdc-tab__ripple.mdc-ripple-upgraded--background-focused:before,.mdc-tab__ripple:not(.mdc-ripple-upgraded):focus:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12}.mdc-tab__ripple:not(.mdc-ripple-upgraded):after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.mdc-tab__ripple:not(.mdc-ripple-upgraded):active:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12}.mdc-tab__ripple.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-tab__content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__icon,.mdc-tab__text-label{-webkit-transition:color .15s linear;transition:color .15s linear;z-index:2}.mdc-tab__text-label{display:inline-block;line-height:1}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--stacked{height:72px}.mdc-tab--stacked .mdc-tab__content{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.mdc-tab--stacked .mdc-tab__icon{padding-top:12px}.mdc-tab--stacked .mdc-tab__text-label{padding-bottom:16px}.mdc-tab--active .mdc-tab__icon,.mdc-tab--active .mdc-tab__text-label{color:#0049ff;color:var(--mdc-theme-primary,#0049ff)}.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mdc-tab--active .mdc-tab__icon,.mdc-tab--active .mdc-tab__text-label{-webkit-transition-delay:.1s;transition-delay:.1s}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl],[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:0;padding-right:8px}.author-preview-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:stretch;align-content:stretch;-ms-flex-align:start;align-items:flex-start}.author-preview-tab-bar{-ms-flex-order:0;order:0;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:auto;align-self:auto;width:30%}.author-preview-tab-contents{-ms-flex-order:0;order:0;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.preview-control{margin:25px 0 25px 0}.pie-player{border:1px solid #e0e1e6;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:5px;padding:27px}"}};export{Y as pie_preview_layout};