{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ir0NEJQRSjXzNVqp6h4H/q2GU1iLm8C42lsNovCR7/Search_widget.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls}from\"framer\";export function BnovoWidget(props){const widgetRef=React.useRef(null);React.useEffect(()=>{// 1. Create a script element pointing to the external Bnovo script\nconst script=document.createElement(\"script\");script.src=\"//widget.reservationsteps.ru/js/bnovo.js\";script.async=true;// 2. When the script loads, initialize the Bnovo widget\nscript.onload=()=>{// Make sure the global Bnovo_Widget is available\nif(typeof window.Bnovo_Widget!==\"undefined\"){window.Bnovo_Widget.init(function(){window.Bnovo_Widget.open(\"_bn_widget_\",{type:\"horizontal\",uid:\"f829effd-e3cd-4b53-b625-d254c95b7bd6\",lang:\"ru\",currency:\"RUB\",width:\"100%\",width_mobile:\"300\",background:\"#ffffff\",background_mobile:\"#ffffff\",bg_alpha:\"100\",bg_alpha_mobile:\"100\",border_color_mobile:\"#C6CAD3\",padding:\"24\",padding_mobile:\"24\",border_radius:\"8\",button_font_size:\"14\",button_height:\"42\",font_type:\"inter\",title_color:\"#242742\",title_color_mobile:\"#242742\",title_size:\"22\",title_size_mobile:\"22\",inp_color:\"#242742\",inp_bordhover:\"#dedfe3\",inp_bordcolor:\"#BCBCBC\",inp_alpha:\"100\",btn_background:\"#1875F0\",btn_background_over:\"#1850D2\",btn_textcolor:\"#FFFFFF\",btn_textover:\"#FFFFFF\",btn_bordcolor:\"#1875F0\",btn_bordhover:\"#1850D2\",min_age:\"0\",max_age:\"17\",adults_default:\"1\",cancel_color:\"#FFFFFF\",url:\"https://garuda-hotel.ru/zabronirovat\",switch_mobiles_width:\"800\"});});}};// Append the script to the document body\ndocument.body.appendChild(script);// Cleanup if the component unmounts\nreturn()=>{// If you want to remove the script or do some cleanup, handle that here\nif(document.body.contains(script)){document.body.removeChild(script);}};},[]);// Return a simple container where the Bnovo widget will be mounted\nreturn /*#__PURE__*/_jsx(\"div\",{style:props.style,children:/*#__PURE__*/_jsx(\"div\",{id:\"_bn_widget_\",children:/*#__PURE__*/_jsx(\"a\",{href:\"https://bnovo.ru/\",id:\"_bnovo_link_\",target:\"_blank\",rel:\"noreferrer\",children:\"Bnovo\"})})});}// Optionally, add property controls to allow editing from the Framer UI\naddPropertyControls(BnovoWidget,{});\nexport const __FramerMetadata__ = {\"exports\":{\"BnovoWidget\":{\"type\":\"reactComponent\",\"name\":\"BnovoWidget\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Search_widget.map"],
  "mappings": "yIAAsH,SAASA,EAAYC,EAAM,CAAC,IAAMC,EAAgBC,EAAO,IAAI,EAAE,OAAMC,EAAU,IAAI,CACzM,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,2CAA2CA,EAAO,MAAM,GACjHA,EAAO,OAAO,IAAI,CACf,OAAOC,EAAO,aAAe,KAAaA,EAAO,aAAa,KAAK,UAAU,CAACA,EAAO,aAAa,KAAK,cAAc,CAAC,KAAK,aAAa,IAAI,uCAAuC,KAAK,KAAK,SAAS,MAAM,MAAM,OAAO,aAAa,MAAM,WAAW,UAAU,kBAAkB,UAAU,SAAS,MAAM,gBAAgB,MAAM,oBAAoB,UAAU,QAAQ,KAAK,eAAe,KAAK,cAAc,IAAI,iBAAiB,KAAK,cAAc,KAAK,UAAU,QAAQ,YAAY,UAAU,mBAAmB,UAAU,WAAW,KAAK,kBAAkB,KAAK,UAAU,UAAU,cAAc,UAAU,cAAc,UAAU,UAAU,MAAM,eAAe,UAAU,oBAAoB,UAAU,cAAc,UAAU,aAAa,UAAU,cAAc,UAAU,cAAc,UAAU,QAAQ,IAAI,QAAQ,KAAK,eAAe,IAAI,aAAa,UAAU,IAAI,uCAAuC,qBAAqB,KAAK,CAAC,CAAE,CAAC,CAAG,EACp6B,SAAS,KAAK,YAAYD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