{"version":3,"file":"for-sheets-embed.js","sources":["webpack://@jotforminc/umd-bundler/../../cdns/for-sheets-embed/src/index.js"],"sourcesContent":["((_window, _document) => {\n const embedContainer = _document.querySelector('.jotform-table-embed');\n\n const tableID = embedContainer.getAttribute('data-id');\n const iframeSource = embedContainer.hasAttribute('data-iframesource') ? embedContainer.getAttribute('data-iframesource') : 'www.jotform.com';\n\n const iframe = _document.createElement('iframe');\n\n iframe.src = `https://${iframeSource}/tables/${tableID}?embedMode=js`;\n iframe.scrolling = 'no';\n iframe.frameborder = 0;\n iframe.style.border = 'none';\n iframe.style.borderRadius = '6px';\n iframe.setAttribute('allowFullScreen', '');\n iframe.width = '100%';\n iframe.height = '100%';\n\n embedContainer.appendChild(iframe);\n})(window, document);\n"],"names":["_window","_document","embedContainer","querySelector","tableID","getAttribute","iframeSource","hasAttribute","iframe","createElement","src","scrolling","frameborder","style","border","borderRadius","setAttribute","width","height","appendChild","window","document"],"mappings":"6PAAC,CAAC,CAAAA,EAASC,KACT,IAAMC,EAAiBD,EAAUE,aAAa,CAAC,wBAEzCC,EAAUF,EAAeG,YAAY,CAAC,WACtCC,EAAeJ,EAAeK,YAAY,CAAC,qBAAuBL,EAAeG,YAAY,CAAC,qBAAuB,kBAErHG,EAASP,EAAUQ,aAAa,CAAC,SAEvCD,CAAAA,EAAOE,GAAG,CAAG,CAAC,QAAQ,EAAEJ,EAAa,QAAQ,EAAEF,EAAQ,aAAa,CAAC,CACrEI,EAAOG,SAAS,CAAG,KACnBH,EAAOI,WAAW,CAAG,EACrBJ,EAAOK,KAAK,CAACC,MAAM,CAAG,OACtBN,EAAOK,KAAK,CAACE,YAAY,CAAG,MAC5BP,EAAOQ,YAAY,CAAC,kBAAmB,IACvCR,EAAOS,KAAK,CAAG,OACfT,EAAOU,MAAM,CAAG,OAEhBhB,EAAeiB,WAAW,CAACX,EAC7B,GAAGY,OAAQC,U"}