{"version":3,"file":"ImageSlider.eESnWSjD.mjs","names":["useRef","useState","formElement","p","useState"],"sources":["https:/framerusercontent.com/modules/tcFA5YTewXTnGYnBMvlY/4F1hDwRQPMBnsGuQfFm0/MarketoForm.js","https:/framerusercontent.com/modules/L43IJA6yvHNxp4qdSu3u/SORogpgjz1Ojv8l9H02e/ImageSlider.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// --- インラインスタイルを定数として切り出し ---\nconst styles={wrapper:{position:\"relative\",minHeight:\"400px\"},loaderOverlay:{position:\"absolute\",top:0,left:0,right:0,bottom:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"transparent\",borderRadius:\"8px\",zIndex:10},loaderInner:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"12px\"},loaderText:{fontSize:\"14px\",color:\"#666\",fontWeight:\"500\"}};export function MarketoForm({baseUrl=\"//lp.cloudbase.ink\",munchkinId=\"196-EMS-523\",formId=14,redirectUrl=\"https://cloudbase.ink/thanks_service-document\",submitButtonLabel=\"個人情報の取り扱いに同意の上送信\"}){const formRef=useRef(null);const[isLoading,setIsLoading]=useState(true);const formElementId=`mktoForm_${formId}`;// --- 🟡 Fix 4: submitButtonLabel 変更を別の useEffect で管理 ---\nuseEffect(()=>{const btn=document.querySelector(`#${formElementId} .mktoButtonRow .mktoButton`);if(btn&&!btn.disabled){btn.textContent=submitButtonLabel;}},[submitButtonLabel,formElementId]);// --- メイン useEffect（フォーム初期化） ---\nuseEffect(()=>{const styleId=`marketo-form-style-${formId}`;// スタイル挿入（フォームIDごとに一度だけ）\nif(!document.getElementById(styleId)){const style=document.createElement(\"style\");style.id=styleId;style.innerHTML=`\n        #${formElementId} {\n          box-sizing: border-box;\n          padding: 0;\n          width: 100%;\n          max-width: 100%;\n          margin: 0 auto;\n          display: block;\n        }\n\n        #${formElementId} * {\n          box-sizing: border-box;\n          max-width: 100%;\n        }\n\n        #${formElementId} label {\n          font-size: 1rem;\n          font-weight: bold;\n          color: #171717;\n          display: inline-block;\n          margin-bottom: 8px;\n        }\n\n        #${formElementId} input[type=\"radio\"] + label,\n        #${formElementId} input[type=\"checkbox\"] + label {\n          display: inline;\n          margin-bottom: 0;\n          margin-left: 0;\n          cursor: pointer;\n          font-weight: normal;\n          font-size: 1rem;\n        }\n\n        #${formElementId} input[type=\"text\"],\n        #${formElementId} input[type=\"email\"],\n        #${formElementId} input[type=\"tel\"],\n        #${formElementId} textarea,\n        #${formElementId} select {\n          width: 100% !important;\n          max-width: 100% !important;\n          padding: 12px;\n          font-size: 1rem;\n          border: 1px solid #d4d4d4;\n          border-radius: 8px;\n          box-sizing: border-box !important;\n        }\n\n        #${formElementId} select {\n          appearance: none;\n          -webkit-appearance: none;\n          -moz-appearance: none;\n          padding-right: 40px !important;\n          background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 2h12z'/%3E%3C/svg%3E\");\n          background-repeat: no-repeat;\n          background-position: right 16px center;\n          background-size: 12px 8px;\n        }\n\n        #${formElementId} textarea {\n          resize: both;\n          min-height: 100px;\n          min-width: 100%;\n          overflow: auto;\n        }\n\n        #${formElementId} input[type=\"checkbox\"],\n        #${formElementId} input[type=\"radio\"] {\n          margin: 0 1px 0 0;\n          vertical-align: middle;\n          cursor: pointer;\n          width: 20px;\n          height: 20px;\n        }\n\n        #${formElementId} .mktoCheckboxList {\n          display: flex;\n          align-items: flex-start;\n          gap: 6px;\n          cursor: pointer;\n          padding: 0;\n          border-radius: 4px;\n          transition: background-color 0.2s ease;\n          width: 100%;\n          box-sizing: border-box;\n          margin: 0;\n        }\n\n        #${formElementId} .mktoCheckboxList:hover {\n          background-color: #f8f8f8;\n        }\n\n        #${formElementId} .mktoCheckboxList input[type=\"checkbox\"] {\n          flex-shrink: 0;\n          margin-top: 2px;\n          margin-right: 0;\n          cursor: pointer;\n          width: 16px;\n          height: 16px;\n        }\n\n        #${formElementId} .mktoCheckboxList label {\n          flex: 1;\n          font-size: 1rem;\n          line-height: 1.5;\n          color: #555;\n          cursor: pointer;\n          font-weight: normal !important;\n          margin: 0 !important;\n          padding: 0 !important;\n          display: inline !important;\n        }\n\n        #${formElementId} .mktoHtmlText,\n        #${formElementId} .mktoHtmlText p,\n        #${formElementId} .mktoHtmlText div,\n        #${formElementId} .mktoHtmlText blockquote {\n          margin: 0 !important;\n          padding: 0 !important;\n          line-height: 1.4 !important;\n          width: 100% !important;\n          box-sizing: border-box !important;\n          font-size: 14px !important;\n        }\n\n        #${formElementId} .mktoHtmlText span,\n        #${formElementId} blockquote span {\n          font-size: 14px !important;\n        }\n\n        #${formElementId} blockquote {\n          margin-inline-start: 0px !important;\n          margin-inline-end: 0px !important;\n          margin-block-start: 0 !important;\n          margin-block-end: 0 !important;\n        }\n\n        #${formElementId} .mktoRequiredField {\n          display: block !important;\n        }\n\n        #${formElementId} .mktoRequiredField .mktoAsterix {\n          display: inline !important;\n          color: #FF0000;\n          margin-right: 2px !important;\n          vertical-align: top !important;\n        }\n\n        #${formElementId} .mktoRequiredField label {\n          display: inline !important;\n          vertical-align: top !important;\n        }\n\n        #${formElementId} .mktoFieldDescriptor {\n          margin-bottom: 4px !important;\n          width: 100% !important;\n        }\n\n        #${formElementId} .mktoCheckboxList label a {\n          color: #3b82f6;\n          text-decoration: underline;\n        }\n\n        #${formElementId} .mktoCheckboxList label a:hover {\n          color: #2563eb;\n        }\n\n        @keyframes mkto-spin-${formId} {\n          0% { transform: rotate(0deg); }\n          100% { transform: rotate(360deg); }\n        }\n\n        #${formElementId} .mktoRadioList {\n          display: block !important;\n          margin: 0 !important;\n          padding: 0 !important;\n        }\n\n        #${formElementId} .mktoRadioList > div {\n          display: flex !important;\n          align-items: center !important;\n          margin-bottom: 12px !important;\n        }\n\n        #${formElementId} .mktoRadioList > div:last-child {\n          margin-bottom: 0 !important;\n        }\n\n        #${formElementId} .mktoRadioList input[type=\"radio\"] {\n          flex-shrink: 0;\n          width: 20px !important;\n          height: 20px !important;\n          margin: 0 8px 0 0 !important;\n          cursor: pointer !important;\n        }\n\n        #${formElementId} .mktoRadioList label {\n          font-size: 1rem !important;\n          cursor: pointer !important;\n          font-weight: normal !important;\n          margin: 0 !important;\n        }\n\n        #${formElementId} .mktoFormRow {\n          margin-bottom: 12px;\n          display: block;\n          width: 100%;\n          margin-right: 0;\n          overflow: hidden;\n          min-height: 1px;\n        }\n\n        #${formElementId} .mktoFormCol {\n          float: none !important;\n          width: 100% !important;\n          display: block !important;\n          margin-bottom: 24px !important;\n        }\n\n        #${formElementId} .mktoFieldDescriptor.mktoFormCol[style*=\"margin-bottom\"] {\n          margin-bottom: 0 !important;\n        }\n\n        #${formElementId} .mktoFieldWrap {\n          width: 100% !important;\n        }\n\n        #${formElementId} .mktoOffset,\n        #${formElementId} .mktoGutter,\n        #${formElementId} .mktoClear {\n          display: none !important;\n        }\n\n        #${formElementId} .mktoLabel.mktoHasWidth,\n        #${formElementId} .mktoLabel[style*=\"width\"] {\n          width: auto !important;\n          max-width: 100% !important;\n        }\n\n        #${formElementId} .mktoField.mktoHasWidth,\n        #${formElementId} .mktoField[style*=\"width\"],\n        #${formElementId} input[style*=\"width\"],\n        #${formElementId} select[style*=\"width\"],\n        #${formElementId} textarea[style*=\"width\"] {\n          width: 100% !important;\n          max-width: 100% !important;\n        }\n\n        @media (max-width: 480px) {\n          #${formElementId} input[type=\"text\"],\n          #${formElementId} input[type=\"email\"],\n          #${formElementId} input[type=\"tel\"],\n          #${formElementId} input[type=\"url\"],\n          #${formElementId} input[type=\"date\"],\n          #${formElementId} input[type=\"number\"],\n          #${formElementId} textarea,\n          #${formElementId} select {\n            height: auto !important;\n            line-height: normal !important;\n            padding: 12px !important;\n            font-size: 1rem !important;\n          }\n        }\n\n        #${formElementId} .mktoButtonRow {\n          clear: both;\n          width: 100%;\n          margin-top: 0;\n        }\n\n        #${formElementId} .mktoButtonRow .mktoButton {\n          width: 100%;\n          padding: 16px;\n          font-size: 1rem;\n          font-weight: 600;\n          border: none;\n          border-radius: 8px;\n          background-color: #FF6600 !important;\n          color: #fff;\n          cursor: pointer;\n          transition: background-color 0.2s ease;\n          white-space: nowrap;\n          overflow: hidden;\n          text-overflow: ellipsis;\n          position: relative;\n          display: flex;\n          align-items: center;\n          justify-content: center;\n          gap: 8px;\n          -webkit-font-smoothing: antialiased;\n          -moz-osx-font-smoothing: grayscale;\n          text-shadow: none;\n          text-rendering: optimizeLegibility;\n        }\n\n        #${formElementId} .mktoButtonRow .mktoButton.submitting {\n          background-color: #cc5500 !important;\n          cursor: not-allowed;\n        }\n\n        #${formElementId} .mktoButtonRow .mktoButton .loading-spinner {\n          width: 16px;\n          height: 16px;\n          border: 2px solid rgba(255, 255, 255, 0.3);\n          border-top: 2px solid #fff;\n          border-radius: 50%;\n          animation: mkto-spin-${formId} 1s linear infinite;\n        }\n\n        #${formElementId} .mktoButtonRow .mktoButton:hover:not(:disabled) {\n          background-color: #e65c00 !important;\n        }\n\n        #${formElementId} .mktoNameRow {\n          display: flex;\n          gap: 16px;\n          width: 100%;\n          margin-bottom: 12px;\n        }\n\n        #${formElementId} .mktoNameRow .mktoFormRow {\n          flex: 1;\n          margin-bottom: 0 !important;\n        }\n\n        @media (max-width: 480px) {\n          #${formElementId} .mktoNameRow {\n            flex-direction: column;\n            gap: 0;\n          }\n\n          #${formElementId} .mktoNameRow .mktoFormRow {\n            width: 100%;\n            margin-bottom: 12px !important;\n          }\n\n          #${formElementId} .mktoNameRow .mktoFormRow:last-child {\n            margin-bottom: 0 !important;\n          }\n        }\n      `;document.head.appendChild(style);}let isMounted=true;let radioCheckInterval=null;let radioObserver=null;// 🟡 Fix 3: 姓名フィールド監視用のObserverを別途管理\nlet nameObserver=null;// 🔴 Fix 1: 送信タイムアウト管理\nlet submitTimeoutId=null;const loadMarketoForm=()=>{if(!window.MktoForms2)return;window.MktoForms2.loadForm(baseUrl,munchkinId,formId,function(form){if(!isMounted)return;setIsLoading(false);// 個人情報テキスト先頭の不要なbrを削除\nconst htmlTextEl=document.querySelector(`#${formElementId} .mktoHtmlText`);if(htmlTextEl){const br=htmlTextEl.querySelector(\"br\");if(br)br.remove();}// MarketoのデフォルトスタイルタグをJSで削除\nconst formEl=document.getElementById(formElementId);if(formEl){const mktoStyleTag=formEl.querySelector('style[type=\"text/css\"]');if(mktoStyleTag)mktoStyleTag.remove();}const applyButtonLabel=()=>{const btn=document.querySelector(`#${formElementId} .mktoButtonRow .mktoButton`);if(btn)btn.textContent=submitButtonLabel;};setTimeout(applyButtonLabel,100);// --- 🟡 Fix 3: 姓・名を MutationObserver で横並びにする ---\nconst groupNameFields=()=>{const lastNameInput=document.getElementById(\"LastName\");const firstNameInput=document.getElementById(\"FirstName\");if(!lastNameInput||!firstNameInput)return false;const getFormRow=el=>{let current=el;while(current&&!current.classList.contains(\"mktoFormRow\")){current=current.parentElement;}return current;};const lastNameRow=getFormRow(lastNameInput);const firstNameRow=getFormRow(firstNameInput);if(!lastNameRow||!firstNameRow)return false;const parent=lastNameRow.parentNode;if(!parent)return false;// 既にラップ済みならスキップ\nif(lastNameRow.closest(\".mktoNameRow\"))return true;const wrapper=document.createElement(\"div\");wrapper.className=\"mktoNameRow\";parent.insertBefore(wrapper,lastNameRow);wrapper.appendChild(lastNameRow);wrapper.appendChild(firstNameRow);return true;};// まず即時試行し、DOMがまだ揃っていなければObserverで監視\nif(!groupNameFields()){const formElement=document.getElementById(formElementId);if(formElement){nameObserver=new MutationObserver(()=>{if(groupNameFields()){nameObserver?.disconnect();nameObserver=null;}});nameObserver.observe(formElement,{childList:true,subtree:true});}}// --- ラジオボタン整形 ---\nconst reorganizeRadioList=()=>{const radioList=document.querySelector(`#${formElementId} .mktoRadioList`);if(!radioList)return;const inputs=Array.from(radioList.querySelectorAll('input[type=\"radio\"]'));const labels=Array.from(radioList.querySelectorAll(\"label\"));const pairs=inputs.map(input=>({input,label:labels.find(l=>l.getAttribute(\"for\")===input.id)})).filter(p=>p.label!=null);radioList.innerHTML=\"\";pairs.forEach(({input,label},index)=>{const wrapper=document.createElement(\"div\");wrapper.style.cssText=`display:flex;align-items:center;margin-bottom:${index<pairs.length-1?\"12px\":\"0\"}`;input.style.cssText=\"margin:0 8px 0 0;flex-shrink:0;width:20px;height:20px;cursor:pointer\";label.style.cssText=\"display:inline;margin:0;cursor:pointer;font-size:1rem;font-weight:normal\";wrapper.appendChild(input);wrapper.appendChild(label);radioList.appendChild(wrapper);});};const formElement=document.getElementById(formElementId);if(formElement){radioObserver=new MutationObserver(()=>{const radioList=formElement.querySelector(\".mktoRadioList\");if(radioList?.querySelector('input[type=\"radio\"]')){radioObserver?.disconnect();radioObserver=null;setTimeout(reorganizeRadioList,100);}});radioObserver.observe(formElement,{childList:true,subtree:true});}// フォールバック用インターバル（見つかり次第停止）\nlet radioCheckCount=0;radioCheckInterval=setInterval(()=>{const radioList=document.querySelector(`#${formElementId} .mktoRadioList`);if(radioList?.querySelectorAll('input[type=\"radio\"]').length){clearInterval(radioCheckInterval);radioCheckInterval=null;if(!radioList.querySelector(\"div\"))reorganizeRadioList();return;}if(++radioCheckCount>50){clearInterval(radioCheckInterval);radioCheckInterval=null;}},100);// --- 🔴 Fix 1: 送信ボタン状態管理（タイムアウトフォールバック付き）---\nconst setButtonState=(submitting,error=false)=>{const btn=document.querySelector(`#${formElementId} .mktoButtonRow .mktoButton`);if(!btn)return;if(submitting){btn.classList.add(\"submitting\");btn.disabled=true;btn.innerHTML=`<div class=\"loading-spinner\"></div><span>送信中...</span>`;}else if(error){btn.classList.remove(\"submitting\");btn.disabled=false;btn.textContent=\"送信に失敗しました。もう一度お試しください\";}else{btn.classList.remove(\"submitting\");btn.disabled=false;btn.textContent=submitButtonLabel;}};form.onSubmit(function(){setButtonState(true);// 15秒後に応答がなければエラー状態にリセット\nsubmitTimeoutId=setTimeout(()=>{setButtonState(false,true);},15e3);});form.onSuccess(function(){if(submitTimeoutId!==null){clearTimeout(submitTimeoutId);submitTimeoutId=null;}if(window.top){window.top.location.href=redirectUrl;}return false;});form.onValidate(function(valid){// バリデーション失敗時（送信前チェック）はボタンをリセット\nif(!valid){if(submitTimeoutId!==null){clearTimeout(submitTimeoutId);submitTimeoutId=null;}setButtonState(false);}});});};// Marketoスクリプトの二重読込を防止\nconst scriptSrc=`${baseUrl}/js/forms2/js/forms2.min.js`;const existingScript=document.querySelector(`script[src=\"${scriptSrc}\"]`);if(!window.MktoForms2&&!existingScript){const script=document.createElement(\"script\");script.src=scriptSrc;script.async=true;script.onload=()=>{if(isMounted)loadMarketoForm();};document.body.appendChild(script);}else if(window.MktoForms2){const existingForm=document.getElementById(formElementId);if(existingForm)existingForm.innerHTML=\"\";loadMarketoForm();}else if(existingScript){existingScript.addEventListener(\"load\",()=>{if(isMounted)loadMarketoForm();});}const handleResize=()=>{document.querySelectorAll(`#${formElementId} .mktoField`).forEach(el=>{if(el instanceof HTMLElement)el.style.width=\"\";});document.querySelectorAll(`#${formElementId} .mktoLabel`).forEach(el=>{if(el instanceof HTMLElement)el.style.width=\"\";});};window.addEventListener(\"resize\",handleResize);setTimeout(handleResize,500);return()=>{isMounted=false;window.removeEventListener(\"resize\",handleResize);// インターバル・タイマーのクリーンアップ\nif(radioCheckInterval!==null)clearInterval(radioCheckInterval);if(submitTimeoutId!==null)clearTimeout(submitTimeoutId);// Observerのクリーンアップ\nif(radioObserver!==null)radioObserver.disconnect();if(nameObserver!==null)nameObserver.disconnect();// 🔴 Fix 2: スタイルタグも削除（formId変更時に古いスタイルが残らないよう）\nconst styleEl=document.getElementById(styleId);if(styleEl)styleEl.remove();// フォームのクリア\nconst formElement=document.getElementById(formElementId);if(formElement)formElement.innerHTML=\"\";};},[formId,munchkinId,baseUrl,redirectUrl,submitButtonLabel]);const spinnerStyle={width:\"32px\",height:\"32px\",border:\"3px solid #e0e0e0\",borderTop:\"3px solid #FF6600\",borderRadius:\"50%\",animation:`mkto-spin-${formId} 1s linear infinite`};const formStyle={opacity:isLoading?0:1,transition:\"opacity 0.3s ease-in-out\"};return /*#__PURE__*/_jsxs(\"div\",{style:styles.wrapper,children:[isLoading&&/*#__PURE__*/_jsx(\"div\",{style:styles.loaderOverlay,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.loaderInner,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{style:styles.loaderText,children:\"フォームを読み込み中...\"})]})}),/*#__PURE__*/_jsx(\"form\",{id:formElementId,ref:formRef,style:formStyle})]});}addPropertyControls(MarketoForm,{baseUrl:{type:ControlType.String,title:\"Base URL\",defaultValue:\"//lp.cloudbase.ink\"},munchkinId:{type:ControlType.String,title:\"Munchkin ID\",defaultValue:\"196-EMS-523\"},formId:{type:ControlType.Number,title:\"Form ID\",defaultValue:14,min:1,step:1,displayStepper:true},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",defaultValue:\"https://cloudbase.ink/thanks_service-document\"},submitButtonLabel:{type:ControlType.String,title:\"送信ボタンのテキスト\",defaultValue:\"個人情報の取り扱いに同意の上送信\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"MarketoForm\":{\"type\":\"reactComponent\",\"name\":\"MarketoForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MarketoForm.map","// 画像選択で上の大きな画像が切り替わるスライドショーコンポーネント（最大3枚、16:9比率）\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Image Slideshow with Thumbnail Selection\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageSlider(props){const{image1={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},image2={src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},image3={src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},showImage2=true,showImage3=true,thumbnailSpacing=12,borderRadius=8,activeBorderColor=\"#0099FF\",activeBorderWidth=3,mainBorderColor=\"#cccccc\",mainBorderWidth=1}=props;const[activeIndex,setActiveIndex]=useState(0);const images=[image1];if(showImage2)images.push(image2);if(showImage3)images.push(image3);const handleThumbnailClick=index=>{startTransition(()=>{setActiveIndex(index);});};const containerWidth=props.style?.width===\"100%\"?\"100%\":\"600px\";const containerHeight=props.style?.height===\"100%\"?\"100%\":\"400px\";return /*#__PURE__*/_jsxs(\"div\",{style:{width:containerWidth,height:containerHeight,display:\"flex\",flexDirection:\"column\",gap:`${thumbnailSpacing}px`,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:1,width:\"100%\",borderRadius:`${borderRadius}px`,overflow:\"hidden\",backgroundColor:\"#f5f5f5\",border:`${mainBorderWidth}px solid ${mainBorderColor}`,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"img\",{src:images[activeIndex]?.src,alt:images[activeIndex]?.alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:`${thumbnailSpacing}px`,justifyContent:\"center\",alignItems:\"center\",width:\"100%\",overflow:\"hidden\"},children:images.map((image,index)=>/*#__PURE__*/_jsx(\"div\",{onClick:()=>handleThumbnailClick(index),style:{position:\"relative\",width:`calc((100% - ${thumbnailSpacing*(images.length-1)}px) / ${images.length})`,maxWidth:\"160px\",aspectRatio:\"16 / 9\",borderRadius:`${borderRadius/2}px`,overflow:\"hidden\",cursor:\"pointer\",border:activeIndex===index?`${activeBorderWidth}px solid ${activeBorderColor}`:`${activeBorderWidth}px solid transparent`,transition:\"border-color 0.2s ease\",backgroundColor:\"#f5f5f5\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})},index))})]});}addPropertyControls(ImageSlider,{image1:{type:ControlType.ResponsiveImage,title:\"Image 1\"},image2:{type:ControlType.ResponsiveImage,title:\"Image 2\"},image3:{type:ControlType.ResponsiveImage,title:\"Image 3\"},showImage2:{type:ControlType.Boolean,title:\"Show Image 2\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showImage3:{type:ControlType.Boolean,title:\"Show Image 3\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},thumbnailSpacing:{type:ControlType.Number,title:\"Thumbnail Spacing\",defaultValue:12,min:4,max:32,step:2,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:24,step:1,unit:\"px\"},activeBorderColor:{type:ControlType.Color,title:\"Active Border Color\",defaultValue:\"#0099FF\"},activeBorderWidth:{type:ControlType.Number,title:\"Active Border Width\",defaultValue:3,min:1,max:8,step:1,unit:\"px\"},mainBorderColor:{type:ControlType.Color,title:\"Main Border Color\",defaultValue:\"#cccccc\"},mainBorderWidth:{type:ControlType.Number,title:\"Main Border Width\",defaultValue:1,min:0,max:8,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageSlider\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"600\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageSlider.map"],"mappings":"oNACqY,SAAgB,EAAY,CAAC,UAAQ,qBAAqB,aAAW,cA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