PageSourceSearch

https://www.aramco.com/dist/client/assets/Content_KeyIRNumbers-C9tZzEX0.js

js aramco.com collected 2026-09-24 06:25:27 UTC 8,251 bytes, 2 lines download raw bytes

1import{b2 as We,bi as Fe,aX as e,g as t,u as Re,bA as s,an as u,bf as He,a7 as Le,F as Ae}from"./vendor-DacH4Axe.js";import{ak as Xe,ap as De,g as Ye,X as $e,R as Ne,j as Pe,a2 as p,O as i,M as j,E as m,y as v,x as b}from"./common-BQRL9VEI.js";import"./react-hook-form-DKq7G64E.js";import"./devlop-Cl3hj7Sz.js";import"./react-markdown-C0K8dZ-l.js";import"./micromark-util-sanitize-uri-Dr-249hl.js";import"./micromark-util-character-Crq1AjvP.js";import"./unist-util-visit-BEqpjG-T.js";import"./unist-util-visit-parents-BzuIhZFT.js";import"./unist-util-is-D9KQvrmg.js";import"./micromark-util-decode-numeric-character-reference-CNs1qBpV.js";import"./micromark-util-decode-string-strjl-tx.js";import"./decode-named-character-reference-C3-224fz.js";import"./micromark-util-normalize-identifier-C9ANKk3v.js";import"./micromark-util-subtokenize-BC4BSQ9J.js";import"./micromark-util-chunked-DrRIdSP-.js";import"./micromark-util-combine-extensions-Bka6Sc1c.js";import"./micromark-factory-space-BWWALS__.js";import"./micromark-core-commonmark-3inbqGMm.js";import"./micromark-util-classify-character-CmoJ_zKU.js";import"./micromark-util-resolve-all-PQCKh0dx.js";import"./micromark-factory-destination-C2qZjv7H.js";import"./micromark-factory-label-Bolj5dRz.js";import"./micromark-factory-title-Cioy9Ajn.js";import"./micromark-factory-whitespace-TGriqLdU.js";import"./mdast-util-to-string-C_aolqmU.js";import"./remark-gfm-CfmVxcyc.js";const Oe=({fields:n,rendering:{children:l}})=>{var T,B,E,k,S,R,C,_;const{sitecoreContext:a}=De(),[c]=We.useContext(Ye),[Ce]=Fe(`(min-width: ${$e.md})`,{ssr:!0,fallback:!1}),_e=[(T=n==null?void 0:n.explanatoryTextColumn1)==null?void 0:T.value,(B=n==null?void 0:n.explanatoryTextColumn2)==null?void 0:B.value,(E=n==null?void 0:n.explanatoryTextColumn3)==null?void 0:E.value].filter(Boolean),x=a.pageEditing?3:_e.length;return e.jsx(Ne,{children:e.jsxs(Pe,{py:["var(--chakra-sizes-modulePY__SM)",null,"var(--chakra-sizes-modulePY__MD)",null,"var(--chakra-sizes-modulePY__XL)"],children:[e.jsxs(t,{textAlign:"center",maxW:"782",mx:"auto",children:[((k=n==null?void 0:n.heading)==null?void 0:k.value)&&!a.pageEditing&&e.jsx(Re,{as:"h2",size:"md",mb:["3",null,"4"],dangerouslySetInnerHTML:{__html:s(n.heading.value,p)}}),a.pageEditing&&e.jsx(Re,{as:"h2",size:"md",mb:["3",null,"4"],children:e.jsx(i,{field:n==null?void 0:n.heading})}),(((S=n==null?void 0:n.description)==null?void 0:S.value)||a.pageEditing)&&e.jsx(u,{size:"body",mt:["3",null,"4"],mb:["8",null,"12"],children:e.jsx(i,{field:n==null?void 0:n.description})})]}),e.jsx(t,{position:"relative",children:l==null?void 0:l.map((o,d)=>{var I,f,z;const{ref:Ie,inView:h}=He({threshold:0});return e.jsxs(Le.Fragment,{children:[e.jsx(t,{}),(((f=(I=o.fields)==null?void 0:I.title)==null?void 0:f.value)||a.pageEditing)&&e.jsx(u,{variant:"overline",mt:["6",null,"8"],textAlign:"center",children:e.jsx(i,{field:(z=o.fields)==null?void 0:z.title})}),e.jsx(t,{ref:Ie,borderRadius:"lg",transform:"translateZ(0)",overflow:"hidden",display:"flex",w:"100%",flexDirection:"row",flexWrap:["wrap",null,"nowrap"],alignItems:"center",gap:"1px",mt:"4",mb:d!==(l==null?void 0:l.length)-1?["12",null,null,"14"]:"0",children:o.children.map((r,y)=>{var w,W,F,H,L,A,X,D,Y,$,N,P,O,V,G,K,Q,Z,q,J,U,ee,ne,re,te,ae,ie,le,oe,se,ue,pe,xe,me,ce,de,he,ye,ge,je,ve,be,Te,Be,Ee,ke,Se;const fe=20*y+100,ze=20*y+100,Me={initial:Ce?{x:0,y:`${fe}%`}:{x:`-${ze}%`,y:0},visible:{x:0,y:0}},M={initial:{x:5,y:60},visible:{x:0,y:0}},we=.3+y*.1,g={keyIRBox:{ease:[.35,1,.45,1],duration:.7},keyIRText:{ease:[.35,1,.45,1],duration:.7,delay:we}};return e.jsx(j,{flexBasis:["100%",null,o.children.length===3?"33.3333%":"50%"],flexShrink:"1",flexGrow:"1",textAlign:"center",variants:Me,initial:"initial",animate:h?"visible":"initial",transition:g.keyIRBox,children:e.jsxs(m,{bg:d===0?"primary.darkBlue":"primary.white",color:d===0?"primary.white":"primary.darkBlue",py:["4",null,"8",null,"12"],px:["4",null,"8"],children:[(((W=(w=r.fields)==null?void 0:w.currencyTop)==null?void 0:W.value)||((H=(F=r.fields)==null?void 0:F.numberTop)==null?void 0:H.value)||((A=(L=r.fields)==null?void 0:L.numberTypeTop)==null?void 0:A.value)||a.pageEditing)&&e.jsx(m,{overflow:"hidden",children:e.jsx(j,{variants:M,initial:"initial",animate:h?"visible":"initial",transition:g.keyIRText,children:e.jsx(u,{variant:"keyIrNumber",children:a.pageEditing?e.jsxs(e.Fragment,{children:[e.jsx(t,{as:"span",pe:"2",fontSize:(D=(X=r.fields)==null?void 0:X.currencyTop)!=null&&D.value?"inherit":"1rem",children:e.jsx(i,{field:(Y=r.fields)==null?void 0:Y.currencyTop})}),e.jsx(t,{as:"span",fontSize:(N=($=r.fields)==null?void 0:$.numberTop)!=null&&N.value?"inherit":"1rem",children:e.jsx(i,{field:(P=r.fields)==null?void 0:P.numberTop})}),e.jsx(t,{as:"span",fontSize:(V=(O=r.fields)==null?void 0:O.numberTypeTop)!=null&&V.value?"inherit":"1rem",children:e.jsx(i,{field:(G=r.fields)==null?void 0:G.numberTypeTop})})]}):e.jsxs(e.Fragment,{children:[((Q=(K=r.fields)==null?void 0:K.currencyTop)==null?void 0:Q.value)&&e.jsx(t,{as:"span",pe:"2",dangerouslySetInnerHTML:{__html:s(r.fields.currencyTop.value,p)}}),((q=(Z=r.fields)==null?void 0:Z.numberTop)==null?void 0:q.value)&&e.jsx(t,{as:"span",children:e.jsx(i,{field:(J=r.fields)==null?void 0:J.numberTop})}),((ee=(U=r.fields)==null?void 0:U.numberTypeTop)==null?void 0:ee.value)&&e.jsx(t,{as:"span",dangerouslySetInnerHTML:{__html:s(r.fields.numberTypeTop.value,p)}})]})})})}),(((re=(ne=r.fields)==null?void 0:ne.currencyBottom)==null?void 0:re.value)||((ae=(te=r.fields)==null?void 0:te.numberBottom)==null?void 0:ae.value)||((le=(ie=r.fields)==null?void 0:ie.numberTypeBottom)==null?void 0:le.value)||a.pageEditing)&&e.jsx(m,{color:"primary.aramcoBlue",overflow:"hidden",children:e.jsx(j,{variants:M,initial:"initial",animate:h?"visible":"initial",transition:g.keyIRText,children:e.jsx(u,{variant:"keyIrNumber",children:a.pageEditing?e.jsxs(e.Fragment,{children:[e.jsx(t,{as:"span",pe:"2",fontSize:(se=(oe=r.fields)==null?void 0:oe.currencyBottom)!=null&&se.value?"inherit":"1rem",children:e.jsx(i,{field:(ue=r.fields)==null?void 0:ue.currencyBottom})}),e.jsx(t,{as:"span",fontSize:(xe=(pe=r.fields)==null?void 0:pe.numberBottom)!=null&&xe.value?"inherit":"1rem",children:e.jsx(i,{field:(me=r.fields)==null?void 0:me.numberBottom})}),e.jsx(t,{as:"span",fontSize:(de=(ce=r.fields)==null?void 0:ce.numberTypeBottom)!=null&&de.value?"inherit":"1rem",children:e.jsx(i,{field:(he=r.fields)==null?void 0:he.numberTypeBottom})})]}):e.jsxs(e.Fragment,{children:[((ge=(ye=r.fields)==null?void 0:ye.currencyBottom)==null?void 0:ge.value)&&e.jsx(t,{as:"span",pe:"2",dangerouslySetInnerHTML:{__html:s(r.fields.currencyBottom.value,p)}}),((ve=(je=r.fields)==null?void 0:je.numberBottom)==null?void 0:ve.value)&&e.jsx(t,{as:"span",children:e.jsx(i,{field:(be=r.fields)==null?void 0:be.numberBottom})}),((Be=(Te=r.fields)==null?void 0:Te.numberTypeBottom)==null?void 0:Be.value)&&e.jsx(t,{as:"span",dangerouslySetInnerHTML:{__html:s(r.fields.numberTypeBottom.value,p)}})]})})})}),(((ke=(Ee=r.fields)==null?void 0:Ee.text)==null?void 0:ke.value)||a.pageEditing)&&e.jsx(m,{mt:["2",null,null,"3"],
1children:e.jsx(u,{size:"body",children:e.jsx(i,{field:(Se=r.fields)==null?void 0:Se.text})})})]})},r.id)})})]},o.id)})}),x>0&&e.jsxs(Ae,{flexDirection:"row",gap:["7",null,"3rem"],flexWrap:"wrap",justifyContent:["none",null,"center"],pt:["12",null,"16"],sx:{"> div":{flexBasis:["100%",null,x>1?"calc(50% - 1.5rem)":"60%",x>1?`calc(100% / ${x} - 2rem)`:"60%"]}},children:[(((R=n==null?void 0:n.explanatoryTextColumn1)==null?void 0:R.value)||a.pageEditing)&&e.jsx(t,{...b(c,a.custom.settings.isRtl),children:e.jsx(v,{field:n==null?void 0:n.explanatoryTextColumn1,enableWordExplainer:!0})}),(((C=n==null?void 0:n.explanatoryTextColumn2)==null?void 0:C.value)||a.pageEditing)&&e.jsx(t,{...b(c,a.custom.settings.isRtl),children:e.jsx(v,{field:n==null?void 0:n.explanatoryTextColumn2,enableWordExplainer:!0})}),(((_=n==null?void 0:n.explanatoryTextColumn3)==null?void 0:_.value)||a.pageEditing)&&e.jsx(t,{...b(c,a.custom.settings.isRtl),children:e.jsx(v,{field:n==null?void 0:n.explanatoryTextColumn3,enableWordExplainer:!0})})]})]})})},bn=Xe()(Oe);export{bn as default};
2//# sourceMappingURL=Content_KeyIRNumbers-C9tZzEX0.js.map

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.