"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[3928],{581:function(i,t,e){e.d(t,{o:function(){return n}});var o=e(1346),n=function(i,t,e){void 0===e&&(e=!0);var n="Function"===i.constructor.name?i.prototype:i,r=n.componentWillLoad;n.componentWillLoad=function(){var i,n=this,s=(0,o.a)(this),a={promise:new Promise((function(t){i=t})),resolve:i},l=new CustomEvent("openWormhole",{bubbles:!0,composed:!0,detail:{consumer:this,fields:t,updater:function(i,t){(i in s?s:n)[i]=t},onOpen:a}});s.dispatchEvent(l);var h=function(){if(r)return r.call(n)};return e?a.promise.then((function(){return h()})):h()}}},3928:function(i,t,e){e.r(t),e.d(t,{sc_order_password:function(){return c}});var o=e(467),n=e(3029),r=e(2901),s=e(9280),a=e.n(s),l=e(1346),h=e(581),c=function(){return(0,r.A)((function i(t){(0,n.A)(this,i),(0,l.r)(this,t),this.loggedIn=void 0,this.size="medium",this.value="",this.pill=!1,this.label=void 0,this.showLabel=!0,this.help="",this.placeholder=void 0,this.disabled=!1,this.readonly=!1,this.required=!1,this.autofocus=void 0,this.emailExists=void 0,this.confirmation=!1,this.confirmationLabel=void 0,this.confirmationPlaceholder=void 0,this.confirmationHelp=void 0,this.enableValidation=!0}),[{key:"reportValidity",value:(i=(0,o.A)(a().mark((function i(){var t,e;return a().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",null===(e=null===(t=this.input)||void 0===t?void 0:t.reportValidity)||void 0===e?void 0:e.call(t));case 1:case"end":return i.stop()}}),i,this)}))),function(){return i.apply(this,arguments)})},{key:"render",value:function(){var i=this;return this.loggedIn?(0,l.h)(l.H,{style:{display:"none"}}):(0,l.h)("sc-password",{label:this.label,"aria-label":this.label,help:this.help,autofocus:this.autofocus,placeholder:this.placeholder,showLabel:this.showLabel,size:this.size?this.size:"medium",name:"password",ref:function(t){return i.input=t},value:this.value,required:this.required,disabled:this.disabled,enableValidation:this.enableValidation,confirmationHelp:this.confirmationHelp,confirmationLabel:this.confirmationLabel,confirmationPlaceholder:this.confirmationPlaceholder,confirmation:this.confirmation})}}]);var i}();(0,h.o)(c,["loggedIn","emailExists"],!1),c.style=":host{display:block}.password{display:grid;gap:var(--sc-form-row-spacing, 0.75em)}.password__hint{padding-top:0.36rem;color:red}"}}]);