(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[7],{1072:function(e,r,t){"use strict";(function(e){t.d(r,"a",(function(){return Checkbox}));var o=t(1179),n=t(1181),a=t(1),c=t.n(a),i=t(11),s=t.n(i),l=t(0),d=t(4),u=t(1073),h=t(501),p=l.useCallback,v=l.useEffect,f=l.useRef,b=Object(n.a)({tagName:"md-checkbox",elementClass:o.a,react:d,events:{onKeyDown:"keydown",onChange:"change"}});function Checkbox(r){var t=r.onChange,o=r.id,n=r.name,a=r.value,c=r.checked,i=r.disabled,l=r.children,d=r.tabIndex,m=r.onKeyDown,y=r.loading,k=r.alignLeft,_=r.description,g=f(null),x=p((function(){var e=g.current;if(e){e.checked=c;var r=e.shadowRoot.querySelector("input");r&&(r.checked=c)}}),[c]);v((function(){x()}),[x]);var w="".concat(o,"-label");return e.createElement("div",{className:s()("googlesitekit-component-gm3_checkbox",{"googlesitekit-component-gm3_checkbox--align-left":k})},y&&e.createElement("div",{className:"googlesitekit-component-gm3_checkbox--loading"},e.createElement(h.a,{isSaving:!0})),!y&&e.createElement(b,{id:o,ref:g,"aria-label":Object(u.a)(l),"aria-labelledby":w,checked:c||null,disabled:i||null,name:n,value:a,tabIndex:d,onChange:function(e){null==t||t(e),x()},onKeyDown:m}),!_&&e.createElement("label",{id:w,htmlFor:o},l),_&&e.createElement("div",{className:"googlesitekit-component-gm3_checkbox__content"},e.createElement("label",{id:w,htmlFor:o},l),e.createElement("div",{className:"googlesitekit-component-gm3_checkbox__description"},_)))}Checkbox.propTypes={onChange:c.a.func.isRequired,onKeyDown:c.a.func,id:c.a.string.isRequired,name:c.a.string.isRequired,value:c.a.string.isRequired,checked:c.a.bool,disabled:c.a.bool,children:c.a.node.isRequired,tabIndex:c.a.oneOfType([c.a.number,c.a.string]),loading:c.a.bool,alignLeft:c.a.bool,description:c.a.node},Checkbox.defaultProps={checked:!1,disabled:!1,tabIndex:void 0,onKeyDown:null,loading:!1,alignLeft:!1,description:""}}).call(this,t(4))},1073:function(e,r,t){"use strict";t.d(r,"a",(function(){return c}));var o=t(27),n=t.n(o),a=t(0);function c(e){return function e(r){var t=[];return a.Children.map(r,(function(r){r&&(Object(a.isValidElement)(r)?t.push.apply(t,n()(e(r.props.children))):t.push(r.toString()))})),t}(e).map((function(e){return e.trim()})).filter((function(e){return e.length})).join(" ")}},1179:function(e,r,t){"use strict";t.d(r,"a",(function(){return ue}));var o=t(51),n=t.n(o),a=t(68),c=t.n(a),i=t(69),s=t.n(i),l=t(49),d=t.n(l),u=t(33),h=t.n(u);function __decorate(e,r,t,o){var n,a=arguments.length,c=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"===("undefined"==typeof Reflect?"undefined":h()(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,r,t,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(a<3?n(c):a>3?n(r,t,c):n(r,t))||c);return a>3&&c&&Object.defineProperty(r,t,c),c}Object.create;Object.create;var p=t(230),v=t(295),f=t.n(v),b=t(595),m=t.n(b),y=t(53),k=t.n(y),_=t(296);function g(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var x=function(e){c()(FocusRing,e);var r=g(FocusRing);function FocusRing(){var e;return n()(this,FocusRing),(e=r.apply(this,arguments)).visible=!1,e.inward=!1,e.htmlFor=null,e.currentControl=null,e}return k()(FocusRing,[{key:"attach",value:function(e){e!==this.currentControl&&(this.setCurrentControl(e),this.removeAttribute("for"))}},{key:"detach",value:function(){this.setCurrentControl(null),this.setAttribute("for","")}},{key:"connectedCallback",value:function(){m()(d()(FocusRing.prototype),"connectedCallback",this).call(this),this.setCurrentControl(this.control)}},{key:"disconnectedCallback",value:function(){m()(d()(FocusRing.prototype),"disconnectedCallback",this).call(this),this.setCurrentControl(null)}},{key:"updated",value:function(e){if(e.has("htmlFor")){var r=this.control;r&&this.setCurrentControl(r)}}},{key:"handleEvent",value:function(e){var r,t;if(!e[w]){switch(e.type){default:return;case"focusin":this.visible=null!==(r=null===(t=this.control)||void 0===t?void 0:t.matches(":focus-visible"))&&void 0!==r&&r;break;case"focusout":case"pointerdown":this.visible=!1}e[w]=!0}}},{key:"setCurrentControl",value:function(e){for(var r=0,t=["focusin","focusout","pointerdown"];r']);return A=function(){return e},e}function B(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var z;!function(e){e[e.INACTIVE=0]="INACTIVE",e[e.TOUCH_DELAY=1]="TOUCH_DELAY",e[e.HOLDING=2]="HOLDING",e[e.WAITING_FOR_CLICK=3]="WAITING_FOR_CLICK"}(z||(z={}));var M=function(e){c()(Ripple,e);var r,t,o=B(Ripple);function Ripple(){var e;return n()(this,Ripple),(e=o.apply(this,arguments)).unbounded=!1,e.disabled=!1,e.hovered=!1,e.focused=!1,e.pressed=!1,e.rippleSize="",e.rippleScale="",e.initialSize=0,e.state=z.INACTIVE,e.checkBoundsAfterContextMenu=!1,e}return k()(Ripple,[{key:"handlePointerenter",value:function(e){this.shouldReactToEvent(e)&&(this.hovered=!0)}},{key:"handlePointerleave",value:function(e){this.shouldReactToEvent(e)&&(this.hovered=!1,this.state!==z.INACTIVE&&this.endPressAnimation())}},{key:"handleFocusin",value:function(){this.focused=!0}},{key:"handleFocusout",value:function(){this.focused=!1}},{key:"handlePointerup",value:function(e){if(this.shouldReactToEvent(e)){if(this.state!==z.HOLDING)return this.state===z.TOUCH_DELAY?(this.state=z.WAITING_FOR_CLICK,void this.startPressAnimation(this.rippleStartEvent)):void 0;this.state=z.WAITING_FOR_CLICK}}},{key:"handlePointerdown",value:(t=j()(E.a.mark((function e(r){return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.shouldReactToEvent(r)){e.next=2;break}return e.abrupt("return");case 2:if(this.rippleStartEvent=r,this.isTouch(r)){e.next=7;break}return this.state=z.WAITING_FOR_CLICK,this.startPressAnimation(r),e.abrupt("return");case 7:if(!this.checkBoundsAfterContextMenu||this.inBounds(r)){e.next=9;break}return e.abrupt("return");case 9:return this.checkBoundsAfterContextMenu=!1,this.state=z.TOUCH_DELAY,e.next=13,new Promise((function(e){setTimeout(e,150)}));case 13:if(this.state===z.TOUCH_DELAY){e.next=15;break}return e.abrupt("return");case 15:this.state=z.HOLDING,this.startPressAnimation(r);case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"handleClick",value:function(){this.disabled||(this.state!==z.WAITING_FOR_CLICK?this.state===z.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation()):this.endPressAnimation())}},{key:"handlePointercancel",value:function(e){this.shouldReactToEvent(e)&&this.endPressAnimation()}},{key:"handleContextmenu",value:function(){this.disabled||(this.checkBoundsAfterContextMenu=!0,this.endPressAnimation())}},{key:"render",value:function(){var e={hovered:this.hovered,focused:this.focused,pressed:this.pressed,unbounded:this.unbounded};return Object(_.c)(A(),Object(I.a)(e))}},{key:"update",value:function(e){e.has("disabled")&&this.disabled&&(this.hovered=!1,this.focused=!1,this.pressed=!1),m()(d()(Ripple.prototype),"update",this).call(this,e)}},{key:"getDimensions",value:function(){var e;return(null!==(e=this.parentElement)&&void 0!==e?e:this).getBoundingClientRect()}},{key:"determineRippleSize",value:function(){var e,r=this.getDimensions(),t=r.height,o=r.width,n=Math.max(t,o),a=Math.max(.35*n,75),c=Math.floor(.2*n);e=Math.sqrt(Math.pow(o,2)+Math.pow(t,2))+10,this.unbounded&&(c-=c%2),this.initialSize=c,this.rippleScale="".concat((e+a)/c),this.rippleSize="".concat(this.initialSize,"px")}},{key:"getNormalizedPointerEventCoords",value:function(e){var r=window,t=r.scrollX,o=r.scrollY,n=this.getDimensions(),a=t+n.left,c=o+n.top;return{x:e.pageX-a,y:e.pageY-c}}},{key:"getTranslationCoordinates",value:function(e){var r,t=this.getDimensions(),o=t.height,n=t.width,a={x:(n-this.initialSize)/2,y:(o-this.initialSize)/2};return{startPoint:r={x:(r=e instanceof PointerEvent?this.getNormalizedPointerEventCoords(e):{x:n/2,y:o/2}).x-this.initialSize/2,y:r.y-this.initialSize/2},endPoint:a}}},{key:"startPressAnimation",value:function(e){var r;if(this.mdRoot){this.pressed=!0,null===(r=this.growAnimation)||void 0===r||r.cancel(),this.determineRippleSize();var t=this.getTranslationCoordinates(e),o=t.startPoint,n=t.endPoint,a="".concat(o.x,"px, ").concat(o.y,"px"),c="".concat(n.x,"px, ").concat(n.y,"px");this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:["translate(".concat(a,") scale(1)"),"translate(".concat(c,") scale(").concat(this.rippleScale,")")]},{pseudoElement:"::after",duration:450,easing:D,fill:"forwards"})}}},{key:"endPressAnimation",value:(r=j()(E.a.mark((function e(){var r,t,o;return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=z.INACTIVE,t=this.growAnimation,!((o=null!==(r=null==t?void 0:t.currentTime)&&void 0!==r?r:1/0)>=225)){e.next=6;break}return this.pressed=!1,e.abrupt("return");case 6:return e.next=8,new Promise((function(e){setTimeout(e,225-o)}));case 8:if(this.growAnimation===t){e.next=10;break}return e.abrupt("return");case 10:this.pressed=!1;case 11:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"shouldReactToEvent",value:function(e){if(this.disabled||!e.isPrimary)return!1;if(this.rippleStartEvent&&this.rippleStartEvent.pointerId!==e.pointerId)return!1;if("pointerenter"===e.type||"pointerleave"===e.type)return!this.isTouch(e);var r=1===e.buttons;return this.isTouch(e)||r}},{key:"inBounds",value:function(e){var r=e.x,t=e.y,o=this.getBoundingClientRect(),n=o.top,a=o.left,c=o.bottom,i=o.right;return r>=a&&r<=i&&t>=n&&t<=c}},{key:"isTouch",value:function(e){return"touch"===e.pointerType}}]),Ripple}(_.a);function L(){var e=f()([':host{--_focus-color: var(--md-ripple-focus-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-opacity: var(--md-ripple-focus-opacity, 0.12);--_hover-color: var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-opacity: var(--md-ripple-hover-opacity, 0.08);--_pressed-color: var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20));--_pressed-opacity: var(--md-ripple-pressed-opacity, 0.12);display:flex}:host([disabled]){opacity:0}:host,.surface{border-radius:inherit;position:absolute;inset:0;pointer-events:none;overflow:hidden}.surface{outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{position:absolute;opacity:0;pointer-events:none;content:""}.surface::before{background-color:var(--_hover-color);transition:opacity 15ms linear,background-color 15ms linear;inset:0}.surface::after{background:radial-gradient(closest-side, var(--_pressed-color) max(100% - 70px, 65%), transparent 100%);transition:opacity 375ms linear;transform-origin:center center}.hovered::before{background-color:var(--_hover-color);opacity:var(--_hover-opacity)}.focused::before{background-color:var(--_focus-color);opacity:var(--_focus-opacity);transition-duration:75ms}.pressed::after{opacity:var(--_pressed-opacity);transition-duration:105ms}@media screen and (forced-colors: active){:host{display:none}}/*# sourceMappingURL=ripple-styles.css.map */\n']);return L=function(){return e},e}__decorate([Object(p.b)({type:Boolean,reflect:!0})],M.prototype,"unbounded",void 0),__decorate([Object(p.b)({type:Boolean,reflect:!0})],M.prototype,"disabled",void 0),__decorate([Object(p.e)()],M.prototype,"hovered",void 0),__decorate([Object(p.e)()],M.prototype,"focused",void 0),__decorate([Object(p.e)()],M.prototype,"pressed",void 0),__decorate([Object(p.c)(".surface")],M.prototype,"mdRoot",void 0);var F=Object(_.b)(L());function N(e){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d()(e);if(r){var n=d()(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return s()(this,t)}}var G=function(e){c()(MdRipple,e);var r=N(MdRipple);function MdRipple(){return n()(this,MdRipple),r.apply(this,arguments)}return MdRipple}(M);G.styles=[F],G=__decorate([Object(p.a)("md-ripple")],G);var H=t(1182),K=["ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText"];K.map(V);function V(e){return e.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}function U(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return q(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return q(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){i=!0,a=e},f:function(){try{c||null==t.return||t.return()}finally{if(i)throw a}}}}function q(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t\n
\n
\n \n ','\n \n \n \n \n \n