{"version":3,"file":"shared-lib.CzPCVKBs.mjs","names":[],"sources":["https:/framerusercontent.com/modules/oHDlOZeoilwGNfPnPuZK/WRNvO9MqF8MNvYDjRE1e/FullBleedFixedCanvas.js","https:/framerusercontent.com/modules/eK691QSHNFzvNAQUpcP5/3VjpiQxQDQFmVPcEIFT4/siteMetadata.js"],"sourcesContent":["// Request: Create a Framer code override file with `withViewportShell` and `withFullBleedSurface` to remove white gutters on wide viewports by enabling full-viewport-width shells/surfaces while preserving centered fixed-width inner canvas content and natural section flow/height.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";const FULL_VIEWPORT_WIDTH=\"min(100vw, 100dvw)\";const FULL_VIEWPORT_OFFSET=`calc(50% - (${FULL_VIEWPORT_WIDTH} / 2))`;function getBackgroundMirrorStyle(style){if(!style)return null;const backgroundStyle={};const backgroundKeys=[\"background\",\"backgroundColor\",\"backgroundImage\",\"backgroundSize\",\"backgroundPosition\",\"backgroundRepeat\"];for(const key of backgroundKeys){const value=style[key];if(value!==undefined&&value!==null&&value!==\"\"){backgroundStyle[key]=value;}}return Object.keys(backgroundStyle).length>0?backgroundStyle:null;}export function withViewportShell(Component){return /*#__PURE__*/forwardRef(function WithViewportShell(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,position:\"relative\",width:FULL_VIEWPORT_WIDTH,minWidth:FULL_VIEWPORT_WIDTH,maxWidth:FULL_VIEWPORT_WIDTH,marginLeft:FULL_VIEWPORT_OFFSET,marginRight:FULL_VIEWPORT_OFFSET,boxSizing:\"border-box\",overflowX:\"visible\"}});});}export function withFullBleedSurface(Component){return /*#__PURE__*/forwardRef(function WithFullBleedSurface(props,ref){const originalStyle=props?.style??{};const mirroredBackground=getBackgroundMirrorStyle(originalStyle);if(!mirroredBackground){return /*#__PURE__*/_jsx(Component,{ref:ref,...props});}return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:FULL_VIEWPORT_WIDTH,minWidth:FULL_VIEWPORT_WIDTH,maxWidth:FULL_VIEWPORT_WIDTH,marginLeft:FULL_VIEWPORT_OFFSET,marginRight:FULL_VIEWPORT_OFFSET,boxSizing:\"border-box\",display:\"flex\",justifyContent:\"center\",alignItems:\"stretch\",overflowX:\"visible\",...mirroredBackground},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}export function withFullBleedLayer(Component){return /*#__PURE__*/forwardRef(function WithFullBleedLayer(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,width:FULL_VIEWPORT_WIDTH,minWidth:FULL_VIEWPORT_WIDTH,maxWidth:FULL_VIEWPORT_WIDTH,marginLeft:FULL_VIEWPORT_OFFSET,marginRight:FULL_VIEWPORT_OFFSET,left:props?.style?.position===\"absolute\"||props?.style?.position===\"fixed\"||props?.style?.position===\"sticky\"?FULL_VIEWPORT_OFFSET:props?.style?.left,right:props?.style?.position===\"absolute\"||props?.style?.position===\"fixed\"||props?.style?.position===\"sticky\"?\"auto\":props?.style?.right,boxSizing:\"border-box\",overflowX:\"visible\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFullBleedSurface\":{\"type\":\"reactHoc\",\"name\":\"withFullBleedSurface\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFullBleedLayer\":{\"type\":\"reactHoc\",\"name\":\"withFullBleedLayer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withViewportShell\":{\"type\":\"reactHoc\",\"name\":\"withViewportShell\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FullBleedFixedCanvas.map","// Generated by Framer (56ce7df)\nconst valuesByLocaleId={eHHamLLzZ:{v0:\"إم آي إس العربية\",v1:\"MIS Arabia - تعزيز التقدم الصناعي من خلال المعدات الثابتة المصممة بدقة، والمهارة الحرفية، والتنفيذ الموثوق الذي يدعم الطموحات الصناعية المتطورة للمملكة.\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{description:getLocalizedValue(\"v1\",activeLocale)??\"MIS Arabia - Advancing industrial progress through precision-engineered static equipment, skilled craftsmanship, and reliable execution that supports the Kingdom’s evolving industrial ambitions.\",favicon:\"https://framerusercontent.com/assets/4d8SyU6HfSpoh9ZBXMlh8mWU0.png\",robots:\"max-image-preview:large\",title:getLocalizedValue(\"v0\",activeLocale)??\"MIS Arabia   \"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kHAC+lB,SAAgB,EAAkB,EAAU,CAAC,OAAoB,EAAW,SAA2B,EAAM,EAAI,CAAC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,WAAW,MAAM,EAAoB,SAAS,EAAoB,SAAS,EAAoB,WAAW,EAAqB,YAAY,EAAqB,UAAU,aAAa,UAAU,SAAS,CAAC,CAAC,CAAE,CAAC,CAAE,CAA4rB,SAAgB,EAAmB,EAAU,CAAC,OAAoB,EAAW,SAA4B,EAAM,EAAI,CAAC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,EAAoB,SAAS,EAAoB,SAAS,EAAoB,WAAW,EAAqB,YAAY,EAAqB,KAAK,GAAO,OAAO,WAAW,YAAY,GAAO,OAAO,WAAW,SAAS,GAAO,OAAO,WAAW,SAAS,EAAqB,GAAO,OAAO,KAAK,MAAM,GAAO,OAAO,WAAW,YAAY,GAAO,OAAO,WAAW,SAAS,GAAO,OAAO,WAAW,SAAS,OAAO,GAAO,OAAO,MAAM,UAAU,aAAa,UAAU,SAAS,CAAC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