PageSourceSearch

https://cdn.ones.com/_next/static/chunks/pages/download/whitepaper/migration-d9712ca4c3819f8c.js

js ones.com collected 2026-09-24 20:20:26 UTC 16,035 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0cd32-3e50-74b1-9e08-e996829f38ae")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8025],{262452:(e,r,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/download/whitepaper/migration",function(){return n(359311)}])},359311:(e,r,n)=>{"use strict";n.r(r),n.d(r,{default:()=>T,getStaticProps:()=>B});var t=n(637876),s=n(977328),a=n.n(s),l=n(659325),o=n(562867),i=n(352182),c=n(719488),p=n(679255),x=n(648230),d=n.n(x),m=n(569273),u=n(14232),h=n(958103),f=n.n(h);let g=(0,u.forwardRef)((e,r)=>{let[n,s]=(0,u.useState)(!0),{onBlur:a,onChange:l,...o}=e;return(0,t.jsx)("input",{...o,ref:r,onChange:e=>{s(!1),null==l||l(e)},onBlur:e=>{!n&&(null==a||a(e))}})});var _=n(838468),b=n.n(_);let v=(0,u.forwardRef)((e,r)=>{let{form:n,name:s,label:a,wrapperClassName:l,inputProps:o,onBlur:i,...c}=e,{getFieldProps:p,getFieldError:x,setFieldsValue:d}=n,m=(0,u.useRef)(null),h=()=>{let e=x(s);return e?(0,t.jsx)("p",{className:"text-[12px] text-red-1 absolute leading-[20px] mr-[2px]",children:null==e?void 0:e[0]}):null};return(0,t.jsxs)("label",{className:f()("block",l),children:[(0,t.jsxs)("div",{className:"font-bold mb-[5px]",children:[(()=>{var e;return(null==o||null==(e=o.rules)?void 0:e.some(e=>e.required))?(0,t.jsx)("span",{className:"text-[14px] leading-[26px] text-red-1 align-sub absolute ml-[-10px]",children:"*"}):null})(),a]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(g,{className:f()("\n              w-[100%] h-[48px] box-border\n              px-[10px] py-[12px] rounded-[3px] border-[1px] border-gray-4 \n              text-gray-1 placeholder-gray-3\n              ".concat(b().inputBorder,"\n            "),{[b().inputBorderError]:!!h()}),...p(s,{...o,onBlur:e=>{setTimeout(()=>{n.setFields({[s]:{value:e.target.value.trim(),errors:x(s)}})},0)}}),...c,ref:e=>{e&&("function"==typeof r?r(e):r&&(r.current=e),m.current=e)}}),h()]})]})});var w=n(632732);let y=(0,c.A)(e=>{let{form:r,onHubspotSubmit:n,onReCaptchaVerify:s,onReCaptchaLoaded:a,onSuccess:l,onError:o,onLoading:c,showTitle:x,LOCALE_WORD:h,FORM_LIST_CONFIG:g}=e,[_,b]=(0,u.useState)(!1),[y,j]=(0,u.useState)(!1),N=(0,u.useRef)(null),E=(0,u.useRef)(null),O=(0,u.useRef)(null),P={[g[0].name]:N,[g[1].name]:E,[g[2].name]:O};(0,u.useEffect)(()=>{var e;null==(e=N.current)||e.focus()},[]);let C=async e=>{e.preventDefault();try{let e=await r.validateFields();j(!0),await (null==a?void 0:a()),j(!1),await (null==s?void 0:s()),null==c||c(),b(!0),await (null==n?void 0:n(e)),null==l||l()}catch(n){let e=n.message,r=h[e];if(r&&(e=r),e&&(0,w.A)({type:"error",title:e,minWidth:"0",maxWidth:"558px"}),(null==n?void 0:n.errors)&&n.values){var t,i;null==(i=P[Object.keys(n.errors)[0]])||null==(t=i.current)||t.focus()}null==o||o()}finally{b(!1),j(!1)}};return(0,t.jsxs)("div",{className:"\n        bg-white xs_screen:bg-transparent\n        l_screen:w-[510px] m_screen:w-[42.3vw] s_screen:w-[668px] xs_screen:w-[100%] \n        l_screen:mx-[20px] m_screen:mx-[20px] xs_screen:mx-[20px]\n        l_screen:p-[40px] m_screen:p-[40px] s_screen:p-[40px]\n        shadow-three  xs_screen:shadow-none\n      ",children:[x?(0,t.jsx)("h3",{className:"\n        l_screen:hidden m_screen:hidden \n        mb-[30px] font-bold\n        text-[40px] xs_screen:text-[26px]\n      ",children:h.formName}):null,(0,t.jsxs)("form",{children:[g.map(e=>(0,t.jsx)(v,{name:e.name,form:r,wrapperClassName:e.wrapperClassName,placeholder:e.placeholder,label:e.label,ref:P[e.name],inputProps:e.inputProps},e.name)),(0,t.jsx)("p",{className:"\n            text-[14px] text-gray-3 leading-[22px] mb-[20px]\n          ",children:(()=>{let e=h.formTrustDesc.split(h.trustDescText)||[],r=p.d.TRUST_PRIVACY;return(0,i.KP)()&&(r="/ja".concat(r)),(0,t.jsxs)(t.Fragment,{children:[e[0],(0,t.jsx)(d(),{href:r,target:"_blank",rel:"noreferrer",className:"text-brand-1 active:text-brand-2 hover:text-brand-4",children:h.trustDescText}),e[1]]})})()}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{className:f()(" \n              rounded-[3px] px-[15px] py-[12px] w-[100%] font-bold text-white\n              h-[48px]\n              bg-brand-1 hover:bg-brand-4 active:bg-brand-3 \n              flex items-center justify-center\n            ",{"bg-blue-50-percent":_||y}),onClick:C,children:[_||y?(0,t.jsx)(m.A,{height:"24",width:"24",className:"mr-[10px] animate-spin"}):null,h.formSubmitBtnText]}),_||y?(0,t.jsx)("span",{className:"absolute top-0 bottom-0 w-[100%] opacity-0"}):null]})]})]})});var j=n(142826);let N=e=>{let{className:r,LOCALE_WORD:n,imgName:s}=e,a=(0,i.JK)(),l=(0,i.d9)(a)?a:i.Xn,o="".concat((0,i.XP)(l),"/on-premises");return(0,t.jsxs)("section",{className:f()("\n          px-[20px]  mr-[20px]\n        ",r),children:[(0,t.jsx)("h1",{className:"\n            text-gray-1 font-bold mb-[30px]\n            l_screen:text-[30px] l_screen:w-[510px]\n            m_screen:text-[24px]  m_screen:w-[430px]\n        ",children:n.formName}),(0,t.jsx)(d(),{href:o,className:"group block cursor-pointer relative",children:(0,t.jsxs)("div",{className:f()("\n                l_screen:w-[510px] l_screen:h-[288px]\n                m_screen:w-[42vw] m_screen:h-[23.7vw]\n                mb-[20px]\n              ","\n                transition-all duration-300 ease-out\n                group-hover:-translate-y-[2px] group-hover:shadow-lg\n                group-active:translate-y-0\n              "),children:[(0,t.jsx)(j.Gc,{name:s,layout:"responsive",priority:!0,className:"transition-transform duration-300 ease-out group-hover:scale-[1.01]"}),(0,t.jsx)("div",{className:"\n              absolute top-[10px] right-[10px]\n              opacity-0 group-hover:opacity-100 transition-opacity duration-300\n              bg-black/70 text-white px-4 py-2 rounded text-sm pointer-events-none\n              select-none\n            ",children:n.imgHoverTip})]})}),(0,t.jsx)("h3",{className:"\n        font-bold mb-[10px]\n      ",children:n.formInfoTitle}),(0,t.jsxs)("ul",{className:"pl-[20px]",children:[(0,t.jsx)("li",{className:"mb-[10px] text-gray-3 list-disc",children:n.formInfoDesc1}),(0,t.jsx)("li",{className:"mb-[10px] text-gray-3 list-disc",children:n.formInfoDesc2}),(0,t.jsx)("li",{className:"mb-[10px] text-gray-3 list-disc",children:n.formInfoDesc3})]})]})};var E=n(734277);let O=e=>{let{LOCALE_WORD:r,resultButton:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a(),{children:(0,t.jsx)("style",{children:"\n          @media (min-width: 0px) and (max-width: 767px){\n            #__next>div{\n              display: flex;\n              flex-flow: column;\n              justify-content: space-between;\n              width: 100%;\n              height: 100%;\n            }\n          }\n        "})}),(0,t.jsxs)("div",{className:"\n\n        flex items-center flex-col justify-center\n        h-[527px] s_screen:h-auto xs_screen:h-auto\n        bg-white s_screen:bg-transparent xs_screen:bg-transparent\n        l_screen:w-[510px] m_screen:w-[42.3vw] s_screen:w-[668px] xs_screen:w-[100%] \n        l_screen:mx-[20px] m_screen:mx-[20px] xs_screen:mx-[40px]\n        l_screen:p-[40px] m_screen:p-[40px]\n        shadow-three s_screen:shadow-none  xs_screen:shadow-none \n        text-center s_screen:text-center  xs_screen:text-center\n        \n      ",children:[(0,t.jsx)(E.A,{className:"\n          mb-[30px]\n          w-[120px]\n          h-[120px]\n        "}),(0,t.jsx)("h2",{className:"\n        font-bold mb-[10px]\n        text-[24px] m_screen:text-[20px]  s_screen:text-[20px]  xs_screen:text-[16
1px]\n        ",children:r.resultTitle}),(0,t.jsx)("p",{className:"\n          mb-[30px] text-gray-3 leading-[24px]\n          s_screen:text-[14px]  xs_screen:text-[12px] \n          l_screen:px-[7px]\n        ",children:r.resultDesc}),n||null]})]})};var P=n(89099);let C=e=>{let{label:r,PDF_URL:n,fileName:s}=e;return(0,t.jsx)("a",{className:"\n        rounded-[3px] px-[15px] py-[12px] font-bold text-white\n        h-[48px]\n        bg-brand-1 hover:bg-brand-4 active:bg-brand-3 \n      ",href:n,download:s,children:r})},T=()=>{let[e,r]=(0,u.useState)(!1),{locale:n}=(0,P.useRouter)(),s=(0,i.d9)(n)?n:i.Xn,{SEO_DATA:c,LOCALE_WORD:p,FORM_LIST_CONFIG:x}=(0,u.useMemo)(()=>(e=>{let r=(0,i.Y8)("download/whitepaper/migration",e),n={title:r.title,description:r.desc,additionalMetaTags:[{property:"keywords",content:r.keywords}],languageAlternates:(0,i.Eq)("/download/whitepaper/migration",{locales:["en","ja"]})},t=[{name:"company",label:r.formCompanyName,wrapperClassName:"mb-[20px]",placeholder:r.formCompanyPlaceholder,inputProps:{rules:[{pattern:/^\s*\S.*$/,message:r.formCompanyEmptyError},{required:!0,message:r.formCompanyEmptyError}],validateTrigger:"onBlur"}},{name:"firstname",label:r.formUserName,wrapperClassName:"mb-[20px]",placeholder:r.formUserPlaceholder,inputProps:{rules:[{pattern:/^\s*\S.*$/,message:r.formUserEmptyError},{required:!0,message:r.formUserEmptyError}],validateTrigger:"onBlur"}},{name:"email",label:r.formEmailName,wrapperClassName:"mb-[20px]",placeholder:r.formEmailPlaceholder,inputProps:{rules:[{required:!0,message:r.formVerifyEmailEmptyError},{validator:async(e,n)=>{let t=n.trim();return t||0!==t.length?t&&!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t)?Promise.reject(r.formVerifyEmailInvalidError):Promise.resolve():Promise.reject(r.formVerifyEmailEmptyError)}}],validateTrigger:"onBlur"}}];return{LOCALE_WORD:r,SEO_DATA:n,FORM_LIST_CONFIG:t}})(s),[s]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a(),{children:(0,t.jsx)("style",{children:"\n              html,body{\n                background-color: var(--gray-7)!important;\n              }\n            "})}),(0,t.jsxs)(l.u,{locale:s,showBanner:!1,isLandingPage:!1,children:[(0,t.jsx)(o.bV,{...c}),(0,t.jsxs)("main",{className:"\n            flex flex-col mb-[80px] pt-[144px]\n            s_screen:pt-[124px]\n            xs_screen:pt-[104px] xs_screen:mb-[60px]\n          ",children:[(0,t.jsx)("section",{className:f()("\n          mx-auto\n          mb-[60px] s_screen:mb-[30px] xs_screen:mb-[30px]\n         ",{"s_screen:hidden":e,"xs_screen:hidden":e}),children:(0,t.jsxs)("div",{className:" text-center s_screen:text-left s_screen:w-[668px] xs_screen:text-left xs_screen:w-[100vw] xs_screen:px-[20px] ",children:[(0,t.jsx)("div",{className:" text-[56px] font-extrabold text-gray-1 m_screen:text-[44px] s_screen:text-[40px] s_screen:mb-[15px] xs_screen:text-[26px] xs_screen:mb-[15px] ",children:p.fromMainLabel}),(0,t.jsx)("div",{className:" font-bold text-gray-1 text-[20px] l_screen:hidden m_screen:hidden xs_screen:text-[16
1px] ",children:p.formName})]})}),(0,t.jsxs)("div",{className:"flex flex-row items-start justify-center",children:[(0,t.jsx)(N,{LOCALE_WORD:p,imgName:"download/whitepaper/migration/".concat("ja"===s?"ja":i.Xn,"/1_1"),className:"\n              s_screen:hidden\n              xs_screen:hidden\n            "}),e?(0,t.jsx)(O,{LOCALE_WORD:p,resultButton:(0,t.jsx)(C,{fileName:p.downloadName,PDF_URL:"".concat("","/resources/whitepapers/atlassian-migration-guide"),label:p.resultBtnText})}):(0,t.jsx)(y,{LOCALE_WORD:p,FORM_LIST_CONFIG:x,type:"MIGRATE_WHITEPAPER",onSuccess:()=>{r(!0)}})]})]})]})]})};function B(){let e="/index.js".replace("/ones-com/.next/server/pages","").replace(/\.js$/,"").replace(/index$/,"").replace(/\/$/,"").replace(/^\//,"");return e?{props:{pathname:e}}:{props:{}}}},569273:(e,r,n)=>{"use strict";n.d(r,{A:()=>i});var t,s,a,l=n(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}let i=function(e){return l.createElement("svg",o({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=l.createElement("path",{d:"M22.5 12c0 5.799-4.701 10.5-10.5 10.5S1.5 17.799 1.5 12 6.201 1.5 12 1.5",stroke:"url(#btn_loading_icon_svg__a)",strokeWidth:2})),s||(s=l.createElement("path",{d:"M22.5 12c0-5.799-4.701-10.5-10.5-10.5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"})),a||(a=l.createElement("defs",null,l.createElement("linearGradient",{id:"btn_loading_icon_svg__a",x1:21,y1:12,x2:12,y2:3,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#fff",stopOpacity:0}),l.createElement("stop",{offset:1,stopColor:"#fff"})))))}},632732:(e,r,n)=>{"use strict";n.d(r,{A:()=>c});var t,s=n(637876),a=n(898477),l=n(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}let i=function(e){return l.createElement("svg",o({viewBox:"0 0 24 24",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0Zm-1 7v6h2V7h-2Zm2 10v-2h-2v2h2Z"})))},c=e=>{if(document.getElementById("global_message_tip"))return;let{type:r,during:n=3e3}=e,t=document.createElement("div");a.render("error"===r?(e=>{let{title:r,des:n,minWidth:t="360px",maxWidth:a="360px",type:l}=e,o="";return o="error"===l?"#ff4433":"#ffffff",(0,s.jsxs)("div",{id:"global_message_tip",className:"flex rounded-[3px] fixed p-[10px] text-white z-[9999] top-[0px] left-[50%] translate-x-[-50%]",style:{minWidth:t,maxWidth:a,boxShadow:"0px 0px 1px rgba(229, 39, 39, 0.25), 0px 12px 24px rgba(229, 39, 39, 0.2)",backgroundColor:o},children:[(0,s.jsx)(i,{width:"24",height:"24",className:"text-white"}),(0,s.jsxs)("div",{className:"ml-[10px] text-white flex-1",children:[(0,s.jsx)("div",{className:"font-bold text-[14px] leading-[24px]",children:r}),n&&(0,s.jsx)("div",{className:"text-[12px] leading-[20px]",children:n})]})]})})(e):(0,s.jsx)("div",{}),t);let l=t.querySelector("#global_message_tip");document.body.appendChild(t),l&&(l.style.transition="all 0.3s ease-out",l.style.opacity="0"),requestAnimationFrame(()=>{l&&(l.style.top="100px",l.style.opacity="1")}),setTimeout(()=>{l&&(l.style.top="70px",l.style.opacity="0")},n),setTimeout(()=>{t.remove()},n+300)}},734277:(e,r,n)=>{"use strict";n.d(r,{A:()=>i});var t,s,a,l=n(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}let i=function(e){return l.createElement("svg",o({viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=l.createElement("circle",{cx:60,cy:60,r:50,fill:"#00BE5E"})),s||(s=l.createElement("circle",{opacity:.404,cx:60,cy:60,r:59.5,stroke:"#00BE5E"})),a||(a=l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m39.262 60.
1096 12.75 12.75 27.727-27.77 3.535 3.535L51.99 79.895 35.726 63.632l3.536-3.536Z",fill:"#fff"})))}},838468:e=>{e.exports={inputBorder:"Input_inputBorder__EOyIL",inputBorderError:"Input_inputBorderError__aMzmv"}},958103:(e,r)=>{var n;!function(){"use strict";var t={}.hasOwnProperty;function s(){for(var e=[],r=0;r<arguments.length;r++){var n=arguments[r];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var l=s.apply(null,n);l&&e.push(l)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var o in n)t.call(n,o)&&n[o]&&e.push(o)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=(function(){return s}).apply(r,[]))||(e.exports=n)}()}},e=>{e.O(0,[4912,2909,8145,9729,2228,1352,1202,1090,4033,1601,2182,2826,3494,636,6593,8792],()=>e(e.s=262452)),_N_E=e.O()}]);
2//# sourceMappingURL=migration-d9712ca4c3819f8c.js.map
3//# chunkId=01a0cd32-3e50-74b1-9e08-e996829f38ae

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.