PageSourceSearch

https://www.dgn.org/static/js/3042.bd8cfce4.chunk.js

js dgn.org collected 2026-10-02 03:39:44 UTC 6,363 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkvm2_app=self.webpackChunkvm2_app||[]).push([[3042,6481],{6481:(r,e,t)=>{t.r(e),t.d(e,{default:()=>i});var o=t(37174),n=t(21276),l=t(70579);const a=r=>{const{sideArrows:e,callback:t,icon:o,rightOrLeft:a,upOrDown:i,isCentered:s,isOnEdge:d,roundedArrows:u,tagFilterArrow:c,styles:m,variant:p}=r;return(0,l.jsx)("div",{tabIndex:0,role:"button",onKeyDown:t,onClick:t,style:null===m||void 0===m?void 0:m.wrapper,"aria-label":"Arrow "+a,className:`${e?"jme-side-arrow":"jme-arrow"}  ${c?`jme-tagCaourselArrow-${a}`:""} ${a}-${i}-${u?"round":""} ${i} ${a} ${p||""} arrow-${a}-${d?"edge":""} arrow-${a}-${s?"center":""}`,children:(0,l.jsx)(n.A,{icon:o,styles:{wrapper:{...null===m||void 0===m?void 0:m.icon}}})})};a.defaultProps={variant:"",sideArrows:!1,callback:()=>{},icon:{iconType:"fa",name:"chevron-right"},rightOrLeft:"right",upOrDown:"down",isCentered:!1,isOnEdge:!1,tagFilterArrow:!1,roundedArrows:!0,styles:{wrapper:{},icon:{}}},a.vmPropTypes={variant:o.mt.className,sideArrows:o.mt.boolean,tagFilterArrow:o.mt.boolean,callback:o.mt.function,icon:o.mt.object,rightOrLeft:o.mt.string,upOrDown:o.mt.string,isCentered:o.mt.boolean,isOnEdge:o.mt.boolean,roundedArrows:o.mt.boolean,styles:{wrapper:o.mt.styles,icon:o.mt.styles}};const i=a},13042:(r,e,t)=>{t.r(e),t.d(e,{default:()=>w});var o=t(65043),n=t(22166),l=t(6155),a=t(18107),i=t(37174),s=t(51630),d=t(52439),u=t(6481),c=t(87190),m=t(97513),p=t(70579);function v(r){var e;const{parent:t,data:i,components:v,curIdxProp:w,isFullWidth:f,showArrows:h,sideArrows:y,roundedArrows:b,arrowsUp:A,arrowsCenter:g,arrowsOnEdge:O,showIndicators:x,numOfItemsToShow:I,partlyVisible:j,partlyVisibleOnMobileOnly:$,gapSpacing:C,styles:E,variant:k,leftArrowVariant:S,rightArrowVariant:V,autoRotateInSec:N,autoRotateIsActive:T,...W}=r,[D,R]=(0,o.useState)((0,s.Et)(w)?w:0),[L,F]=(0,o.useState)(0),P=(null===i||void 0===i?void 0:i.length)||0,M=(0,o.useRef)(null),U=(0,o.useRef)(null),K=(0,m.j)(v),_=null===v||void 0===v?void 0:v.some((r=>(null===r||void 0===r?void 0:r.startsAt)||(null===r||void 0===r?void 0:r.endsAt)));(0,c.A)(_);const z=(0,n.d4)((r=>{var e;return null===r||void 0===r||null===(e=r.appState)||void 0===e?void 0:e.currentBreakpoint})),B="xs"===z||"sm"===z,J=(()=>{var r;return"object"===typeof I?null!==(r=I[z])&&void 0!==r?r:1:I})();(0,o.useEffect)((()=>{var r;const e=null===M||void 0===M||null===(r=M.current)||void 0===r?void 0:r.clientWidth;e&&F((e-2*C*(J-1))/J-(B&&$&&P>1?70:!B&&j&&P>1?50:0))}),[null===M||void 0===M||null===(e=M.current)||void 0===e?void 0:e.clientWidth,J,C,j,$]);const Z=r=>R(r);(0,o.useEffect)((()=>{var r,e;null!==U&&void 0!==U&&null!==(r=U.current)&&void 0!==r&&r.style&&(U.current.style.left=`-${(null===(e=U.current)||void 0===e?void 0:e.scrollWidth)/P*D}px`)}
1),[D,null===U||void 0===U?void 0:U.current]);const q=r=>{if("number"===typeof r)Z(r);else{Z(D===P-J?0:D+1)}};(0,o.useEffect)((()=>{var r;let e;return null!==U&&void 0!==U&&null!==(r=U.current)&&void 0!==r&&r.style&&T&&(e=setInterval((()=>{q()}),1e3*N||5e3)),()=>{clearInterval(e)}}),[U,D,T,N]);const G=r=>{if("number"===typeof r)Z(r);else{Z(0===D?P-J:D-1)}},H=r=>{D!==r&&(D>r&&G(r),D<r&&q(r))};return(0,s.Ep)(i)?(0,p.jsxs)("div",{className:"jme-carousel-data-outLayer"+(f?"-fullWidth":""),style:null===E||void 0===E?void 0:E.outlayer,children:[h&&(null===i||void 0===i?void 0:i.length)>J&&(0,p.jsx)(u.default,{variant:V||"",callback:q,icon:{iconType:"fa",name:"chevron-right"},rightOrLeft:"right",isCentered:g,isOnEdge:O,upOrDown:A?"up":"down",roundedArrows:b,sideArrows:y,styles:{wrapper:null===E||void 0===E?void 0:E.rightArrow,icon:null===E||void 0===E?void 0:E.rightArrowIcon}}),h&&(null===i||void 0===i?void 0:i.length)>J&&(0,p.jsx)(u.default,{variant:S||"",callback:G,icon:{iconType:"fa",name:"chevron-left"},rightOrLeft:"left",isCentered:g,isOnEdge:O,upOrDown:A?"up":"down",roundedArrows:b,sideArrows:y,styles:{wrapper:null===E||void 0===E?void 0:E.leftArrow,icon:null===E||void 0===E?void 0:E.leftArrowIcon}}
1),(0,p.jsxs)("div",{className:"jme-carousel-data",style:null===E||void 0===E?void 0:E.wrapper,ref:M,children:[(0,p.jsx)("div",{className:`jme-carousel-data-items-wrapper ${k||""}`,style:{marginLeft:`-${C}px`,...null===E||void 0===E?void 0:E.itemWrapper},ref:U,children:!!L&&i.map(((r,e)=>(0,p.jsx)("div",{style:{width:`${L}px`,margin:`0px ${C}px`},children:(0,o.createElement)(a.A,{...W,key:(null===r||void 0===r?void 0:r.id)||(0,l.A)(),components:K,componentItemData:r,parent:[...t,"JmeCarouselData",e]})},(null===r||void 0===r?void 0:r.id)||(0,l.A)())))}),x&&(0,p.jsx)("div",{className:"jme-carousel-data-indicator-wrapper",children:(()=>{const r=[];if(null===i||void 0===i||!i.length)return r;const e=i.length-J;for(let t=0;t<=e;t++)r.push({id:t});return r})().map(((r,e)=>(0,p.jsx)("div",{tabIndex:0,role:"button",onKeyDown:()=>H(e),className:"jme-carousel-data-indicator",onClick:()=>H(e),children:(0,p.jsx)(d.tZ,{icon:{iconType:"fa",name:e===D?"dot-circle":"circle"},faType:e===D?"far":"fa",styles:{wrapper:null===E||void 0===E?void 0:E.indicators}})},null===r||void 0===r?void 0:r.id)))})]})]}):null}v.defaultProps={variant:"",leftArrowVariant:"",rightArrowVariant:"",data:[],components:[],isFullWidth:!1,autoRotateIsActive:!1,autoRotateInSec:5,arrowsCenter:!1,arrowsOnEdge:!1,showArrows:!0,sideArrows:!1,roundedArrows:!1,arrowsUp:!1,showIndicators:!0,partlyVisible:!1,partlyVisibleOnMobileOnly:!1,numOfItemsToShow:{xl:3,lg:3,md:2,sm:1,xs:1},gapSpacing:16,styles:{outlayer:{},wrapper:{},itemWrapper:{},indicators:{fontSize:"10px"},leftArrow:{},rightArrow:{},leftArrowIcon:{},rightArrowIcon:{}}},v.vmPropTypes={variant:i.mt.className,curIdxProp:i.mt.number,leftArrowVariant:i.mt.className,rightArrowVariant:i.mt.className,isFullWidth:i.mt.boolean,autoRotateIsActive:i.mt.boolean,autoRotateInSec:i.mt.number,data:i.mt.array,components:i.mt.components,showArrows:i.mt.boolean,arrowsCenter:i.mt.boolean,arrowsOnEdge:i.mt.boolean,sideArrows:i.mt.boolean,arrowsUp:i.mt.boolean,roundedArrows:i.mt.boolean,showIndicators:i.mt.boolean,partlyVisible:i.mt.boolean,partlyVisibleOnMobileOnly:i.mt.boolean,gapSpacing:i.mt.number,numOfItemsToShow:{xl:i.mt.number,lg:i.mt.number,md:i.mt.number,sm:i.mt.number,xs:i.mt.number},styles:{outlayer:i.mt.styles,wrapper:i.mt.styles,itemWrapper:i.mt.styles,indicators:i.mt.styles}};const w=v}}]);
2//# sourceMappingURL=3042.bd8cfce4.chunk.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.