text: (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{788:function(e,a,t){"use strict";t.r(a);var r=t(10),n=t.n(r),c=t(12),i=t.n(c),o=t(108),l=t(30),s=t(35),d=t(535),m=t.n(d),u=t(564),k=t(553),g=t(544),b=t(545),w=t(538),p=t(703),_=function(e){var a=e.loaded,t=e.translate;if(!a)return null;var r=function(){return e.exitTrackingFlow(e.orderId,e.siteId,!1)};return n.a.createElement(u.a,{additionalClassNames:"woocommerce tracking-modal wcc-root",isVisible:e.showTrackingDialog,onClose:r},n.a.createElement("div",{className:"tracking-modal__content"},n.a.createElement("div",{className:"tracking-modal__header"},n.a.createElement(k.a,null,t("Which package would you like to track?")),n.a.createElement(b.a,{className:"tracking-modal__close-button",onClick:r},n.a.createElement(m.a,{icon:"cross"}))),n.a.createElement("div",{className:"tracking-modal__body"},n.a.createElement("div",{className:"tracking-modal__main-section"},n.a.createElement("div",{className:"shipment-tracking__dummy-class order-activity-log"},n.a.createElement(p.a,{orderId:e.orderId,siteId:e.siteId,isModal:!0}))))))};_.propTypes={siteId:i.a.number.isRequired,orderId:i.a.number.isRequired};a.default=Object(o.b)(function(e,a){var t=a.orderId,r=a.siteId,n=Object(w.t)(e,t,r),c=Object(w.j)(e,t,r);return{loaded:n,form:n&&c.form,showTrackingDialog:c.showTrackingDialog,isCustomsFormRequired:Object(w.p)(e,t,r)}},function(e){return Object(l.b)({exitTrackingFlow:g.p},e)})(Object(s.localize)(_))}}]);