(window.multistep_editor_jsonpFunction=window.multistep_editor_jsonpFunction||[]).push([[38],{925:function(t,e,r){"use strict";r.r(e),r.d(e,"AuWidgetOrder",function(){return d}),r.d(e,"widget",function(){return d});var i=r(0),s=r(160),c=r(2),o=r(1),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.logRequest=!1,e.useBackOffice=!1,e.sku="",e}return Object(i.d)(e,t),e.prototype.updateParams=function(t){this.images=t.images||[],this.downloadUrls=t.downloadUrls||[],this.data=t.data||{},this.logRequest=t.logRequest||this.driver.settings.logRequest||!1,this.useBackOffice=t.useBackOffice||this.driver.settings.useBackOffice||!1,this.props=t.props||{},this.customPrice=t.customPrice||0,this.quantity=null===t.quantity||void 0===t.quantity?this.driver.orders.current.quantity||1:t.quantity,this.sku=t.sku||"",this.changeDriver()},e.prototype.changeDriver=function(){this.driver.orders.current.images=this.images,this.driver.orders.current.downloadUrls=this.downloadUrls,this.driver.orders.current.data=this.data,this.driver.orders.current.props=this.props,this.driver.orders.current.customPrice=this.customPrice,this.driver.orders.current.logRequest=this.logRequest,this.driver.orders.current.useBackOffice=this.driver.orders.current.useBackOffice||this.useBackOffice,this.driver.orders.current.sku=this.driver.orders.current.sku||this.sku,o.a.isNotNullOrUndefined(this.quantity)&&(this.driver.orders.current.quantity=this.quantity)},Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Object)],e.prototype,"params",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Array)],e.prototype,"images",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Array)],e.prototype,"downloadUrls",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Object)],e.prototype,"data",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Object)],e.prototype,"props",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Number)],e.prototype,"quantity",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Number)],e.prototype,"customPrice",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Boolean)],e.prototype,"logRequest",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",Boolean)],e.prototype,"useBackOffice",void 0),Object(i.c)([Object(c.c)(),Object(i.g)("design:type",String)],e.prototype,"sku",void 0),e=Object(i.c)([Object(c.a)("au-widget-order")],e)}(s.a)}}]);