PageSourceSearch

https://sumica.ai/_next/static/chunks/pages/recruiter-b8dcef05420a12d4.js

js sumica.ai collected 2026-10-02 00:26:12 UTC 15,023 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{9913:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/recruiter",function(){return r(5520)}])},3427:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var s=r(9669),i=r.n(s),n=function(e){return i().post("https://sumica.zendesk.com/api/v2/requests.json",e)}},9842:function(e,t,r){"use strict";var s=r(5893),i=(r(7294),r(7586)),n=r(9633);t.Z=function(){return(0,s.jsx)("div",{className:"container py-5",children:(0,s.jsxs)("div",{className:"text-center d-block d-lg-flex justify-content-between align-items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{src:"/images/sumica-logo-only.svg",height:"33"}),(0,s.jsx)("span",{className:"ml-2 mr-md-4",children:"\xa9 2020 Sumica"}),(0,s.jsx)(i.Z,{source:"common-footer",className:"d-block d-md-inline-block mt-4 mt-md-0"})]}),(0,s.jsx)("div",{className:"mt-4 mt-lg-0",children:(0,s.jsx)(n.Z,{})})]})})}},8969:function(e,t,r){"use strict";var s=r(5893),i=r(7294),n=r(1248),a=r.n(n),d=r(6606),c=function(e){var t=e.path,r=e.width,n=e.height,c=e.borderRadius,o=e.forcePlay,l=e.gutter,m=(0,i.useRef)(null),x=(0,i.useState)(),u=x[0],h=x[1],f=(0,d.Z)(m).inViewPort;return(f||o)&&u&&u.play(),f||o||!u||u.pause(),(0,i.useEffect)((function(){var e=a().loadAnimation({container:m.current,renderer:"svg",loop:!0,autoplay:!1,path:t});h(e)}),[]),(0,s.jsx)("div",{className:"glass-wrapper",style:{width:r+l},children:(0,s.jsx)("div",{style:{width:r,height:n,borderRadius:c,overflow:"hidden"},ref:m})})};c.defaultProps={width:250,height:544,borderRadius:25,gutter:20},t.Z=c},6606:function(e,t,r){"use strict";var s=r(828),i=r(7294),n=i.useEffect,a=i.useState,d=i.useRef;t.Z=function(e,t){var r=(0,s.Z)(a(!1),2),i=r[0],c=r[1],o=d(i);return n((function(){var r=function(){var r=e.current;if(r){var s=function(e,t){var r=e.getBoundingClientRect();if(!t)return r.top>=0&&r.left>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&r.right<=(window.innerWidth||document.documentElement.clientWidth);var s=!0;return"top"===t&&(s=s&&r.top<=(window.innerHeight||document.documentElement.clientHeight)),s}(r,t);s!==o.current&&c(s)}};return window.addEventListener("scroll",r),function(){window.removeEventListener("scroll",r)}}),[]),{inViewPort:i}}},6490:function(e,t,r){"use strict";var s=r(7294);t.Z=function(){var e=(0,s.useState)(null),t=e[0],r=e[1],i=(0,s.useRef)(r);return(0,s.useEffect)((function(){i.current(window.innerWidth);var e=function(){i.current(window.innerWidth)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),t}},5520:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return E},default:function(){return S}});var s=r(5893),i=r(357),n=r.n(i),a=r(7294),d=r(6530),c=r(7586),o=r(6505),l=function(e){var t=(0,o.$G)().t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"jsx-cb264027d695112e header",children:(0,s.jsx)("div",{className:"jsx-cb264027d695112e container px-lg-0 text-center text-lg-left z-index-1",children:(0,s.jsxs)("div",{className:"jsx-cb264027d695112e row no-gutters",children:[(0,s.jsxs)("div",{className:"jsx-cb264027d695112e col-lg-5 mt-3 mw-475 mx-auto",children:[(0,s.jsx)("h1",{className:"jsx-cb264027d695112e hero-title",children:t("recruiter:hero_title")}),(0,s.jsx)("div",{className:"jsx-cb264027d695112e mt-3 mt-md-5 lh-2 font-weight-light",children:t("recruiter:hero_desc")}),(0,s.jsx)("div",{className:"jsx-cb264027d695112e row",children:(0,s.jsx)("div",{className:"jsx-cb264027d695112e mt-5 col-12 order-lg-1",children:(0,s.jsx)(c.Z,{source:"host-header"})})})]}),(0,s.jsx)("div",{className:"jsx-cb264027d695112e mt-5 mt-lg-0 col-lg-6 offset-lg-1",children:(0,s.jsx)("img",{src:"/images/recruiter/job_hero.png",className:"jsx-cb264027d695112e hero-image"})})]})})}),(0,s.jsx)(n(),{id:"cb264027d695112e",children:'.z-index-1.jsx-cb264027d695112e{position:relative;z-index:1}.hero-title.jsx-cb264027d695112e{font-weight:bold;font-size:42px;white-space:pre-line}.hero-image.jsx-cb264027d695112e{margin-top:-20px;margin-left:-20px;width:-webkit-calc(100% + 40px);width:-moz-calc(100% + 40px);width:calc(100% + 40px);height:auto}.mw-475.jsx-cb264027d695112e{max-width:475px}.header.jsx-cb264027d695112e{padding-top:148px;background:-webkit-linear-gradient(top,rgba(253,253,255,.4),rgba(228,232,245,.4));background:-moz-linear-gradient(top,rgba(253,253,255,.4),rgba(228,232,245,.4));background:-o-linear-gradient(top,rgba(253,253,255,.4),rgba(228,232,245,.4));background:linear-gradient(180deg,rgba(253,253,255,.4),rgba(228,232,245,.4));position:relative;overflow:hidden;padding-bottom:96px}.header.jsx-cb264027d695112e:after{content:"";right:0;bottom:-12vw;width:100%;height:24vw;-webkit-transform:skewY(-12deg);-moz-transform:skewY(-12deg);-ms-transform:skewY(-12deg);-o-transform:skewY(-12deg);transform:skewY(-12deg);background-color:white;position:absolute}@media screen and (max-width:991px){.header.jsx-cb264027d695112e{background:none;padding-bottom:48px}.header.jsx-cb264027d695112e:after{content:none}}@media screen and (max-width:767px){.hero-title.jsx-cb264027d695112e{font-size:32px}.header.jsx-cb264027d695112e{padding-top:96px}}'})]})};l.propTypes={};var m=l,x=function(e){var t=(0,o.$G)().t;return(0,s.jsxs)("div",{className:"jsx-11363c485f5c5d6d container",children:[(0,s.jsx)("div",{className:"jsx-11363c485f5c5d6d row text-center text-md-left",children:[1,2,3].map((function(e){return(0,s.jsxs)("div",{className:"jsx-11363c485f5c5d6d col-md-4 mt-5 mt-md-0",children:[(0,s.jsx)("img",{src:"/images/host/listing_feature_".concat(e,".png"),className:"jsx-11363c485f5c5d6d feature-image"}),(0,s.jsx)("h2",{className:"jsx-11363c485f5c5d6d font-weight-light mt-4 mt-md-5",children:t("recruiter:feature".concat(e,"_title"))}),(0,s.jsx)("div",{className:"jsx-11363c485f5c5d6d font-weight-light mt-3",children:t("recruiter:feature".concat(e,"_desc"))})]},e)}))}),(0,s.jsx)(n(),{id:"11363c485f5c5d6d",children:".feature-image.jsx-11363c485f5c5d6d{height:175px}"})]})};x.propTypes={};var u=x,h=r(9361),f=r.n(h),j=r(8969),g=r(6490),b=function(){var e=(0,o.$G)().t,t=(0,g.Z)(),r=(0,a.useState)(1),i=r[0],d=r[1],l=function(e){return(0,s.jsx)("div",{className:"mt-4 d-flex justify-content-center",children:(0,s.jsx)(j.Z,{path:"/animations/host/finding".concat(e,".json"),width:192,height:418,borderRadius:19,gutter:20},"video-".concat(e))})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h1",{className:"jsx-984ad8ef19b698f9 host-title",children:e("recruiter:listing_title")}),(0,s.jsxs)("div",{className:"jsx-984ad8ef19b698f9 row no-gutters my-5",children:[(0,s.jsxs)("div",{className:"jsx-984ad8ef19b698f9 col-md-6 text-center text-md-left",children:[(0,s.jsxs)("div",{onClick:function(){return d(1)},className:"jsx-984ad8ef19b698f9 "+"item ".concat(1===i?"active":""),children:[(0,s.jsx)("h2",{className:"jsx-984ad8ef19b698f9",children:e("recruiter:listing_step1_t
1itle")}),(0,s.jsxs)("div",{className:"jsx-984ad8ef19b698f9 d-flex mt-4",children:[t>991&&(0,s.jsx)(f(),{className:"mr-4",size:128,value:"https://sumica.ai/app",fgColor:"#373B50"}),(0,s.jsxs)("div",{className:"jsx-984ad8ef19b698f9",children:[e("recruiter:listing_step1_desc"),(0,s.jsx)(c.Z,{className:"mt-3 d-block d-md-none",source:"host-find-tenant"})]})]})]}),[2,3,4].map((function(r){return(0,s.jsxs)("div",{onClick:function(){return d(r)},className:"jsx-984ad8ef19b698f9 "+"item mt-5 ".concat(i===r?"active":""),children:[(0,s.jsx)("h2",{className:"jsx-984ad8ef19b698f9",children:e("recruiter:listing_step".concat(r,"_title"))}),(0,s.jsx)("div",{className:"jsx-984ad8ef19b698f9 mt-3",children:e("recruiter:listing_step".concat(r,"_desc"))}),t<=767&&l(r)]},r)}))]}),t>767&&(0,s.jsx)("div",{className:"jsx-984ad8ef19b698f9 col-md-6 d-flex align-items-center justify-content-center",children:(0,s.jsx)(j.Z,{forcePlay:!0,path:"/animations/recruiter/".concat(i,".json")},"video-".concat(i))})]}),(0,s.jsx)(n(),{id:"984ad8ef19b698f9",children:"h1.jsx-984ad8ef19b698f9{white-space:pre-line}.item.jsx-984ad8ef19b698f9{padding-left:28px;cursor:pointer}.item.active.jsx-984ad8ef19b698f9{border-left:4px solid#10ac84;padding-left:24px}.item.jsx-984ad8ef19b698f9 h2.jsx-984ad8ef19b698f9{font-weight:lighter}.item.active.jsx-984ad8ef19b698f9 h2.jsx-984ad8ef19b698f9{font-weight:bold}@media screen and (max-width:767px){.item.jsx-984ad8ef19b698f9{padding-left:0}.item.active.jsx-984ad8ef19b698f9{border-left:none;padding-left:0}.item.active.jsx-984ad8ef19b698f9 h2.jsx-984ad8ef19b698f9{font-weight:lighter}}"})]})},p=r(9842),v=r(7568),w=r(92),N=r(2283),_=r(3427),k=function(){var e=(0,N.cI)(),t=e.handleSubmit,r=e.register,i=e.errors,d=(0,a.useState)(null),c=d[0],l=d[1],m=(0,a.useState)(!1),x=m[0],u=m[1];(0,a.useEffect)((function(){localStorage.getItem("register")&&l(!0)}),[]);var h=function(){var e=(0,v.Z)((function(e){var t,r,s,i,n;return(0,w.__generator)(this,(function(a){switch(a.label){case 0:if(x)return[2];u(!0),t=e.name,r=e.email,s=e.phone,i=e.note,n={request:{requester:{name:t,email:r},subject:"[HOST] \u0110\u0103ng k\xfd tr\u1edf th\xe0nh host. S\u0110T: ".concat(s),comment:{html_body:"<div><b>T\xean: </b>".concat(t,"</div><br/><div><b>Email: </b>").concat(r,"</div><br/><div><b>Phone: </b>").concat(s,"</div><br/><div><b>C\xe2u h\u1ecfi: </b>").concat(i,"</div>")}}},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,_.O)(n)];case 2:return a.sent(),l(!0),localStorage.setItem("register",Date.now()),[3,4];case 3:return a.sent(),l(!1),[3,4];case 4:return u(!1),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),f=(0,o.$G)().t;return(0,s.jsxs)("div",{className:"jsx-4be1516977ed4e9d container my-0 my-md-5",children:[(0,s.jsxs)("div",{className:"jsx-4be1516977ed4e9d row py-0 py-md-5",children:[(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d d-none d-md-block col-md-5 pt-5",children:(0,s.jsx)("img",{src:"/images/host/supporter.png",className:"jsx-4be1516977ed4e9d w-100"})}),(0,s.jsxs)("div",{className:"jsx-4be1516977ed4e9d offset-lg-1 col-md-7 col-lg-6 mt-5 mt-md-0",children:[(0,s.jsx)("h1",{className:"jsx-4be1516977ed4e9d",children:f("recruiter:support_title")}),!0===c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"jsx-4be1516977ed4e9d text-primary p-3 mt-3 mt-md-5 bg-primary-light",children:[(0,s.jsx)("h3",{className:"jsx-4be1516977ed4e9d",children:f("recruiter:success_title")}),(0,s.jsx)("div",{classsName:"font-weight-light",className:"jsx-4be1516977ed4e9d",children:f("recruiter:success_desc")})]}),(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d mt-4",children:(0,s.jsx)("button",{onClick:function(){l(null),localStorage.removeItem("register")},className:"jsx-4be1516977ed4e9d btn btn-primary px-5 py-3 submit-btn",children:f("recruiter:create_another_request")})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d mb-4 pb-3 font-weight-light",children:f("recruiter:support_desc")}),(0,s.jsxs)("form",{onSubmit:t(h),className:"jsx-4be1516977ed4e9d",children:[(0,s.jsx)("input",{name:"name",placeholder:f("recruiter:requester_name"),ref:r({required:f("recruiter:field_required")}
1),className:"jsx-4be1516977ed4e9d "+((i.name?"validate-error":"")||"")}),(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d mt-3 text-danger",children:i.name&&i.name.message}),(0,s.jsx)("input",{name:"email",placeholder:f("recruiter:requester_email"),ref:r({required:f("recruiter:field_required"),pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:f("recruiter:email_invalid")}}),className:"jsx-4be1516977ed4e9d "+((i.email?"validate-error":"")||"")}),(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d mt-3 text-danger",children:i.email&&i.email.message}),(0,s.jsx)("input",{name:"phone",placeholder:f("recruiter:requester_phone_number"),ref:r({required:f("recruiter:field_required")}),className:"jsx-4be1516977ed4e9d "+((i.phone?"validate-error":"")||"")}),(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d mt-3 text-danger",children:i.phone&&i.phone.message}),(0,s.jsx)("textarea",{name:"note",rows:"3",placeholder:f("recruiter:requester_question"),ref:r(),className:"jsx-4be1516977ed4e9d"}),!1===c&&(0,s.jsx)("div",{className:"jsx-4be1516977ed4e9d w3 error mt-4 p-3",children:f("recruiter:submit_error")}),(0,s.jsx)("button",{type:"submit",className:"jsx-4be1516977ed4e9d btn btn-primary px-5 py-3 mt-4 submit-btn",children:f("recruiter:send")})]})]})]})]}),(0,s.jsx)(n(),{id:"4be1516977ed4e9d",children:"textarea.jsx-4be1516977ed4e9d,input.jsx-4be1516977ed4e9d{display:block;width:100%;background:#fff;-webkit-box-shadow:0px 4px 30px rgba(39,52,48,.1);-moz-box-shadow:0px 4px 30px rgba(39,52,48,.1);box-shadow:0px 4px 30px rgba(39,52,48,.1);-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;padding:16px;border:none;margin-top:24px}"})]})},y=r(7859),Z=["common","recruiter"],z=function(){var e=(0,o.$G)(Z).t;return(0,s.jsxs)("div",{className:"jsx-d150099e8558571a bg-white",children:[(0,s.jsx)(y.Z,{title:"Sumica | Recruiter",image:"https://sumica.ai/images/sumica_host.png",description:e("recruiter:hero_desc")}),(0,s.jsx)(d.Z,{isRecruiter:!0}),(0,s.jsx)(m,{}),(0,s.jsxs)("div",{className:"jsx-d150099e8558571a container pt-3 pb-5 text-center",children:[(0,s.jsx)("h1",{className:"jsx-d150099e8558571a mb-3 host-title",children:e("recruiter:post_title")}),(0,s.jsx)("div",{className:"jsx-d150099e8558571a text-dark-grey font-weight-light",children:e("recruiter:post_desc")})]}),(0,s.jsx)(u,{}),(0,s.jsx)("div",{className:"jsx-d150099e8558571a cta-wrapper",children:(0,s.jsx)("div",{className:"jsx-d150099e8558571a container mt-5 px-lg-0",children:(0,s.jsx)("div",{className:"jsx-d150099e8558571a listing text-center mt-5",children:(0,s.jsx)(b,{})})})}),(0,s.jsx)(k,{}),(0,s.jsx)(p.Z,{}),(0,s.jsx)(n(),{id:"d150099e8558571a",children:'.cta-wrapper.jsx-d150099e8558571a{position:relative;overflow:hidden}.cta-wrapper.jsx-d150099e8558571a>div.jsx-d150099e8558571a{position:relative;z-index:1}.cta-wrapper.jsx-d150099e8558571a:before{content:"";top:0;left:0;position:absolute;width:100%;height:800px;background:-webkit-linear-gradient(top,rgba(228,232,245,.4),rgba(253,253,255,.4));background:-moz-linear-gradient(top,rgba(228,232,245,.4),rgba(253,253,255,.4));background:-o-linear-gradient(top,rgba(228,232,245,.4),rgba(253,253,255,.4));background:linear-gradient(180deg,rgba(228,232,245,.4),rgba(253,253,255,.4));z-index:0}.cta-wrapper.jsx-d150099e8558571a:after{content:"";right:0;top:-12vw;width:100%;height:24vw;-webkit-transform:skewY(-12deg);-moz-transform:skewY(-12deg);-ms-transform:skewY(-12deg);-o-transform:skewY(-12deg);transform:skewY(-12deg);background-color:white;position:absolute;z-index:0}@media screen and (max-width:991px){.cta-wrapper.jsx-d150099e8558571a:before{content:none}}.cta.jsx-d150099e8558571a{padding-top:6vw}.listing.jsx-d150099e8558571a{padding-top:18vw}'})]})};z.defaultProps={i18nNamespaces:Z};var E=!0,S=z}},function(e){e.O(0,[296,141,664,79,219,361,278,419,774,888,179],(function(){return t=9913,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.