(this["webpackJsonpmy-beforedent"]=this["webpackJsonpmy-beforedent"]||[]).push([[0],{100:function(e,t,n){"use strict";n.r(t);var r=n(266);n.d(t,"getUser",(function(){return r.a}));var i=n(276);n.d(t,"loginWithKakao",(function(){return i.b})),n.d(t,"loginWithLine",(function(){return i.c})),n.d(t,"login",(function(){return i.a}));var o=n(346);n.d(t,"AuthRoutes",(function(){return o.a}));var a=n(343);for(var c in a)["default","getUser","loginWithKakao","loginWithLine","login","AuthRoutes"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c)},102:function(e,t,n){"use strict";var r=n(112);n.d(t,"b",(function(){return r.a}));var i=n(254);n.d(t,"a",(function(){return i.a}))},112:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(116),i=(n(1),n(33)),o=n(277),a=n.p+"static/media/Beforedent.7d7cff7a.svg",c=n(6),s=function(e){return Object(c.jsx)(o.a,Object(i.a)({h:["25px","46px"],w:["160px","300px"],src:a},e))},u=function(e){var t=e.children;return Object(c.jsxs)(r.f,{h:"100%",p:[5,10],children:[Object(c.jsx)(s,{pointerEvents:"none"}),Object(c.jsx)(r.h,{h:["calc(100% - 25px)","calc(100% - 46px)"],py:[0,0],children:t})]})}},117:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(33),i=n(176),o=n.n(i),a=n(252),c=n(89),s=n(57);var u=o.a.create({baseURL:a.a});u.interceptors.request.use((function(e){var t=s.a.getToken();return t&&(e.headers=Object(r.a)(Object(r.a)({},e.headers),{},{Authorization:"Token ".concat(t)})),e.headers=Object(r.a)(Object(r.a)({},e.headers),{},{Accept:"application/json"}),e})),u.interceptors.response.use((function(e){return e.data}),(function(e){var t,n,r,i;return 401==(null===(t=e.response)||void 0===t?void 0:t.status)&&(c.a.getState().addNotification({type:"error",title:"\uc8c4\uc1a1\ud569\ub2c8\ub2e4",message:"\ub2e4\uc2dc \ub85c\uadf8\uc778\ud574\uc8fc\uc138\uc694"}),s.a.clearToken()),"get"==(null===(n=e.response)||void 0===n||null===(r=n.config)||void 0===r?void 0:r.method)?null:400==(null===(i=e.response)||void 0===i?void 0:i.status)?Promise.reject(e.response):Promise.reject(e)}))},145:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o}));var r=function(e){return e.error&&e.touched||e.submitError&&!e.dirtySinceLastSubmit};function i(e){return e.error?e.error:e.submitError&&Array.isArray(e.submitError)?e.submitError[0]:""}var o=function(e){return e?void 0:"form.error.required"}},169:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r=function(){return new Promise((function(e){var t=document.createElement("script");t.id="kakao-sdk",t.src="//developers.kakao.com/sdk/js/kakao.min.js",t.onload=e,document.body.append(t)}))},i={display:"flex",padding:"0px",width:"220px",height:"49px",lineHeight:"49px",color:"rgb(0, 0, 0, .85)",backgroundColor:"#FEE500",border:"1px solid transparent",borderRadius:"12px",fontSize:"16px",textAlign:"center"}},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(33),i=n(67),o=n(146),a=n(370),c=n(365),s=n(145),u=n(6),l=function(e){var t=e.error;return t&&t.startsWith("form.error.")?Object(u.jsx)(i.b,{children:Object(u.jsx)(a.a,{id:"form.error.required",defaultMessage:"\ud544\uc218"})}):Object(u.jsx)(i.b,{children:t})},d=function(e){var t=e.input,n=e.meta,a=e.isDisabled,c=void 0!==a&&a,d=e.label,f=void 0===d?null:d,b=e.placeholder,j=void 0===b?null:b,p=e.type,h=void 0===p?"text":p;return Object(u.jsxs)(i.a,{id:t.name,isInvalid:Object(s.b)(n),px:"2px",children:[f&&Object(u.jsx)(i.c,{children:f}),Object(u.jsx)(o.a,Object(r.a)(Object(r.a)({},t),{},{disabled:c,type:h,placeholder:j||f})),Object(u.jsx)(l,{error:Object(s.a)(n)})]})},f=function(e){var t=e.input,n=e.meta,a=e.isDisabled,d=void 0!==a&&a,f=e.label,b=e.placeholder,j=void 0===b?null:b;return Object(u.jsxs)(i.a,{id:t.name,isInvalid:Object(s.b)(n),px:"2px",children:[Object(u.jsx)(i.c,{children:f}),Object(u.jsx)(c.a,Object(r.a)(Object(r.a)({},t),{},{disabled:d,defaultCountry:"KR",placeholder:j||f,inputComponent:o.a})),Object(u.jsx)(l,{error:Object(s.a)(n)})]})}},239:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n(99),i=n(358),o=Object(i.a)({apiKey:"AIzaSyDAQPuKVOjGsyU9oSIwr7gYD3ZU0vT5YD8",authDomain:"beforedent-aligners.firebaseapp.com",projectId:"beforedent-aligners",storageBucket:"beforedent-aligners.appspot.com",messagingSenderId:"1022183573842",appId:"1:1022183573842:web:53b5ce1a61db5aab2f528b",measurementId:"G-WGM7RGCYQR"}),a=Object(r.a)(o),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};("photo_assessment_upload"===e||"photo_assessment_remove"===e||"photo_assessment_upload_completed"===e)&&Object(r.b)(a,e,t)}},250:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),o=n(20);function a(){var e=Object(o.g)().search;return i.a.useMemo((function(){return new URLSearchParams(e)}),[e])}},251:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=new(n(73).QueryClient)({defaultOptions:{queries:{useErrorBoundary:!0,refetchOnWindowFocus:!1,retry:!1}}})},252:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return c}));var r="https://api.providers.beforedent.com",i="//3dview.beforedent.com/?mlink=",o=2,a=7,c=14},254:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(116),i=(n(1),n(198)),o=n(6),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=void 0===t?"":t,r=e.subtitle,a=void 0===r?"":r,c=e.description,s=void 0===c?"":c;return Object(o.jsx)(i.a,{title:n?"".concat(n," ").concat(a?"- ".concat(a):"","| Beforedent My App"):void 0,defaultTitle:"Beforedent My App",children:Object(o.jsx)("meta",{name:"description",content:s})})},c=function(e){var t=e.children,n=e.title,i=e.subtitle,c=e.headTitle;return Object(o.jsxs)(r.c,{h:"full",w:"full",children:[Object(o.jsx)(a,{title:c||n,subtitle:i}),Object(o.jsx)(r.f,{h:"full",w:"full",px:[0,5],py:[4,4],pb:[0,4],children:Object(o.jsxs)(r.h,{direction:"column",w:"full",h:"full",align:"flex-start",children:[Object(o.jsx)(r.l,{as:"h2",w:"full",size:"lg",color:"dark",children:n}),i&&Object(o.jsx)(r.o,{w:"full",color:"darkGray",fontWeight:400,marginTop:1,children:i}),Object(o.jsx)(r.c,{flexGrow:"1",mt:10,width:"full",children:t})]})})]})}},266:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(117),i=function(){return r.a.get("/u/account")}},276:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(117),i=function(e){return r.a.post("/u/kakaoauth",e)},o=function(e){return r.a.post("/u/lineauth",e)},a=function(e){return r.a.post("/aut/login",e)}},279:function(e,t,n){"use strict";t.a=n.p+"static/media/kakao.fbbec309.svg"},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){}},343:function(e,t){},345:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),o=n(43),a=n(12),c=n(1),s=n(57);function u(e){return l.apply(this,arguments)}function l(){return(l=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="en"===e.t0?3:4;break;case 3:return e.abrupt("return",n.e(13).then(n.t.bind(null,567,3)));case 4:return e.abrupt("return",n.e(14).then(n.t.bind(null,568,3)));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{current:s.a.getLocale(),currentMsgs:{default:{}}},t=c.useState(e),n=Object(o.a)(t,2),r=n[0],l=r.current,d=r.currentMsgs,f=n[1],b=c.useCallback(function(){var e=Object(a.a)(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(t);case 2:n=e.sent,f({current:t,currentMsgs:n});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return{locale:l,messages:d,setLocale:b}}},346:function(e,t,n){"use strict";n.d(t,"a",(function(){return $}));var r=n(20),i=n(171),o=n(116),a=n(87),c=n(249),s=n(253),u=n(102),l=n(112),d=n(43),f=n(1),b=n.n(f),j=n(54),p=n(34),h=n(7),g=n.n(h),O=n(12),x=n(172),v=n(370),m=n(210),k=n(6),w=function(e){var t=e.onSuccess,n=Object(j.b)(),r=n.login,a=n.isLoggingIn,c=Object(s.a)().formatMessage,u=function(){var e=Object(O.a)(g.a.mark((function e(n){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.debug(n,r,t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(k.jsx)(o.i,{height:"full",p:3,w:"full",children:Object(k.jsx)(x.b,{onSubmit:u,render:function(e){var t=e.handleSubmit,n=e.submitting;return Object(k.jsx)("form",{onSubmit:t,children:Object(k.jsxs)(o.h,{direction:"column",justify:["space-between","flex-start"],children:[Object(k.jsxs)(o.p,{spacing:8,w:"full",pt:[10,20],children:[Object(k.jsx)(x.a,{name:"email",children:function(e){var t=e.input,n=e.meta;return Object(k.jsx)(m.b,{label:c({id:"login.form.label.email",description:"loginform input label email",defaultMessage:"\uc774\uba54\uc77c"}),input:t,meta:n,type:"text"})}}),Object(k.jsx)(x.a,{name:"password",children:function(e){var t=e.input,n=e.meta;return Object(k.jsx)(m.b,{label:c({id:"login.form.label.password",description:"loginform input label password",defaultMessage:"\uc554\ud638"}),input:t,meta:n,type:"text"})}})]}),Object(k.jsx)(o.h,{w:"100%",justify:"flex-end",py:6,px:8,children:Object(k.jsx)(i.a,{variant:"primary",h:"50px",color:"white",w:"230px",size:"xl",isLoading:n||a,flex:"1",children:Object(k.jsx)(v.a,{id:"login.form.button.previous",defaultMessage:"\ub85c\uadf8\uc778",description:"loginform login button"})})})]})})}})})},y=function(e){var t=e.onSuccess,n=Object(j.b)().isLoggingIn;return Object(p.a)(t),Object(k.jsx)(o.i,{h:"full",p:3,w:"full",children:Object(k.jsx)(o.p,{spacing:8,w:"full",pt:[10,20],children:Object(k.jsx)(i.a,{isLoading:n,children:"LINE\u3067\u30ed\u30b0\u30a4\u30f3"})})})},S=n(107),C=n(277),I=n(279),A=n(32),L=n(35),E=n(175),R=n(188),M=n(280),N=n(169),F=function(e){Object(E.a)(n,e);var t=Object(R.a)(n);function n(){var e;Object(A.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0?window.ChannelIO("showChannelButton"):window.ChannelIO("hideChannelButton")}))}},{key:"shutdown",value:function(){window.ChannelIO("shutdown")}}]),e}()),b=n(54),j=n(116),p=n(107),h=n(102),g=n(10);function O(e,t){return Object.create(Object(g.a)({},t,i.lazy((function(){return e().then((function(e){return{default:e[t]}}))}))))}var x=n(6),v=O((function(){return Promise.all([n.e(5),n.e(4)]).then(n.bind(null,612))}),"AppointmentRoutes").AppointmentRoutes,m=O((function(){return Promise.all([n.e(7),n.e(9)]).then(n.bind(null,615))}),"TreatmentPlanRoutes").TreatmentPlanRoutes,k=O((function(){return Promise.all([n.e(3),n.e(6)]).then(n.bind(null,613))}),"OrderRoutes").OrderRoutes,w=O((function(){return n.e(10).then(n.bind(null,616))}),"UserRoutes").UserRoutes,y=O((function(){return n.e(11).then(n.bind(null,618))}),"HomeRoute").HomeRoute,S=function(){return Object(x.jsx)(h.b,{children:Object(x.jsx)(i.Suspense,{fallback:Object(x.jsx)(j.h,{h:"full",w:"full",justify:"center",align:"center",children:Object(x.jsx)(p.a,{thickness:"4px",speed:"0.65s",size:"xl"})}),children:Object(x.jsx)(s.b,{})})})},C=[{path:"/",element:Object(x.jsx)(S,{}),children:[{index:!0,element:Object(x.jsx)(M,{children:Object(x.jsx)(y,{})})},{path:"/appointments/*",element:Object(x.jsx)(M,{children:Object(x.jsx)(v,{})})},{path:"/treatmentplans/*",element:Object(x.jsx)(M,{children:Object(x.jsx)(m,{})})},{path:"/user/*",element:Object(x.jsx)(M,{children:Object(x.jsx)(w,{})})},{path:"/orders/*",element:Object(x.jsx)(M,{children:Object(x.jsx)(k,{})})},{path:"*",element:Object(x.jsx)(s.a,{to:"."})}]}],I=O((function(){return Promise.resolve().then(n.bind(null,100))}),"AuthRoutes").AuthRoutes,A=O((function(){return n.e(8).then(n.bind(null,617))}),"MiscRoutes"),L=A.MiscRoutes,E=A.MiscSocialRoutes,R=[{path:"/social/*",element:Object(x.jsx)(E,{})},{path:"/landing/*",element:Object(x.jsx)(L,{})},{path:"/auth/*",element:Object(x.jsx)(I,{})},{path:"*",element:Object(x.jsx)(s.a,{to:"/auth/login"})}];function M(e){var t,n,r,i,o,a,c=e.children,u=Object(b.b)(),l=Object(s.g)(),j={pluginKey:"".concat("9446d31b-74f3-4097-bfb1-eda6bda16d55"),hideChannelButtonOnBoot:!1,language:"ko"};if(f.boot(j),!u.user)return Object(x.jsx)(s.a,{to:"/auth/login",state:{from:l},replace:!0});if("KR"===(null===(t=u.user)||void 0===t?void 0:t.country)&&(null===(n=u.user)||void 0===n?void 0:n.id)){var p,h,g={pluginKey:"".concat("9446d31b-74f3-4097-bfb1-eda6bda16d55"),memberId:"".concat(u.user.id),hideChannelButtonOnBoot:!0,language:"ko",profile:{name:"".concat(u.user.name," ").concat((null===(p=u.user)||void 0===p||null===(h=p.phone_number)||void 0===h?void 0:h.length)>4&&u.user.phone_number.slice(-4)),mobileNumber:"".concat(u.user.phone_number)}};f.boot(g)}return"KR"===(null===(r=u.user)||void 0===r?void 0:r.country)&&!1===(null===(i=u.user)||void 0===i?void 0:i.kakao_status)?(Object(d.a)("location",l),Object(x.jsx)(s.a,{to:"/social/kakao/addchannel",state:{from:l}})):"TH"===(null===(o=u.user)||void 0===o?void 0:o.country)&&!1===(null===(a=u.user)||void 0===a?void 0:a.line_status)?Object(x.jsx)(s.a,{to:"/social/line/addchannel",state:{from:l}}):c}var N=function(){var e=Object(s.k)([].concat(Object(c.a)(R),Object(c.a)(C)));return Object(x.jsx)(x.Fragment,{children:e})},F=(n(553),n(554),n(555),n(556),n(171)),T=n(42),D=n(582),z=n(583),B=n(363),P=n(198),K=n(565),_=n(73),J=n(361),V=n(80),W=n(140),Q=n(89),H=n(344),U=n(191),G=n(101),Y=Object(G.a)(H.a),q=function(e){var t=e.notification,n=t.id,r=t.type,o=t.title,a=t.message,c=t.timeout,s=e.onDismiss;return Object(i.useEffect)((function(){var e=setTimeout((function(){s(n)}),c||2500);return function(){return clearTimeout(e)}}),[]),Object(x.jsxs)(Y,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},status:r,paddingLeft:18,paddingRight:[10,50],borderRadius:4,children:[Object(x.jsx)(H.c,{}),Object(x.jsx)(H.d,{mr:3,children:o}),Object(x.jsx)(H.b,{children:a}),Object(x.jsx)(U.a,{onClick:function(){s(n)},position:"absolute",right:"8px",top:"8px"})]})},Z=function(){var e=Object(Q.a)(),t=e.notifications,n=e.dismissNotification;return Object(x.jsx)(j.d,{w:"full",position:"absolute",children:Object(x.jsx)(j.p,{width:"100%",spacing:3,zIndex:"10",marginTop:15,mx:3,children:Object(x.jsx)(W.a,{children:t.map((function(e){return Object(x.jsx)(q,{notification:e,onDismiss:n},e.id)}))})})})},X=n(33),$=n(5),ee=n(362),te=Object(X.a)({},ee.a),ne=Object(T.b)({textStyles:{p:{color:"#3E3E3E"}},colors:{brand:{50:"#defffd",100:"#b3fff7",200:"#86fef2",300:"#5afeed",400:"#3dfee8",500:"#31e5ce",600:"#21b2a0",700:"#137f73",800:"#004d46",900:"#001b17",primary:"#005750"},dark:"#3E3E3E",darkGray:"#9F9F9F",teal:"#285E61"},fonts:{heading:"Noto Sans Kr",body:"Noto Sans KR"},components:{Steps:te,Text:{color:"#3E3E3E",fontSize:"14px",fontFamily:"Noto Sans KR"},Button:{variants:{primary:function(e){return{color:Object($.j)("white","gray.800")(e),backgroundColor:Object($.j)("brand.primary","brand.200")(e),_hover:{backgroundColor:Object($.j)("brand.600","brand.300")(e)},_active:{backgroundColor:Object($.j)("brand.700","brand.400")(e)},_disabled:{backgroundColor:Object($.j)("brand.700","brand.400")(e)}}},outline:function(e){return{color:Object($.j)("brand.primary","brand.700")(e),backgroundColor:"transparent",borderColor:"brand.primary",_disabled:{backgroundColor:"#EFEFEF",borderColor:"#C4C4C4"}}}}}}}),re=n(345),ie=n(251),oe=function(){return Object(x.jsxs)("div",{className:"text-red-500 w-screen h-screen flex flex-col justify-center items-center",role:"alert",children:[Object(x.jsx)("h2",{className:"text-lg font-semibold",children:"Ooops, something went wrong :( "}),Object(x.jsx)(F.a,{className:"mt-4",onClick:function(){return window.location.assign(window.location.origin)},children:"Refresh"})]})},ae=function(e){var t=e.children,n=Object(re.a)(),r=n.locale,o=n.messages;return D.a({dsn:"https://bfe81bf9fd9e4cc28adfa3f80fc7cbc9@o1125277.ingest.sentry.io/6164622",environment:"".concat("production"),integrations:[new B.a.BrowserTracing({tracingOrigins:["localhost:3003","dev1my.beforedent.com","my.beforedent.com",/^\//]})],tracesSampleRate:parseFloat("0.3")}),Object(x.jsx)(T.a,{theme:ne,children:Object(x.jsx)(i.Suspense,{fallback:Object(x.jsx)("div",{className:"flex items-center justify-center w-screen h-screen",children:Object(x.jsx)(p.a,{size:"xl"})}),children:Object(x.jsx)(K.a,{locale:r,defaultLocale:"ko",messages:null===o||void 0===o?void 0:o.default,children:Object(x.jsx)(z.a,{fallback:oe,showDialog:!0,children:Object(x.jsx)(P.b,{children:Object(x.jsxs)(_.QueryClientProvider,{client:ie.a,children:[Object(x.jsx)(J.ReactQueryDevtools,{}),Object(x.jsx)(Z,{}),Object(x.jsx)(b.a,{children:Object(x.jsx)(V.a,{children:t})})]})})})})})})};var ce=function(){return Object(x.jsx)(ae,{children:Object(x.jsx)(N,{})})},se=function(e){e&&e instanceof Function&&n.e(12).then(n.bind(null,614)).then((function(t){var n=t.getCLS,r=t.getFID,i=t.getFCP,o=t.getLCP,a=t.getTTFB;n(e),r(e),i(e),o(e),a(e)}))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));a.a.render(Object(x.jsxs)(i.StrictMode,{children:[Object(x.jsx)(r.b,{}),Object(x.jsx)(ce,{})]}),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)})),se()},57:function(e,t,n){"use strict";var r="my_beforedent_",i={getToken:function(){return JSON.parse(window.localStorage.getItem("".concat(r,"token")))},setToken:function(e){window.localStorage.setItem("".concat(r,"token"),JSON.stringify(e))},clearToken:function(){var e;window.localStorage.removeItem("".concat(r,"token")),null===(e=window.Kakao)||void 0===e||e.Auth.logout((function(){}))},setCountry:function(e){window.localStorage.setItem("".concat(r,"country"),JSON.stringify(e))},getCountry:function(){return JSON.parse(window.localStorage.getItem("".concat(r,"country")))},setLocale:function(e){window.localStorage.setItem("".concat(r,"locale"),JSON.stringify(e))},getLocale:function(){return JSON.parse(window.localStorage.getItem("".concat(r,"locale")))},setLineNonce:function(e){window.localStorage.setItem("".concat(r,"linenonce"),JSON.stringify(e))},getLineNonce:function(){return JSON.parse(window.localStorage.getItem("".concat(r,"linenonce")))},getViewerHelpDialog:function(){return JSON.parse(window.localStorage.getItem("".concat(r,"viewerHelpDialog")))},setViewerHelpDialog:function(){window.localStorage.setItem("".concat(r,"viewerHelpDialog"),JSON.stringify("no"))}};t.a=i},89:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(33),i=n(76),o=n(128),a=n(275),c=n.n(a)()((function(e){return{notifications:[],addNotification:function(t){return e((function(e){return{notifications:[].concat(Object(i.a)(e.notifications),[Object(r.a)({id:Object(o.b)()},t)])}}))},dismissNotification:function(t){return e((function(e){return{notifications:e.notifications.filter((function(e){return e.id!==t}))}}))}}}))}},[[557,1,2]]]); //# sourceMappingURL=main.05331152.chunk.js.map