(window.webpackJsonp=window.webpackJsonp||[]).push([[277],{1270:function(e,t,r){"use strict";(function(e){var o=r(21),n=(r(28),r(8),r(17),r(38),r(195),r(47),r(1580));t.a={layout:"DoctorDashboardLayout",components:{PediatricCreatePrescriptionView:n.default},computed:{routeKey:function(){return this.$route.params.id||""},decodedRouteContext:function(){return this.parseDoctorRouteKey(this.routeKey)},pediatricId:function(){var e;return(null===(e=this.decodedRouteContext)||void 0===e?void 0:e.id)||""},parentPhone:function(){var e;return(null===(e=this.decodedRouteContext)||void 0===e?void 0:e.phone)||""}},methods:{fromBase64Url:function(t){var r=String(t||"").replace(/-/g,"+").replace(/_/g,"/"),o=r+"=".repeat((4-r.length%4)%4);return"undefined"!=typeof window&&window.atob?window.atob(o):void 0!==e?e.from(o,"base64").toString("utf8"):""},parseDoctorRouteKey:function(e){try{var t=decodeURIComponent(e||""),r=this.fromBase64Url(t);if(!r)return null;var n=JSON.parse(r);if(n&&"object"===Object(o.a)(n)&&(n.id||n.phone))return n}catch(e){return null}return null}}}}).call(this,r(304).Buffer)},2736:function(e,t,r){"use strict";r.r(t);var o=r(1270).a,n=r(10),component=Object(n.a)(o,(function(){var e=this;return(0,e._self._c)("PediatricCreatePrescriptionView",{attrs:{"route-key":e.routeKey,"pediatric-id":e.pediatricId,"parent-phone":e.parentPhone}})}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{PediatricCreatePrescriptionView:r(1580).default})}}]);