{"version":3,"file":"PDF_Viewer.D7cixpfx.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RR1XhbQVQ5eso5mqLxDE/Jj87AqmotHfjAHLPwWVm/PDF_Viewer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function GoogleDrivePDFViewer({fileId,width=\"100%\",height=\"100%\",showBorder=false,backgroundColor=\"#FFFFFF\"}){const viewerUrl=`https://drive.google.com/file/d/${fileId}/preview`;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",minHeight:\"500px\",position:\"relative\",backgroundColor,borderRadius:showBorder?\"12px\":\"0\",border:showBorder?\"1px solid #E2E8F0\":\"none\",boxShadow:showBorder?\"0 2px 4px rgba(0,0,0,0.05)\":\"none\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:viewerUrl,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",border:\"none\",backgroundColor:\"transparent\"},allow:\"autoplay\",title:\"PDF Viewer\"})});}addPropertyControls(GoogleDrivePDFViewer,{fileId:{type:ControlType.String,title:\"File ID\",defaultValue:\"\",placeholder:\"Enter Google Drive File ID\"},showBorder:{type:ControlType.Boolean,title:\"Show Border\",defaultValue:false},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleDrivePDFViewer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PDF_Viewer.map"],"mappings":"iOAA+F,SAAwB,EAAqB,CAAC,SAAO,QAAM,OAAO,SAAO,OAAO,aAAW,GAAM,kBAAgB,WAAW,CAAC,IAAM,EAAU,mCAAmC,EAAO,UAAU,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,SAAS,WAAW,kBAAgB,aAAa,EAAW,OAAO,IAAI,OAAO,EAAW,oBAAoB,OAAO,UAAU,EAAW,6BAA6B,OAAO,SAAS,SAAS,CAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAU,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,gBAAgB,cAAc,CAAC,MAAM,WAAW,MAAM,aAAa,CAAC,CAAC,CAAC,kBAAntB,IAAoD,CAAiqB,EAAoB,EAAqB,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,GAAG,YAAY,6BAA6B,CAAC,WAAW,CAAC,KAAK,EAAY,QAAQ,MAAM,cAAc,aAAa,GAAM,CAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,mBAAmB,aAAa,UAAU,CAAC,CAAC"}