PageSourceSearch

https://agrikaido.com/1471.dcf337c6675c3eb86a4b.js

js agrikaido.com collected 2026-10-03 02:29:30 UTC 6,192 bytes, 1 lines download raw bytes

1(self.webpackChunkagrikaido=self.webpackChunkagrikaido||[]).push([[1471],{2065:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=(0,n(8960).Z)("form",{target:"e1xhpb3w0"})({name:"88znax",styles:"padding:0 0 5rem"})},8768:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r=(0,n(8960).Z)("h2",{target:"e1s7qla40"})({name:"4awojx",styles:"flex:1 0 0;font-size:1.1rem;line-height:1.4rem;font-weight:500;margin:0.5rem 0.75rem"})},7327:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=n(6327).m.withComponent("button",{target:"edmt9400"})},3835:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(6164),i=n.n(r),l=n(7509),o=n.n(l),u=n(4130),a=n(6327).m.withComponent("input",{target:"e9fyixu0"}),c=function(e){var t=e.children,n=o()(e,["children"]);return(0,u.h)(a,i()({type:"submit",value:t},n))}},1471:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return G}});var r=n(107),i=n.n(r),l=n(8239),o=n.n(l),u=n(756),a=n.n(u),c=n(6739),s=n.n(c),d=n(4130),p=n(7833),f=n(4196),g=n(7921),m=n(9433),b=n(1138),y=n(8984),v=n(8768),w=n(2065),k=n(2251),O=n(8960),x=n(8033),j=n(3961),Z=(0,O.Z)("input",{target:"e140cniw4"})({display:"none","&:checked ~ div":{borderColor:j.Z.colors.main,border:"double 0.4rem transparent",backgroundImage:"linear-gradient(".concat(j.Z.colors.paper,", ").concat(j.Z.colors.paper,"), radial-gradient(circle at top right, ").concat(j.Z.colors.secondary,", ").concat(j.Z.colors.main,")"),backgroundOrigin:"border-box",backgroundClip:"content-box, border-box"}},""),C=(0,O.Z)(x.x,{target:"e140cniw3"})({name:"hl2z76",styles:"display:block;padding:0.3rem 0 0.3rem 2.3rem;cursor:pointer"}).withComponent("label",{target:"e140cniw5"}),q=(0,O.Z)("ul",{target:"e140cniw2"})({name:"1ibfc2d",styles:"padding:0.75rem;list-style:none"}),P=(0,O.Z)("li",{target:"e140cniw1"})({name:"bjn8wh",styles:"position:relative"}),S=(0,O.Z)("div",{target:"e140cniw0"})({display:"block",position:"absolute",border:"0.4rem solid ".concat(j.Z.colors.ink4),borderRadius:"100%",height:"0.4rem",width:"0.4rem",top:"0.6rem",left:"0.5rem",zIndex:"-1"},""),D=function(e){var t=e.name,n=e.options,r=e.selected,i=e.setter,l=e.onClick,o=e.required;return(0,d.h)(q,null,Object.keys(n).map((function(e){return(0,d.h)(P,null,(0,d.h)(Z,{required:o,name:t,type:"radio",value:e,onClick:i?function(e){var t=e.target.value;i(t)}:l,id:e,checked:r===e&&"checked"}),(0,d.h)(C,{for:e},n[e]),(0,d.h)(S,null))})))},R=n(3835),J=n(8899),X=n(6950),$=n(2067),B=n(7327),I=n(2599),U=n(7155),z=n(3457),W=n(1464),T=n(6109),Y=n(9469),E=(0,m.Iu)((function(e){var t=e.t,n=e.locale,r=e.profile;return h(d.Fragment,null,h(U.i,null,h(z.X,null,h(W.b,null,t("nutrition.age")),h(T.B,null,r.age.replace(/P(\d+)Y.*/,"$1")),h(Y.f,null,t("unit.years"))),h(z.X,null,h(W.b,null,t("nutrition.gender")),h(W.b,{colSpan:2},r.gender)),h(z.X,null,h(W.b,null,t("nutrition.lifestyle")),h(W.b,{colSpan:2},r.lifestyle)),h(z.X,null,h(W.b,null,t("nutrition.height")),h(T.B,null,r.height),h(Y.f,null,t("unit.centimeter"))),h(z.X,null,h(W.b,null,t("nutrition.weight")),h(T.B,null,(0,I.r$)(r.weight,n)),h(Y.f,null,t("unit.kilogram"))),h(z.X,null,h(HeaderNoBorder,null,t("nutrition.idealWeight")),h(T.B,null,(0,I.r$)(r.idealWeight,n)),h(Y.f,null,t("unit.kilogram")))))})),F=n(7273);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G=(0,f.S)({userCache:b.d},{updateUser:$.Nq})((0,m.Iu)((function(e){var t,n=e.t,r=e.mode,l=e.userCache,o=e.updateUser,u={sedentary:n("user.profile.lifestyle.sedentary"),active:n("user.profile.lifestyle.active"),vigorous:n("user.profile.lifestyle.vigorous")},c={male:n("user.profile.gender.male"),female:n("user.profile.gender.female")},h=null==l||null===(t=l.details)||void 0===t?void 0:t.profile,f=(0,p.eJ)("edit"===r),m=s()(f,2),b=m[0],O=m[1],x=(0,p.eJ)(null==h?void 0:h.lifestyle),j=s()(x,2),Z=j[0],C=j[1],q=(0,p.eJ)(null==h?void 0:h.gender),P=s()(q,2),S=P[0],$=P[1],I=(0,p.eJ)(null==h?void 0:h.birth),U=s()(I,2),z=U[0],W=U[1],T=(0,p.eJ)(100*(null==h?void 0:h.height)),Y=s()(T,2),M=Y[0],G=Y[1],H=(0,p.eJ)((null==h?void 0:h.weight)/1e3),K=s()(H,2),Q=K[0],A=K[1];function L(){return(L=a()(i().mark((function e(t){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),n=N(N({},l),{},{details:{email:l.details.email,profile:{lifestyle:Z,gender:S,birth:z,height:M
1/100,weight:1e3*Q}}}),console.log(n),e.next=5,o({form:n});case 5:O(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,d.h)(g.G,null,(0,d.h)(y.D,null,"Your nutrition profile"),!h||b?(0,d.h)(w.l,{onSubmit:function(e){return L.apply(this,arguments)}},(0,d.h)(J.$,null,(0,d.h)(v.R,null,"What is your lifestyle?"),(0,d.h)(D,{name:"lifestyle",required:!0,options:u,selected:Z,setter:C})),(0,d.h)(J.$,null,(0,d.h)(v.R,null,"Your biological gender is..."),(0,d.h)(D,{name:"gender",required:!0,options:c,selected:S,setter:$})),(0,d.h)(J.$,null,(0,d.h)(v.R,null,"We need to know a bit more about you:"),(0,d.h)(k.U,{label:n("user.profile.edit.birth"),type:"date",id:"birthdate",required:!0,max:(new Date).toISOString().split("T")[0],value:z,setter:W}),(0,d.h)(k.U,{label:n("user.profile.edit.height"),unit:n("unit.centimeter"),type:"number",min:0,max:272,id:"height",required:!0,value:M,setter:G}),(0,d.h)(k.U,{label:n("user.profile.edit.weight"),unit:n("unit.kilogram"),type:"number",min:0,max:635,id:"weight",required:!0,value:Q,setter:A})),(0,d.h)(X.Q,null,(0,d.h)(R.M,{main:!0},n("nutrition.save")))):(0,d.h)(d.Fragment,null,(0,d.h)(E,{profile:h}),(0,d.h)(B.T,{main:!0,onClick:function(){O(!0)}},n("nutrition.update")),(0,d.h)(v.R,null,"Recommended daily intake"),(0,d.h)(F.K,{profile:h})))})))}}]);

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.