orie.ma Open in urlscan Pro
76.76.21.21  Public Scan

URL: https://orie.ma/_next/static/chunks/app/(website)/blog/%5B...slug%5D/page-08413489d8cd2d6f.js
Submission: On November 21 via api from US — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[684],{21350:function(e,r,t){Promise.resolve().then(t.bind(t,88927)),Promise.resolve().then(t.t.bind(t,35658,23)),Promise.resolve().then(t.t.bind(t,65469,23)),Promise.resolve().then(t.t.bind(t,25327,23))},88927:function(e,r,t){"use strict";t.d(r,{SubscribetoMaillingListBloc:function(){return d}});var n=t(27573),i=t(7653),s=t(12941),a=t(54440),o=t(78133);t(71364);var l=(0,t(30359).$)("033cb0daf385217b5291599628523e2062d640f1"),c=t(91521);let u=c.z.object({email:c.z.string({invalid_type_error:"email pas correct"}).email("email pas correct")});function d(){let[e,r]=(0,i.useTransition)(),[t,c]=(0,i.useState)(!1),d=(0,a.cI)({schema:u}),f=async e=>{r(async()=>{await l(e),c(!0)})};return(0,n.jsxs)("div",{className:"flex-1 flex flex-col justify-center w-full bg-[#9b81f6] p-10",children:[(0,n.jsx)("h5",{className:"mb-2 text-3xl font-bold",children:"D\xe9couvrez la gestion de vos finances d'entreprise avec Orie"}),(0,n.jsx)("p",{className:"mb-10 text-lg",children:"Inscrivez-vous \xe0 notre newsletter pour les mises \xe0 jour sur les produits, les nouveaux articles de blog et la chance d'\xeatre pr\xe9sent\xe9 dans notre vitrine des petites entreprises !"}),t?(0,n.jsxs)("div",{className:"",children:[(0,n.jsx)("h3",{className:"text-xl",children:"Merci"}),(0,n.jsx)("p",{children:"F\xe9licitations, vous \xeates sur la liste ! Nous sommes impatients de vous aider \xe0 mieux g\xe9rer votre entreprise."})]}):(0,n.jsx)(a.l0,{...d,children:(0,n.jsxs)("form",{onSubmit:d.handleSubmit(f),className:"flex flex-col items-center gap-2",children:[(0,n.jsx)(o.I,{type:"email",placeholder:"Votre adresse email",className:"w-full bg-white",...d.register("email")}),(0,n.jsx)(s.z,{loading:e,size:"sm",variant:"outline",className:"text-md px-10 py-5",children:"S'inscrire"})]})})]})}},30359:function(e,r,t){"use strict";Object.defineProperty(r,"$",{enumerable:!0,get:function(){return i}});let n=t(71364);function i(e){let{createServerReference:r}=t(18786);return r(e,n.callServer)}},12941:function(e,r,t){"use strict";t.d(r,{d:function(){return c},z:function(){return u}});var n=t(27573),i=t(10965),s=t(69473),a=t(30649),o=t(7653),l=t(83154);let c=(0,s.j)("inline-flex items-center justify-center text-sm font-medium transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-primary bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 px-3 text-xs",lg:"h-10 px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"primary",size:"default"}}),u=o.forwardRef((e,r)=>{let{className:t,variant:s,size:o,asChild:u=!1,loading:d,children:f,...m}=e,x=u?i.g7:"button";return(0,n.jsxs)(x,{className:(0,l.cn)(c({variant:s,size:o,className:t})),disabled:d,ref:r,...m,children:[d&&(0,n.jsx)(a.Z,{className:(0,l.cn)("h-4 w-4 animate-spin",{"mr-2":!!f})}),f]})});u.displayName="Button"},54440:function(e,r,t){"use strict";t.d(r,{Dq:function(){return o.Dq},NI:function(){return h},Wi:function(){return m},cI:function(){return u},l0:function(){return d},lX:function(){return b},pf:function(){return g},xJ:function(){return v},zG:function(){return y}});var n=t(27573),i=t(82967),s=t(10965),a=t(7653),o=t(81323),l=t(83154),c=t(23958);function u(e){return(0,o.cI)({...e,resolver:(0,i.F)(e.schema,void 0)})}let d=o.RV,f=a.createContext({}),m=e=>{let{...r}=e;return(0,n.jsx)(f.Provider,{value:{name:r.name},children:(0,n.jsx)(o.Qr,{...r})})},x=()=>{let e=a.useContext(f),r=a.useContext(p),{getFieldState:t,formState:n}=(0,o.Gc)(),i=t(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:s}=r;return{id:s,name:e.name,formItemId:"".concat(s,"-form-item"),formDescriptionId:"".concat(s,"-form-item-description"),formMessageId:"".concat(s,"-form-item-message"),...i}},p=a.createContext({}),v=a.forwardRef((e,r)=>{let{className:t,...i}=e,s=a.useId();return(0,n.jsx)(p.Provider,{value:{id:s},children:(0,n.jsx)("div",{ref:r,className:(0,l.cn)("space-y-2",t),...i})})});v.displayName="FormItem";let b=a.forwardRef((e,r)=>{let{className:t,...i}=e,{error:s,formItemId:a}=x();return(0,n.jsx)(c._,{ref:r,className:(0,l.cn)(s&&"text-destructive",t),htmlFor:a,...i})});b.displayName="FormLabel";let h=a.forwardRef((e,r)=>{let{...t}=e,{error:i,formItemId:a,formDescriptionId:o,formMessageId:l}=x();return(0,n.jsx)(s.g7,{ref:r,id:a,"aria-describedby":i?"".concat(o," ").concat(l):"".concat(o),"aria-invalid":!!i,...t})});h.displayName="FormControl";let g=a.forwardRef((e,r)=>{let{className:t,...i}=e,{formDescriptionId:s}=x();return(0,n.jsx)("p",{ref:r,id:s,className:(0,l.cn)("text-[0.8rem] text-muted-foreground",t),...i})});g.displayName="FormDescription";let y=a.forwardRef((e,r)=>{let{className:t,children:i,...s}=e,{error:a,formMessageId:o}=x(),c=a?String(null==a?void 0:a.message):i;return c?(0,n.jsx)("p",{ref:r,id:o,className:(0,l.cn)("text-[0.8rem] font-medium text-destructive",t),...s,children:c}):null});y.displayName="FormMessage"},83154:function(e,r,t){"use strict";t.d(r,{cn:function(){return s}});var n=t(69473),i=t(29498);function s(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.m6)((0,n.cx)(r))}},78133:function(e,r,t){"use strict";t.d(r,{I:function(){return a}});var n=t(27573),i=t(7653),s=t(83154);let a=i.forwardRef((e,r)=>{let{className:t,value:i,type:a,...o}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full border bg-transparent px-3 py-1 text-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,value:null!=i?i:void 0,...o})});a.displayName="Input"},23958:function(e,r,t){"use strict";t.d(r,{_:function(){return c}});var n=t(27573),i=t(25049),s=t(69473),a=t(7653),o=t(83154);let l=(0,s.j)("text-sm font-normal leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(i.f,{ref:r,className:(0,o.cn)(l(),t),...s})});c.displayName=i.f.displayName}},function(e){e.O(0,[9663,5327,1521,9501,5469,5658,1293,286,1744],function(){return e(e.s=21350)}),_N_E=e.O()}]);