PageSourceSearch

https://www.skribil.ai/_next/static/chunks/pages/value-proposition-a68debdf731edf66.js

js skribil.ai collected 2026-10-05 13:33:17 UTC 6,381 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7465],{58824:function(t,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/value-proposition",function(){return s(60612)}])},92761:function(t,e,s){"use strict";s.d(e,{Z:function(){return i}});let i=(0,s(63759).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},83989:function(t,e,s){"use strict";s.d(e,{Z:function(){return i}});let i=(0,s(63759).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},92429:function(t,e,s){"use strict";s.d(e,{Z:function(){return i}});let i=(0,s(63759).Z)("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},9475:function(t,e,s){"use strict";s.d(e,{Z:function(){return i}});let i=(0,s(63759).Z)("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},76678:function(t,e,s){"use strict";var i=s(85893);s(67294);var n=s(9475),r=s(92429),a=s(92761),o=s(83989);e.Z=t=>{let{title:e,subtitle:s,children:l,currentStep:c,totalSteps:h,onNext:u,onBack:d,onSkip:m,onExit:x,showSkip:p=!1,isWalkthrough:g=!1,nextButtonText:f="Next →",hideExitButton:y=!1,aiInsights:w=[],hideNavigation:N=!1}=t;return(0,i.jsxs)("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[(0,i.jsxs)("div",{className:"mb-6",children:["string"==typeof e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h1",{className:"text-3xl font-bold mb-2",children:e}),s&&(0,i.jsx)("p",{className:"text-gray-600",children:s})]}):e,g&&c&&h&&(0,i.jsxs)("div",{className:"mt-4",children:[(0,i.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,i.jsxs)("div",{className:"text-sm text-gray-500",children:["Step ",c," of ",h]}),!y&&x&&(0,i.jsxs)("button",{onClick:x,className:"text-sm text-gray-500 hover:text-gray-700 flex items-center",children:[(0,i.jsx)(n.Z,{className:"w-4 h-4 mr-1"}),"Exit Walkthrough"]})]}),(0,i.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2",children:(0,i.jsx)("div",{className:"bg-blue-600 h-2 rounded-full transition-all duration-300",style:{width:"".concat(c/h*100,"%")}})})]})]}),w&&w.length>0&&(0,i.jsxs)("div",{className:"mb-8 p-4 bg-indigo-50 rounded-lg border border-indigo-100",children:[(0,i.jsxs)("h3",{className:"font-medium mb-2 flex items-center text-indigo-800",children:[(0,i.jsx)(r.Z,{className:"w-5 h-5 mr-2 text-indigo-500"}),"AI Insights"]}),(0,i.jsx)("ul",{className:"space-y-2",children:w.map((t,e)=>(0,i.jsxs)("li",{className:"text-sm text-indigo-700 flex items-start",children:[(0,i.jsx)("span",{className:"text-indigo-500 mr-2",children:"•"}),t]},e))})]}),(0,i.jsx)("div",{className:"mb-8",children:l}),g&&!N&&(0,i.jsxs)("div",{className:"flex justify-between items-center",children:[(0,i.jsxs)("button",{onClick:d,className:"px-4 py-2 text-gray-600 flex items-center ".concat(d?"":"invisible"),children:[(0,i.jsx)(a.Z,{className:"w-4 h-4 mr-2"}),"Back"]}),(0,i.jsxs)("div",{className:"flex gap-4",children:[p&&m&&(0,i.jsx)("button",{onClick:m,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50",children:"Skip this step"}),u&&(0,i.jsxs)("button",{onClick:u,className:"px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center",children:[f,!f.includes("→")&&(0,i.jsx)(o.Z,{className:"w-4 h-4 ml-2"})]})]})]})]})}},39752:function(t,e,s){"use strict";s.d(e,{k:function(){return o}});var i=s(67294);class n{async call(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{let i=await fetch("/api/api_endpoints",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(this.getToken())},body:JSON.stringify({mode:t,data:e,writingStyle:s})});if(402===i.status){let t=await i.json().catch(()=>({})),e=t.upgradeUrl||"/billing",s=e.includes("?")?"".concat(e,"&reason=subscription_required"):"".concat(e,"?reason=subscription_required");this.options.showNotification&&this.options.showNotification(t.message||"Add a payment method to continue using the service.","warning"),window.location.href=s;let n=Error(t.message||"Subscription required");throw n.status=402,n.upgradeUrl=s,n}if(401===i.status){this.options.showNotification&&this.options.showNotification("Please log in to continue","error"),this.clearToken(),window.location.href="/login";let t=Error("Authentication required");throw t.status=401,t}if(!i.ok){let t=await i.json().catch(()=>({})),e=t.message||t.error||"API responded with status ".concat(i.status);this.options.showNotification&&this.options.showNotification(e,"error");let s=Error(e);throw s.status=i.status,s}return await i.json()}catch(e){throw console.error("Error calling ".concat(t,":"),e),e}}async callWithStrategicData(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.call(t,e)}getToken(){return localStorage.getItem("token")||""}clearToken(){localStorage.removeItem("token"),localStorage.removeItem("user"),localStorage.removeItem("refreshToken")}updateOptions(t){this.options={...this.options,...t}}constructor(t={}){this.options=t}}new n;var r=s(13410);let a=()=>{let{showSubscriptionModal:t,showNotification:e}=(0,r.l)();return(0,i.useMemo)(()=>new n({showSubscriptionModal:t,showNotification:e}),[t,e])},o=()=>{let t=a();return{call:t.call.bind(t),callWithStrategicData:t.callWithStrategicData.bind(t)}}},60612:function(t,e,s){"use strict";s.r(e);var i=s(85893),n=s(67294),r=s(11163),a=s(76678),o=s(6333),l=s(13410);e.default=()=>
1{let t=(0,r.useRouter)(),[e,s]=(0,n.useState)({}),c=()=>{t.push("/ideal-customer")},h=()=>{t.push("/product")};return(0,i.jsx)(l.J,{children:(0,i.jsx)("div",{className:"min-h-screen bg-gray-50",children:(0,i.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:(0,i.jsx)(a.Z,{title:"Craft Your Value Proposition",subtitle:"Create a compelling statement that explains why customers choose you",onNext:c,onBack:h,isWalkthrough:!1,currentStep:1,totalSteps:1,onSkip:()=>{},onExit:()=>t.push("/"),hideNavigation:!0,children:(0,i.jsx)(o.Z,{onNext:c,onBack:h,formData:e,setFormData:s})})})})})}}},function(t){t.O(0,[6333,2888,9774,179],function(){return t(t.s=58824)}),_N_E=t.O()}]);

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.