"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8709],{62883:function(e,t,n){n.d(t,{C:function(){return Close}});var r=n(67294);let Close=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),r.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"}))},81091:function(e,t,n){n.d(t,{A:function(){return AuthorBadge},B:function(){return BtnChoice},D:function(){return Divider},a:function(){return BookingBtn}});var r=n(67294),o=n(74024),l=n(57264),i=n(39238),a=n(74706),c=n(28726),s=n(23318),d=n(37658),u=n(40650),p=n(86623);let Divider=({type:e="solid",className:t,style:n})=>r.createElement(o.t,{style:n,className:t,"data-diver-type":e,dividerType:e}),f={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},looselyMatchRole=e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find(t=>t===e),AuthorBadge=e=>{var{siteType:t,role:n,title:a,styles:c,className:s}=e,d=(0,l._)(e,["siteType","role","title","styles","className"]);let{t:u}=(0,i.u)(),p=n?looselyMatchRole(n):"",{classes:C,cx:v}=(0,o.v)(void 0,{name:"AuthorBadge",styles:c});return p&&f[p]?r.createElement("div",Object.assign({className:v(C.root,s),"data-label-type":p,"data-is-marrybaby":"marryBaby"===t},d),a||u(f[p])):null},BtnChoice=({value:e,choices:t,onChange:n})=>{let[l,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{i(e)},[e]),r.createElement(o.w,null,t.map((e,t)=>r.createElement(a.B,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===l?"primary":"tertiary",key:t,onClick:()=>{i(e.value),null==n||n(e.value)}},e.label||"")))},BookingBtn=e=>{var{label:t,bookingId:n,bookingType:o="doctor",locale:f="vi-VN"}=e,C=(0,l._)(e,["label","bookingId","bookingType","locale"]);let{t:v}=(0,i.u)(),[h,y]=(0,r.useState)(!1),g=(0,r.useMemo)(()=>"undefined"!=typeof window?window.location.href:"",[]),m=(0,r.useCallback)(()=>(0,l.a)(void 0,void 0,void 0,function*(){var e,t,r,l,i,a,C,v,h,g,m,b,O,_,E;let w="doctor"===o?c.P.GET_DOCTOR_DETAIL:"hospital"===o?c.P.GET_HOSPITAL_DETAIL:"service"===o?c.P.GET_SERVICE_DETAIL:"";try{y(!0);let c=yield(0,u.i)((0,u.j)(w,{id:n,site:d.d[f]}),"get");if((null==c?void 0:c._status)===1){let n="doctor"===o?{id:null===(t=null===(e=null==c?void 0:c._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(l=null===(r=null==c?void 0:c._data)||void 0===r?void 0:r.doctor)||void 0===l?void 0:l.slug,localSlug:null===(i=s.a[f])||void 0===i?void 0:i.DOCTOR}:"hospital"===o?{id:null===(C=null===(a=null==c?void 0:c._data)||void 0===a?void 0:a.branch)||void 0===C?void 0:C.id,slug:null===(h=null===(v=null==c?void 0:c._data)||void 0===v?void 0:v.branch)||void 0===h?void 0:h.slug,localSlug:null===(g=s.a[f])||void 0===g?void 0:g.HOSPITAL}:{id:null===(b=null===(m=null==c?void 0:c._data)||void 0===m?void 0:m.service)||void 0===b?void 0:b.id,slug:null===(_=null===(O=null==c?void 0:c._data)||void 0===O?void 0:O.service)||void 0===_?void 0:_.slug,localSlug:null===(E=s.a[f])||void 0===E?void 0:E.SERVICE};window.location.href=`https://${p.i?"":"discover."}${d.d[f]}/care/${n.localSlug}/${n.slug}-${n.id}/`}else y(!1)}catch(e){console.log(e),y(!1)}}),[]);return n&&o?r.createElement(a.B,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:g,onClick:m,loading:h},C),t||v("careBooking.bookAnAppointment")):null}},23703:function(e,t,n){n.d(t,{a:function(){return abbreviateNumber}});let abbreviateNumber=e=>{let t=String(e);if(e>=1e3){let n;let r=["","k","m","b","t"],o=(""+e).length,l=Math.floor(o/3),i=6===o;if(i)n=Math.round(e/1e3);else for(let t=2;t>=1;t--){n=parseFloat((0!=l?e/Math.pow(1e3,l):e).toPrecision(t));let r=(n+"").replace(/[^a-zA-Z 0-9]+/g,"");if(r.length<=2)break}n&&n%1!=0?n=n.toFixed(1):i&&n&&n/1e3>=1&&(l+=1,n/=1e3),t=n+(6===o?r[l-1]:r[l])}return t}},28726:function(e,t,n){n.d(t,{P:function(){return r}});let r={GET_CITIES_LIST:"api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}&client={client}",GET_CITY:"api/lists/cities?ids={ids}&site={domain}&longitude={longitude}&latitude={latitude}",GET_HOME_SEARCH:"api/search/?_home=1&city_id={city}&keyword={keyword}&site={domain}&latitude={lat}&longitude={lng}",GET_SEARCH_V2:"api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}&specialty_id={specialty_id}&client_slug={client_slug}&msd={msd}",GET_CITY_BY_IP:"api/geobyip?site={domain}&latitude={lat}&longitude={lng}&_nopaging={noPaging}&client={client}",GET_DOCTOR_DETAIL:"api/doctors/{id}?site={site}",GET_HOSPITAL_DETAIL:"api/hospital/branch/{id}?site={site}",GET_SERVICE_DETAIL:"api/hospital/service/{id}?site={site}",GET_SEARCH_SPECIALTY:"api/v2/specialties/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}&msd={msd}",GET_SEARCH_POPULAR_KEY:"api/search/keywords?site={domain}&sort_by={sort_by}&sort_order={sort_order}&type={searchType}"}},38358:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ,activeColor:l=o.SK,isActive:i,isMarryBaby:a}=e,c=__rest(e,["size","color","activeColor","isActive","isMarryBaby"]);return a?r.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none"},r.createElement("path",{fill:"#E55C8A",d:"M5.034 12.302c.902-3.924 3.842-6.972 7.588-7.869l.297-.071a13.14 13.14 0 0 1 6.125 0l.508.122c3.617.865 6.455 3.809 7.326 7.597l.119.516a13.3 13.3 0 0 1 0 5.94c-.904 3.93-4.252 6.699-8.101 6.699h-1.415c-.465 0-.886.3-1.062.75-.642 1.642-2.434 2.447-3.998 1.778l-.157-.067c-3.615-1.545-6.31-4.862-7.225-8.847a14.7 14.7 0 0 1-.005-6.548"}),r.createElement("path",{fill:"#fff",d:"M14.914 15.351q.45-.637 1.331-1.444.788-.73 1.182-1.275.393-.563.394-1.256 0-.939-.563-1.444-.562-.526-1.594-.526-1.435 0-2.069 1.23c-.226.441-.72.727-1.186.562-.384-.136-.626-.534-.478-.913a3.33 3.33 0 0 1 1.126-1.46Q14.145 8 15.72 8q1.088 0 1.97.413.881.393 1.387 1.162.507.77.506 1.8 0 .789-.28 1.388-.264.6-.657 1.013-.376.412-.994.919-.807.675-1.2 1.181c-.207.269-.3.57-.341.883-.06.441-.396.805-.84.805-.446 0-.821-.362-.793-.806.031-.495.13-.973.436-1.407m.3 5.982q-1.05 0-1.05-1.05v-.206q0-1.05 1.05-1.05h.188q1.05 0 1.05 1.05v.206q0 1.05-1.05 1.05z"})):r.createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),i?r.createElement("path",{d:"M2 11c0-4.96 4.484-9 10-9s10 4.04 10 9c0 .32-.02.64-.059.953-.593 5.524-6.27 9.426-7.402 10.152L14 22.45c-.878.484-.97-.235-.993-.411-.003-.025-.005-.039-.007-.038v-2.047C7.04 20.508 2 16.258 2 11zm10.5 5c.277 0 .5-.223.5-.5v-1c0-.277-.223-.5-.5-.5h-1c-.277 0-.5.223-.5.5v1c0 .277.223.5.5.5h1zM11 13h2c0-.447.412-1.02.863-1.645C14.404 10.603 15 9.776 15 9c0-1.477-1.121-3-3-3-2.047 0-3 1.79-3 3 0 .55.45 1 1 1s1-.45 1-1c0-.164.176-1 1-1 .988 0 1 .988 1 1 0 .537-.52 1.312-1.029 2.072-.49.732-.971 1.45-.971 1.928z",fill:l}):r.createElement(r.Fragment,null,r.createElement("path",{fill:n,d:"M12.5 16c.277 0 .5-.223.5-.5v-1c0-.277-.223-.5-.5-.5h-1c-.277 0-.5.223-.5.5v1c0 .277.223.5.5.5h1zM11 13h2c0-.447.412-1.02.863-1.645C14.404 10.603 15 9.776 15 9c0-1.477-1.121-3-3-3-2.047 0-3 1.79-3 3 0 .55.45 1 1 1s1-.45 1-1c0-.164.176-1 1-1 .988 0 1 .988 1 1 0 .537-.52 1.312-1.029 2.072-.49.732-.971 1.45-.971 1.928z"}),r.createElement("path",{fill:n,fillRule:"evenodd",d:"M2 11c0-5.027 4.547-9 10-9s10 3.973 10 9c0 .324-.02.637-.059.945-.554 5.172-5.238 8.774-7.398 10.16L13 23.095v-3.196c-.12.012-.239.028-.356.044-.211.03-.421.058-.644.058-5.453 0-10-3.973-10-9zm18 0c0-3.809-3.508-7-8-7s-8 3.191-8 7 3.508 7 8 7c.617 0 1.219-.066 1.8-.188l1.2-.238v1.508c2.047-1.637 4.61-4.152 4.953-7.352l.004-.003v-.004c.027-.243.043-.48.043-.723z",clipRule:"evenodd"})))}},31740:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ,activeColor:l=o.SK,isActive:i,isMarryBaby:a}=e,c=__rest(e,["size","color","activeColor","isActive","isMarryBaby"]);return a?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},c),r.createElement("path",{d:"M8.69628 9.05793H14.7279M8.69628 12.5141H12.5346M13.1107 18.9268H14.1721C17.0589 18.9268 19.5701 16.8499 20.2476 13.9021C20.5841 12.4382 20.5841 10.9113 20.2476 9.44741L20.1588 9.06088C19.5057 6.21958 17.377 4.01204 14.6641 3.36264L14.283 3.27141C12.7712 2.90953 11.2013 2.90953 9.68953 3.27141L9.46648 3.32481C6.65677 3.99738 4.45212 6.28371 3.77571 9.22642C3.40585 10.8355 3.40923 12.5287 3.77909 14.1378C4.46607 17.1265 6.48688 19.6138 9.19777 20.7728L9.31593 20.8233C10.489 21.3249 11.8329 20.7208 12.3142 19.4902C12.4467 19.1515 12.7622 18.9268 13.1107 18.9268Z",stroke:i?l:n,strokeWidth:"1.3",strokeLinecap:"round"})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none"},c),r.createElement("path",{d:"M6.75 8.25C6.75 8.66421 6.41421 9 6 9C5.58579 9 5.25 8.66421 5.25 8.25C5.25 7.83579 5.58579 7.5 6 7.5C6.41421 7.5 6.75 7.83579 6.75 8.25Z",fill:i?l:n}),r.createElement("path",{d:"M9 9C9.41421 9 9.75 8.66421 9.75 8.25C9.75 7.83579 9.41421 7.5 9 7.5C8.58579 7.5 8.25 7.83579 8.25 8.25C8.25 8.66421 8.58579 9 9 9Z",fill:i?l:n}),r.createElement("path",{d:"M12 9C12.4142 9 12.75 8.66421 12.75 8.25C12.75 7.83579 12.4142 7.5 12 7.5C11.5858 7.5 11.25 7.83579 11.25 8.25C11.25 8.66421 11.5858 9 12 9Z",fill:i?l:n}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.5C4.91146 1.5 1.5 4.48052 1.5 8.25C1.5 12.0195 4.91146 15 9 15C9.16853 15 9.32853 14.978 9.48871 14.956C9.57523 14.9442 9.66195 14.9323 9.75 14.9238V16.6343C9.75 16.9308 10.0779 17.1101 10.3274 16.95L10.9058 16.5791C12.5274 15.5383 16.0388 12.8366 16.4575 8.95898C16.4841 8.72831 16.5 8.49206 16.5 8.25C16.5 4.48052 13.0885 1.5 9 1.5ZM9 3C12.368 3 15 5.39248 15 8.25C15 8.43045 14.9888 8.61047 14.9678 8.79199V8.79492L14.9663 8.79785C14.7071 11.1983 12.7856 13.0836 11.25 14.313V14.0953C11.25 13.6218 10.8162 13.2669 10.3521 13.3608C9.91281 13.4495 9.46149 13.5 9 13.5C5.63204 13.5 3 11.1075 3 8.25C3 5.39248 5.63204 3 9 3Z",fill:i?l:n}))}},89871:function(e,t,n){var r=n(67294),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=15}=e,n=__rest(e,["size"]);return r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 15 15",fill:"none"},n),r.createElement("path",{d:"M7.43701 14C11.0614 14 13.9995 11.0619 13.9995 7.4375C13.9995 3.81313 11.0614 0.875 7.43701 0.875C3.81264 0.875 0.874512 3.81313 0.874512 7.4375C0.874512 11.0619 3.81264 14 7.43701 14Z",fill:"white",stroke:"#E4E8EC",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M8.53125 6.34375V4.15625H6.34375V6.34375H4.15625V8.53125H6.34375V10.7188H8.53125V8.53125H10.7188V6.34375H8.53125Z",fill:"#FF5331"}))}},10674:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SK,isSolid:l}=e,i=__rest(e,["size","color","isSolid"]);return l?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none"},i),r.createElement("path",{d:"m6.308 15.887-1.037-1.744-1.961-.421a.62.62 0 0 1-.404-.265.658.658 0 0 1-.12-.47l.192-2.017-1.334-1.526A.626.626 0 0 1 1.47 9c0-.173.057-.321.173-.444L2.978 7.03l-.192-2.018a.659.659 0 0 1 .12-.469.62.62 0 0 1 .404-.265l1.961-.421 1.037-1.744a.686.686 0 0 1 .37-.303.632.632 0 0 1 .474.024L9 2.616l1.849-.782a.632.632 0 0 1 .475-.024.686.686 0 0 1 .369.303l1.037 1.744 1.961.42a.62.62 0 0 1 .403.266c.1.144.141.3.12.469l-.191 2.018 1.334 1.526a.626.626 0 0 1 .173.444.626.626 0 0 1-.173.444l-1.334 1.526.192 2.018a.658.658 0 0 1-.12.469.62.62 0 0 1-.404.265l-1.961.421-1.037 1.744a.686.686 0 0 1-.37.303.632.632 0 0 1-.474-.025l-1.849-.781-1.85.781a.632.632 0 0 1-.474.025.686.686 0 0 1-.369-.303Zm1.905-6.088L6.996 8.593a.537.537 0 0 0-.386-.16.542.542 0 0 0-.404.172.538.538 0 0 0-.163.395c0 .155.054.286.163.395l1.533 1.533a.65.65 0 0 0 .474.204.65.65 0 0 0 .475-.204l3.108-3.108a.529.529 0 0 0 .165-.392.577.577 0 0 0-.165-.398.573.573 0 0 0-.4-.18.531.531 0 0 0-.402.168l-2.78 2.78Z",fill:n})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none"},i),r.createElement("path",{d:"m6.308 15.887-1.037-1.744-1.961-.421a.62.62 0 0 1-.404-.265.658.658 0 0 1-.12-.47l.192-2.017-1.334-1.526A.626.626 0 0 1 1.47 9c0-.173.057-.321.173-.444L2.978 7.03l-.192-2.018a.659.659 0 0 1 .12-.469.62.62 0 0 1 .404-.265l1.961-.421 1.037-1.744a.686.686 0 0 1 .37-.303.632.632 0 0 1 .474.024L9 2.616l1.849-.782a.632.632 0 0 1 .475-.024.686.686 0 0 1 .369.303l1.037 1.744 1.961.42a.62.62 0 0 1 .403.266c.1.144.141.3.12.469l-.191 2.018 1.334 1.526a.626.626 0 0 1 .173.444.626.626 0 0 1-.173.444l-1.334 1.526.192 2.018a.658.658 0 0 1-.12.469.62.62 0 0 1-.404.265l-1.961.421-1.037 1.744a.686.686 0 0 1-.37.303.632.632 0 0 1-.474-.025l-1.849-.781-1.85.781a.632.632 0 0 1-.474.025.686.686 0 0 1-.369-.303Zm.78-.925 1.913-.81 1.936.81 1.064-1.8 2.062-.473-.187-2.114L15.263 9l-1.387-1.598.187-2.115-2.062-.45-1.088-1.8-1.912.81-1.936-.81-1.064 1.8-2.063.45.188 2.115L2.738 9l1.388 1.575-.188 2.137 2.063.45 1.087 1.8ZM8.213 9.8 6.996 8.593a.537.537 0 0 0-.386-.16.542.542 0 0 0-.404.172.538.538 0 0 0-.163.395c0 .155.054.286.163.395l1.533 1.533a.65.65 0 0 0 .474.204.65.65 0 0 0 .475-.204l3.108-3.108a.529.529 0 0 0 .165-.392.577.577 0 0 0-.165-.398.573.573 0 0 0-.4-.18.531.531 0 0 0-.402.168l-2.78 2.78Z",fill:n}))}},99517:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ,isExpand:l,useCurrentColor:i,isActive:a,activeColor:c=o.SK}=e,s=__rest(e,["size","color","isExpand","useCurrentColor","isActive","activeColor"]);let d=i?"currentColor":a?c:n,u=Object.assign({width:t,height:t},s);return l?r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none"},u),r.createElement("path",{d:"M15.1801 4C14.6212 4 14.3418 4.67561 14.7373 5.07108L16.0864 6.42229L6.42229 16.0864L5.07108 14.7373C4.67561 14.3418 4 14.6212 4 15.1801V19.3718C4 19.7187 4.28026 20 4.62617 20H8.81987C9.37881 20 9.6582 19.3244 9.26272 18.9289L7.91357 17.5777L17.5777 7.91357L18.9289 9.26272C19.3244 9.6582 20 9.37881 20 8.81987V4.62617C20 4.28026 19.7187 4 19.3718 4H15.1801Z",fill:d})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 14 14",fill:d},s),r.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))}},88547:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ,activeColor:l=o.SK,isActive:i,isSolid:a,isMarryBaby:c}=e,s=__rest(e,["size","color","activeColor","isActive","isSolid","isMarryBaby"]);let d=i?l:n,u=r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:d},s),r.createElement("path",{d:"M19.8757 5.41452C19.4289 4.96607 18.8984 4.61034 18.3145 4.36763C17.7307 4.12492 17.1048 4 16.4728 4C15.8408 4 15.215 4.12492 14.6311 4.36763C14.0472 4.61034 13.5167 4.96607 13.0699 5.41452L12.1426 6.34476L11.2154 5.41452C10.3128 4.50912 9.08878 4.00047 7.81244 4.00047C6.5361 4.00047 5.31204 4.50912 4.40953 5.41452C3.50702 6.31992 3 7.5479 3 8.82833C3 10.1088 3.50702 11.3367 4.40953 12.2421L5.3368 13.1724L12.1426 20L18.9484 13.1724L19.8757 12.2421C20.3227 11.7939 20.6773 11.2617 20.9193 10.676C21.1612 10.0902 21.2857 9.46237 21.2857 8.82833C21.2857 8.19428 21.1612 7.56645 20.9193 6.9807C20.6773 6.39494 20.3227 5.86275 19.8757 5.41452V5.41452Z",stroke:d,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),p=r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},s),r.createElement("path",{d:"M19.8757 5.41452C19.4289 4.96607 18.8984 4.61034 18.3145 4.36763C17.7307 4.12492 17.1048 4 16.4728 4C15.8408 4 15.215 4.12492 14.6311 4.36763C14.0472 4.61034 13.5167 4.96607 13.0699 5.41452L12.1426 6.34476L11.2154 5.41452C10.3128 4.50912 9.08878 4.00047 7.81244 4.00047C6.5361 4.00047 5.31204 4.50912 4.40953 5.41452C3.50702 6.31992 3 7.5479 3 8.82833C3 10.1088 3.50702 11.3367 4.40953 12.2421L5.3368 13.1724L12.1426 20L18.9484 13.1724L19.8757 12.2421C20.3227 11.7939 20.6773 11.2617 20.9193 10.676C21.1612 10.0902 21.2857 9.46237 21.2857 8.82833C21.2857 8.19428 21.1612 7.56645 20.9193 6.9807C20.6773 6.39494 20.3227 5.86275 19.8757 5.41452V5.41452Z",stroke:d,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),f=r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},s),r.createElement("path",{d:"M3.98389 11.6106L9.11798 18.5107C10.5955 20.4964 13.4045 20.4964 14.882 18.5107L20.0161 11.6106C21.328 9.84746 21.328 7.34218 20.0161 5.57906C18.0957 2.9981 13.6571 3.76465 12 6.54855C10.3429 3.76465 5.90428 2.9981 3.9839 5.57906C2.67204 7.34218 2.67203 9.84746 3.98389 11.6106Z",stroke:d,strokeWidth:"1.3",strokeLinecap:"round"})),C=r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},s),r.createElement("path",{d:"M15.4709 4.0535C14.1978 4.22856 12.9226 4.8312 12 5.80891C11.0774 4.8312 9.8022 4.22856 8.52915 4.0535C6.91335 3.83131 5.1499 4.28425 4.05884 5.73088C2.64706 7.60276 2.64705 10.254 4.05884 12.1258L8.75286 18.3496C10.4125 20.5501 13.5875 20.5501 15.2471 18.3496L19.9412 12.1258C21.3529 10.254 21.3529 7.60276 19.9412 5.73088C18.8501 4.28425 17.0867 3.83131 15.4709 4.0535Z",fill:d}));return c?a?C:f:a?u:p}},31040:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ,useCurrentColor:l,isSolid:i,isActive:a,activeColor:c=o.SK}=e,s=__rest(e,["size","color","useCurrentColor","isSolid","isActive","activeColor"]);let d=l?"currentColor":a?c:n;return i?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},s),r.createElement("g",null,r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 17C11.45 17 11 16.55 11 16V12C11 11.45 11.45 11 12 11C12.55 11 13 11.45 13 12V16C13 16.55 12.55 17 12 17ZM11 9H13V7H11V9Z",fill:d}))):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},s),r.createElement("g",null,r.createElement("path",{d:"M12 2C6.489 2 2 6.489 2 12C2 17.511 6.489 22 12 22C17.511 22 22 17.511 22 12C22 6.489 17.511 2 12 2ZM12 4C16.4301 4 20 7.56988 20 12C20 16.4301 16.4301 20 12 20C7.56988 20 4 16.4301 4 12C4 7.56988 7.56988 4 12 4ZM11 7V9H13V7H11ZM12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12C13 11.4477 12.5523 11 12 11Z",fill:d})))}},53248:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{color:t=o.SQ,activeColor:n=o.SK,isActive:l,size:i=24}=e,a=__rest(e,["color","activeColor","isActive","size"]);return r.createElement("svg",Object.assign({width:i,height:i,viewBox:"0 0 16 16",fill:"none"},a),r.createElement("path",{d:"M6.66667 5.99998V3.33331L2 7.99998L6.66667 12.6666V9.93331C10 9.93331 12.3333 11 14 13.3333C13.3333 9.99998 11.3333 6.66665 6.66667 5.99998Z",fill:l?n:t}))}},25876:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ}=e,l=__rest(e,["size","color"]);return r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none"},l),r.createElement("path",{d:"M7.29998 8.71005L6.24868 7.64851C6.14527 7.54509 6.02647 7.49338 5.89228 7.49338C5.75811 7.49338 5.63931 7.54509 5.53588 7.64851C5.43247 7.75192 5.38012 7.87179 5.37883 8.00811C5.37756 8.14444 5.42649 8.26217 5.52563 8.36131L6.8782 9.71386C6.99871 9.83437 7.13931 9.89463 7.29998 9.89463C7.46066 9.89463 7.60126 9.83437 7.72177 9.71386L10.4846 6.95105C10.588 6.84764 10.6397 6.72884 10.6397 6.59465C10.6397 6.46047 10.588 6.34167 10.4846 6.23825C10.3812 6.13484 10.2613 6.0842 10.125 6.08633C9.98866 6.08846 9.87093 6.1391 9.77178 6.23825L7.29998 8.71005ZM7.99998 14.2703H7.84293C7.79379 14.2703 7.74913 14.2592 7.70897 14.2369C6.34743 13.7857 5.22222 12.9235 4.33333 11.6504C3.44444 10.3773 3 8.96046 3 7.39978V4.39723C3 4.1451 3.07308 3.91754 3.21923 3.71455C3.36539 3.51155 3.55342 3.36432 3.78333 3.27288L7.5782 1.85621C7.72093 1.80494 7.86153 1.7793 7.99998 1.7793C8.13844 1.7793 8.27903 1.80494 8.42177 1.85621L12.2166 3.27288C12.4465 3.36432 12.6346 3.51155 12.7807 3.71455C12.9269 3.91754 13 4.1451 13 4.39723V7.39978C13 8.96046 12.5555 10.3773 11.6666 11.6504C10.7777 12.9235 9.65253 13.7857 8.291 14.2369C8.23972 14.2592 8.14272 14.2703 7.99998 14.2703Z",fill:n}))}},4698:function(e,t,n){var r=n(67294),o=n(36834),__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};t.Z=e=>{var{size:t=24,color:n=o.SQ}=e,l=__rest(e,["size","color"]);return r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},l),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99935 5.99967L10.666 5.33301H13.3327L13.9993 5.99967H16.666C17.066 5.99967 17.3327 6.26634 17.3327 6.66634C17.3327 7.06634 17.066 7.33301 16.666 7.33301H15.3327H8.66602H7.33268C6.93268 7.33301 6.66602 7.06634 6.66602 6.66634C6.66602 6.26634 6.93268 5.99967 7.33268 5.99967H9.99935ZM7.33268 17.333V8.66634H16.666V17.333C16.666 18.0663 16.066 18.6663 15.3327 18.6663H8.66602C7.93268 18.6663 7.33268 18.0663 7.33268 17.333ZM10.666 10.6663C10.666 10.2663 10.3993 9.99967 9.99935 9.99967C9.59935 9.99967 9.33268 10.2663 9.33268 10.6663V16.6663C9.33268 17.0663 9.59935 17.333 9.99935 17.333C10.3993 17.333 10.666 17.0663 10.666 16.6663V10.6663ZM14.666 10.6663C14.666 10.2663 14.3993 9.99967 13.9993 9.99967C13.5993 9.99967 13.3327 10.2663 13.3327 10.6663V16.6663C13.3327 17.0663 13.5993 17.333 13.9993 17.333C14.3993 17.333 14.666 17.0663 14.666 16.6663V10.6663Z",fill:n}))}},61512:function(e,t,n){var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n(67294)),p=d(n(64063)),f=c(n(45697));function normalizeHtml(e){return e&&e.replace(/ |\u202F|\u00A0/g," ").replace(/
/g,"
")}var C=function(e){function ContentEditable(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastHtml=t.props.html,t.el="function"==typeof t.props.innerRef?{current:null}:u.createRef(),t.getEl=function(){return(t.props.innerRef&&"function"!=typeof t.props.innerRef?t.props.innerRef:t.el).current},t.emitChange=function(e){var n=t.getEl();if(n){var r=n.innerHTML;if(t.props.onChange&&r!==t.lastHtml){var o=Object.assign({},e,{target:{value:r}});t.props.onChange(o)}t.lastHtml=r}},t}return o(ContentEditable,e),ContentEditable.prototype.render=function(){var e=this,t=this.props,n=t.tagName,r=t.html,o=t.innerRef,i=s(t,["tagName","html","innerRef"]);return u.createElement(n||"div",l(l({},i),{ref:"function"==typeof o?function(t){o(t),e.el.current=t}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:r}}),this.props.children)},ContentEditable.prototype.shouldComponentUpdate=function(e){var t=this.props,n=this.getEl();return!n||normalizeHtml(e.html)!==normalizeHtml(n.innerHTML)||t.disabled!==e.disabled||t.tagName!==e.tagName||t.className!==e.className||t.innerRef!==e.innerRef||t.placeholder!==e.placeholder||!(0,p.default)(t.style,e.style)},ContentEditable.prototype.componentDidUpdate=function(){var e=this.getEl();e&&(this.props.html!==e.innerHTML&&(e.innerHTML=this.props.html),this.lastHtml=this.props.html,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))},ContentEditable.propTypes={html:f.string.isRequired,onChange:f.func,disabled:f.bool,tagName:f.string,className:f.string,style:f.object,innerRef:f.oneOfType([f.object,f.func])},ContentEditable}(u.Component);t.default=C}}]);