{"id":164,"date":"2026-05-13T08:49:57","date_gmt":"2026-05-13T08:49:57","guid":{"rendered":"https:\/\/cashchat.se\/dir\/?page_id=164"},"modified":"2026-05-13T08:49:57","modified_gmt":"2026-05-13T08:49:57","slug":"suite","status":"publish","type":"page","link":"https:\/\/cashchat.se\/dir\/suite\/","title":{"rendered":"Suite"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=yes\">\n    <title>Adase Ads Ltd | Document &#038; Certificate Hub<\/title>\n    <!-- Font Awesome, Google Fonts, and external libs -->\n    <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.0.0-beta3\/css\/all.min.css\">\n    <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&#038;display=swap\" rel=\"stylesheet\">\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/html2canvas\/1.4.1\/html2canvas.min.js\"><\/script>\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jspdf\/2.5.1\/jspdf.umd.min.js\"><\/script>\n    <script src=\"https:\/\/cdn.sheetjs.com\/xlsx-0.20.2\/package\/dist\/xlsx.full.min.js\"><\/script>\n    <style>\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n        }\n        body {\n            background: #f0f4f8;\n            font-family: 'Inter', sans-serif;\n            padding: 2rem 1rem;\n            color: #1e2a3e;\n        }\n        .container {\n            max-width: 1400px;\n            margin: 0 auto;\n        }\n        h1 {\n            font-size: 2rem;\n            font-weight: 700;\n            background: linear-gradient(135deg, #0b2b44, #1d6f9c);\n            -webkit-background-clip: text;\n            background-clip: text;\n            color: transparent;\n            margin-bottom: 0.5rem;\n        }\n        .sub {\n            color: #2c3e66;\n            border-left: 4px solid #1d6f9c;\n            padding-left: 1rem;\n            margin-bottom: 2rem;\n        }\n        \/* tabs \/ categories *\/\n        .category-nav {\n            display: flex;\n            flex-wrap: wrap;\n            gap: 0.6rem;\n            margin-bottom: 2rem;\n            border-bottom: 2px solid #dce4ec;\n            padding-bottom: 0.8rem;\n        }\n        .cat-btn {\n            background: white;\n            border: none;\n            padding: 0.6rem 1.4rem;\n            border-radius: 40px;\n            font-weight: 600;\n            cursor: pointer;\n            transition: all 0.2s;\n            box-shadow: 0 1px 2px rgba(0,0,0,0.05);\n            color: #2c3e66;\n        }\n        .cat-btn.active {\n            background: #1d6f9c;\n            color: white;\n            box-shadow: 0 4px 10px rgba(29,111,156,0.3);\n        }\n        .cat-btn:hover:not(.active) {\n            background: #e2ecf5;\n        }\n        .doc-section {\n            display: none;\n            animation: fade 0.3s;\n        }\n        .doc-section.active-section {\n            display: block;\n        }\n        @keyframes fade {\n            from { opacity: 0; transform: translateY(5px);}\n            to { opacity: 1; transform: translateY(0);}\n        }\n        .grid {\n            display: grid;\n            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));\n            gap: 1.8rem;\n        }\n        .doc-card {\n            background: white;\n            border-radius: 24px;\n            box-shadow: 0 8px 20px rgba(0,0,0,0.05);\n            overflow: hidden;\n            transition: transform 0.1s ease;\n            display: flex;\n            flex-direction: column;\n        }\n        .card-header {\n            background: #f8fafd;\n            padding: 1rem 1.2rem;\n            border-bottom: 1px solid #e9edf2;\n            font-weight: 700;\n            font-size: 1.2rem;\n            color: #0b2b44;\n        }\n        .card-body {\n            padding: 1.2rem;\n            flex: 1;\n        }\n        .form-group {\n            margin-bottom: 1rem;\n        }\n        label {\n            font-size: 0.75rem;\n            font-weight: 600;\n            text-transform: uppercase;\n            letter-spacing: 0.5px;\n            color: #4a627a;\n            display: block;\n            margin-bottom: 0.2rem;\n        }\n        input, textarea, select {\n            width: 100%;\n            padding: 0.6rem 0.8rem;\n            border: 1px solid #cbd5e1;\n            border-radius: 14px;\n            font-family: 'Inter', monospace;\n            font-size: 0.85rem;\n            background: #fff;\n        }\n        textarea {\n            resize: vertical;\n            min-height: 60px;\n        }\n        .preview-area {\n            background: #fafcff;\n            border: 1px dashed #b9d0e7;\n            border-radius: 16px;\n            padding: 1rem;\n            margin: 1rem 0;\n            font-size: 0.7rem;\n            max-height: 180px;\n            overflow: auto;\n            font-family: monospace;\n            white-space: pre-wrap;\n        }\n        .btn-group {\n            display: flex;\n            flex-wrap: wrap;\n            gap: 8px;\n            margin-top: 12px;\n        }\n        .btn {\n            border: none;\n            background: #eef2f7;\n            padding: 0.5rem 1rem;\n            border-radius: 30px;\n            font-weight: 500;\n            font-size: 0.75rem;\n            cursor: pointer;\n            transition: 0.1s;\n            display: inline-flex;\n            align-items: center;\n            gap: 6px;\n        }\n        .btn-primary {\n            background: #1d6f9c;\n            color: white;\n        }\n        .btn-excel {\n            background: #2e7d64;\n            color: white;\n        }\n        .btn-pdf {\n            background: #b22234;\n            color: white;\n        }\n        .btn-png {\n            background: #2c5f8a;\n            color: white;\n        }\n        .certificate-container {\n            background: white;\n            padding: 1rem;\n            border-radius: 20px;\n            box-shadow: 0 8px 20px rgba(0,0,0,0.1);\n            margin-top: 1rem;\n        }\n        .certificate-preview {\n            background: #fffcf0;\n            border: 2px solid #e9c46a;\n            border-radius: 20px;\n            padding: 1.8rem;\n            text-align: center;\n            position: relative;\n            font-family: 'Times New Roman', Georgia, serif;\n        }\n        .seal {\n            position: absolute;\n            bottom: 20px;\n            right: 30px;\n            width: 90px;\n            height: 90px;\n            border-radius: 50%;\n            border: 3px double #b8860b;\n            background: rgba(255,215,0,0.08);\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            font-size: 10px;\n            text-align: center;\n            font-weight: bold;\n            color: #8B5A2B;\n            transform: rotate(-8deg);\n            backdrop-filter: blur(1px);\n        }\n        .seal span {\n            display: block;\n            font-size: 8px;\n            letter-spacing: 1px;\n        }\n        .cert-title {\n            font-size: 28px;\n            font-weight: bold;\n            margin: 20px 0 5px;\n            text-transform: uppercase;\n        }\n        .footer-note {\n            margin-top: 2rem;\n            text-align: center;\n            font-size: 0.75rem;\n            color: #5f7d9c;\n        }\n        @media (max-width: 640px) {\n            .grid {\n                grid-template-columns: 1fr;\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>\ud83d\udcc4 Adase Ads Ltd <span style=\"font-weight:400;\">| Digital Document &#038; Certificate Suite<\/span><\/h1>\n    <div class=\"sub\">Editable templates \u2022 Download as PDF \/ PNG \/ Excel \u2022 International-grade certificates with corporate seal<\/div>\n\n    <!-- category tabs -->\n    <div class=\"category-nav\">\n        <button class=\"cat-btn active\" data-cat=\"certificates\">\ud83c\udfc5 Certificates &#038; Seals<\/button>\n        <button class=\"cat-btn\" data-cat=\"legal\">\u2696\ufe0f Legal &#038; Corporate Docs<\/button>\n        <button class=\"cat-btn\" data-cat=\"financial\">\ud83d\udcca Financial &#038; Excel Models<\/button>\n        <button class=\"cat-btn\" data-cat=\"investor\">\ud83d\udcc8 Investor &#038; Noteholder<\/button>\n    <\/div>\n\n    <!-- Certificates Section -->\n    <div id=\"certificates\" class=\"doc-section active-section\">\n        <div class=\"grid\">\n            <!-- Share Certificate -->\n            <div class=\"doc-card\" data-doc-type=\"share-cert\">\n                <div class=\"card-header\"><i class=\"fas fa-certificate\"><\/i> Share Certificate (Ordinary Shares)<\/div>\n                <div class=\"card-body\">\n                    <div class=\"form-group\"><label>Shareholder Name<\/label><input type=\"text\" id=\"shareName\" placeholder=\"Enter full name\" value=\"John M. Investor\"><\/div>\n                    <div class=\"form-group\"><label>Number of Shares<\/label><input type=\"text\" id=\"shareQty\" value=\"10,000\"><\/div>\n                    <div class=\"form-group\"><label>Share Certificate No.<\/label><input type=\"text\" id=\"shareCertNo\" value=\"AD-001\"><\/div>\n                    <div class=\"form-group\"><label>Issue Date<\/label><input type=\"date\" id=\"shareDate\" value=\"2026-11-01\"><\/div>\n                    <div class=\"preview-area\" id=\"sharePreview\"><\/div>\n                    <div class=\"btn-group\"><button class=\"btn btn-pdf\" onclick=\"downloadCertificateAs('share','pdf')\"><i class=\"fas fa-file-pdf\"><\/i>PDF<\/button>\n                    <button class=\"btn btn-png\" onclick=\"downloadCertificateAs('share','png')\"><i class=\"fas fa-image\"><\/i>PNG<\/button><\/div>\n                <\/div>\n            <\/div>\n            <!-- Noteholder Register Certificate -->\n            <div class=\"doc-card\" data-doc-type=\"note-cert\">\n                <div class=\"card-header\"><i class=\"fas fa-registered\"><\/i> Noteholder Register Certificate<\/div>\n                <div class=\"card-body\">\n                    <div class=\"form-group\"><label>Noteholder Name<\/label><input type=\"text\" id=\"noteHolderName\" value=\"Capital Partners Ltd\"><\/div>\n                    <div class=\"form-group\"><label>Note Number<\/label><input type=\"text\" id=\"noteNumber\" value=\"CN-009\"><\/div>\n                    <div class=\"form-group\"><label>Principal Amount (USD)<\/label><input type=\"text\" id=\"notePrincipal\" value=\"250,000\"><\/div>\n                    <div class=\"form-group\"><label>Maturity Date<\/label><input type=\"date\" id=\"noteMaturity\" value=\"2028-12-31\"><\/div>\n                    <div class=\"preview-area\" id=\"noteCertPreview\"><\/div>\n                    <div class=\"btn-group\"><button class=\"btn btn-pdf\" onclick=\"downloadCertificateAs('notecert','pdf')\">PDF<\/button>\n                    <button class=\"btn btn-png\" onclick=\"downloadCertificateAs('notecert','png')\">PNG<\/button><\/div>\n                <\/div>\n            <\/div>\n            <!-- Convertible Promissory Note Preview \/ Download Template -->\n            <div class=\"doc-card\">\n                <div class=\"card-header\"><i class=\"fas fa-file-signature\"><\/i> Convertible Note (Editable)<\/div>\n                <div class=\"card-body\">\n                    <div class=\"form-group\"><label>Noteholder<\/label><input type=\"text\" id=\"cnHolder\" value=\"ABC Angel\"><\/div>\n                    <div class=\"form-group\"><label>Principal ($)<\/label><input type=\"text\" id=\"cnPrincipal\" value=\"100,000\"><\/div>\n                    <div class=\"form-group\"><label>Interest Rate (%)<\/label><input type=\"text\" id=\"cnRate\" value=\"8\"><\/div>\n                    <div class=\"form-group\"><label>Discount (%)<\/label><input type=\"text\" id=\"cnDiscount\" value=\"20\"><\/div>\n                    <div class=\"preview-area\" id=\"cnPreview\"><\/div>\n                    <div class=\"btn-group\"><button class=\"btn btn-pdf\" onclick=\"downloadDocAsPDF('cnPreview','Convertible_Note')\">PDF Note<\/button><\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <!-- Legal & Corporate Documents -->\n    <div id=\"legal\" class=\"doc-section\">\n        <div class=\"grid\">\n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-gavel\"><\/i> Board Resolution Template<\/div>\n            <div class=\"card-body\"><div class=\"form-group\"><label>Resolution Title<\/label><input id=\"resTitle\" value=\"Approval of Convertible Note Issuance\"><\/div>\n            <div class=\"form-group\"><label>Date of Resolution<\/label><input type=\"date\" id=\"resDate\" value=\"2026-11-10\"><\/div>\n            <div class=\"form-group\"><label>Body text (custom)<\/label><textarea id=\"resBody\">The Board authorises the issuance of up to $2,500,000 convertible notes.<\/textarea><\/div>\n            <button class=\"btn btn-pdf\" onclick=\"downloadEditableTextAsPDF('resBody','BoardResolution')\">Download PDF<\/button><\/div><\/div>\n            \n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-handshake\"><\/i> Share Subscription Agreement (Seed)<\/div>\n            <div class=\"card-body\"><div class=\"form-group\"><label>Investor Name<\/label><input id=\"subInvestor\" value=\"Genesis Capital\"><\/div>\n            <div class=\"form-group\"><label>Shares<\/label><input id=\"subShares\" value=\"10,000\"><\/div>\n            <div class=\"form-group\"><label>Price per share ($)<\/label><input id=\"subPrice\" value=\"25\"><\/div>\n            <div class=\"preview-area\" id=\"subPreview\"><\/div>\n            <button class=\"btn btn-pdf\" onclick=\"downloadDocAsPDF('subPreview','Subscription_Agreement')\">PDF<\/button><\/div><\/div>\n            \n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-lock\"><\/i> Personal Guarantee (Director)<\/div>\n            <div class=\"card-body\"><div class=\"form-group\"><label>Guarantor Name<\/label><input id=\"guarantorName\" value=\"Peter Knox Sengendo\"><\/div>\n            <div class=\"form-group\"><label>Max Liability (USD)<\/label><input id=\"guarantorLimit\" value=\"500,000\"><\/div>\n            <button class=\"btn btn-pdf\" onclick=\"downloadDynamicTextPDF(guarantorName.value, guarantorLimit.value)\">Generate PDF<\/button><\/div><\/div>\n        <\/div>\n    <\/div>\n\n    <!-- Financial & Excel -->\n    <div id=\"financial\" class=\"doc-section\">\n        <div class=\"grid\">\n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-chart-line\"><\/i> Financial Model (Excel)<\/div>\n            <div class=\"card-body\"><p>Download pre-filled 3-year P&#038;L &#038; cash flow template (Excel).<\/p>\n            <button class=\"btn btn-excel\" id=\"excelBtn\"><i class=\"fas fa-file-excel\"><\/i> Export Excel Model<\/button>\n            <button class=\"btn btn-pdf\" onclick=\"alert('Excel model preview: use Excel download for full sheet')\">Quick view PDF<\/button><\/div><\/div>\n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-coins\"><\/i> Revenue &#038; Use of Funds (Excel)<\/div>\n            <div class=\"card-body\"><p>Use of proceeds + revenue streams editable table \u2192 Excel<\/p>\n            <button class=\"btn btn-excel\" id=\"excelUseBtn\">Download Use of Funds Excel<\/button><\/div><\/div>\n        <\/div>\n    <\/div>\n\n    <!-- Investor & Noteholder -->\n    <div id=\"investor\" class=\"doc-section\">\n        <div class=\"grid\">\n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-envelope-open-text\"><\/i> Qualified Financing Notice (email template)<\/div>\n            <div class=\"card-body\"><textarea id=\"emailNotice\" rows=\"4\">Dear Investor, Qualified financing event triggered. Your note converts at 20% discount. Shares will be issued.<\/textarea>\n            <button class=\"btn btn-pdf\" onclick=\"downloadDocAsPDF('emailNotice','NoticeEmail')\">Download PDF \/ PNG<\/button><button class=\"btn btn-png\" onclick=\"downloadElementAsPNG('emailNotice','notice')\">PNG<\/button><\/div><\/div>\n            <div class=\"doc-card\"><div class=\"card-header\"><i class=\"fas fa-chart-simple\"><\/i> Quarterly Report Summary<\/div><div class=\"card-body\"><textarea id=\"quarterlyText\">Revenue $3.2M, Users 80k, cash runway 12 months.<\/textarea><button class=\"btn btn-pdf\" onclick=\"downloadDocAsPDF('quarterlyText','QuarterlyReport')\">PDF<\/button><\/div><\/div>\n        <\/div>\n    <\/div>\n    <div class=\"footer-note\">\ud83d\udcdc All certificates include the Adase Ads Ltd seal. Certificates fit A4 size. Editable fields instantly update previews.<\/div>\n<\/div>\n\n<script>\n    \/\/ Helper to render previews & seal generators\n    function renderSharePreview() {\n        const name = document.getElementById('shareName')?.value || 'Holder';\n        const qty = document.getElementById('shareQty')?.value || '0';\n        const certNo = document.getElementById('shareCertNo')?.value || 'N\/A';\n        const date = document.getElementById('shareDate')?.value || new Date().toISOString().slice(0,10);\n        const html = `ORDINARY SHARE CERTIFICATE\\nAdase Ads Ltd (Reg. 80034558417273)\\n\\nThis certifies that ${name} is the registered owner of ${qty} ordinary shares.\\nCertificate No: ${certNo}  |  Issue Date: ${date}\\n\\n(Seal) \u2013 Authorised by Board.`;\n        document.getElementById('sharePreview').innerText = html;\n    }\n    function renderNoteCertPreview() {\n        const name = document.getElementById('noteHolderName')?.value || '';\n        const noteNum = document.getElementById('noteNumber')?.value || '';\n        const principal = document.getElementById('notePrincipal')?.value || '';\n        const maturity = document.getElementById('noteMaturity')?.value || '';\n        const pre = `NOTEHOLDER REGISTER CERTIFICATE\\nAdase Ads Ltd\\n\\nNoteholder: ${name}\\nNote Number: ${noteNum}\\nPrincipal Amount: USD ${principal}\\nMaturity: ${maturity}\\nThis certificate confirms registration in the Convertible Note Register.`;\n        document.getElementById('noteCertPreview').innerText = pre;\n    }\n    function renderCNPreview() {\n        const holder = document.getElementById('cnHolder')?.value || '';\n        const prin = document.getElementById('cnPrincipal')?.value || '';\n        const rate = document.getElementById('cnRate')?.value || '';\n        const disc = document.getElementById('cnDiscount')?.value || '';\n        document.getElementById('cnPreview').innerText = `CONVERTIBLE PROMISSORY NOTE\\nIssuer: Adase Ads Ltd\\nHolder: ${holder}\\nPrincipal: $${prin} | Interest: ${rate}% | Conversion Discount: ${disc}%\\nMaturity: 24 months from issue.`;\n    }\n    function renderSubPreview() {\n        const inv = document.getElementById('subInvestor')?.value || '';\n        const shares = document.getElementById('subShares')?.value || '';\n        const price = document.getElementById('subPrice')?.value || '';\n        document.getElementById('subPreview').innerText = `SHARE SUBSCRIPTION AGREEMENT (SEED) \\nInvestor: ${inv} \\nSubscription for ${shares} ordinary shares at $${price}\/share = Total $${parseInt(shares)*parseFloat(price)||0}. Standard representations.`;\n    }\n    \/\/ attach events\n    ['shareName','shareQty','shareCertNo','shareDate'].forEach(id => document.getElementById(id)?.addEventListener('input', renderSharePreview));\n    ['noteHolderName','noteNumber','notePrincipal','noteMaturity'].forEach(id => document.getElementById(id)?.addEventListener('input', renderNoteCertPreview));\n    ['cnHolder','cnPrincipal','cnRate','cnDiscount'].forEach(id => document.getElementById(id)?.addEventListener('input', renderCNPreview));\n    ['subInvestor','subShares','subPrice'].forEach(id => document.getElementById(id)?.addEventListener('input', renderSubPreview));\n    renderSharePreview(); renderNoteCertPreview(); renderCNPreview(); renderSubPreview();\n\n    \/\/ Full certificate download (HTML + Seal) -> PDF\/PNG using html2canvas\n    async function downloadCertificateAs(type, format) {\n        let containerDiv = null;\n        let title = \"\";\n        let dynamicFields = {};\n        if(type === 'share') {\n            title = \"Share Certificate\";\n            dynamicFields = { name: document.getElementById('shareName').value, qty: document.getElementById('shareQty').value, certNo: document.getElementById('shareCertNo').value, date: document.getElementById('shareDate').value };\n        } else {\n            title = \"Noteholder Certificate\";\n            dynamicFields = { name: document.getElementById('noteHolderName').value, noteNum: document.getElementById('noteNumber').value, principal: document.getElementById('notePrincipal').value, maturity: document.getElementById('noteMaturity').value };\n        }\n        const certWrapper = document.createElement('div');\n        certWrapper.style.width = \"800px\";\n        certWrapper.style.background = \"#fffcf0\";\n        certWrapper.style.padding = \"30px\";\n        certWrapper.style.borderRadius = \"24px\";\n        certWrapper.style.fontFamily = \"'Times New Roman', serif\";\n        certWrapper.style.position = \"relative\";\n        certWrapper.style.border = \"2px solid #d4af37\";\n        certWrapper.style.boxShadow = \"0 10px 30px rgba(0,0,0,0.1)\";\n        \/\/ header \n        certWrapper.innerHTML = `\n            <div style=\"text-align:center; margin-bottom:20px;\">\n                <div style=\"font-size:12px; letter-spacing:2px;\">ADASE ADS LTD<\/div>\n                <div style=\"font-size:32px; font-weight:bold; margin:10px 0;\">${title}<\/div>\n                <div style=\"border-top:2px solid #c2a13f; width:100px; margin:0 auto;\"><\/div>\n            <\/div>\n            <div style=\"margin:20px 0; line-height:1.6; font-size:18px;\">\n                <p>This is to certify that <strong>${dynamicFields.name}<\/strong> is the registered holder of <strong>${dynamicFields.qty || dynamicFields.noteNum}<\/strong> \n                ${type==='share' ? `ordinary shares in Adase Ads Ltd (Certificate No. ${dynamicFields.certNo})` : `Convertible Promissory Note (${dynamicFields.noteNum}) with principal amount USD ${dynamicFields.principal}. Maturity: ${dynamicFields.maturity}`}<\/p>\n                <p>Given under the seal of the Company this ${new Date().toLocaleDateString()}.<\/p>\n            <\/div>\n            <div style=\"margin-top:40px; display:flex; justify-content:space-between;\">\n                <div>____________________<br\/>Director<\/div>\n                <div>____________________<br\/>Secretary<\/div>\n            <\/div>\n        `;\n        \/\/ add seal element\n        const sealDiv = document.createElement('div');\n        sealDiv.className = \"seal\";\n        sealDiv.style.position = \"absolute\";\n        sealDiv.style.bottom = \"40px\";\n        sealDiv.style.right = \"50px\";\n        sealDiv.style.width = \"100px\";\n        sealDiv.style.height = \"100px\";\n        sealDiv.style.borderRadius = \"50%\";\n        sealDiv.style.border = \"3px double #b8860b\";\n        sealDiv.style.display = \"flex\";\n        sealDiv.style.alignItems = \"center\";\n        sealDiv.style.justifyContent = \"center\";\n        sealDiv.style.flexDirection = \"column\";\n        sealDiv.style.background = \"rgba(218,165,32,0.1)\";\n        sealDiv.innerHTML = `<span style=\"font-size:10px; font-weight:bold;\">ADASE ADS LTD<\/span><span style=\"font-size:8px;\">\u25cf SEAL \u25cf<\/span><span> Uganda<\/span>`;\n        certWrapper.appendChild(sealDiv);\n        document.body.appendChild(certWrapper);\n        try {\n            const canvas = await html2canvas(certWrapper, { scale: 3, backgroundColor: '#fffcf0' });\n            document.body.removeChild(certWrapper);\n            if (format === 'png') {\n                const link = document.createElement('a');\n                link.download = `${title.replace(\/\\s\/g,'_')}.png`;\n                link.href = canvas.toDataURL();\n                link.click();\n            } else {\n                const { jsPDF } = window.jspdf;\n                const imgData = canvas.toDataURL('image\/png');\n                const pdf = new jsPDF({ unit: 'mm', format: 'a4', orientation: 'portrait' });\n                const imgWidth = 190;\n                const pageHeight = 277;\n                const imgHeight = (canvas.height * imgWidth) \/ canvas.width;\n                pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight);\n                pdf.save(`${title}.pdf`);\n            }\n        } catch(e) { alert(\"Capture error: \"+e); document.body.removeChild(certWrapper); }\n    }\n\n    \/\/ generic download PDF from preview element\n    async function downloadDocAsPDF(elementId, filename) {\n        const el = document.getElementById(elementId);\n        if(!el) return;\n        const wrapper = document.createElement('div');\n        wrapper.style.padding = '20px';\n        wrapper.style.background = 'white';\n        wrapper.style.fontFamily = 'Inter, monospace';\n        wrapper.style.width = '700px';\n        wrapper.innerText = el.innerText || el.value;\n        document.body.appendChild(wrapper);\n        const canvas = await html2canvas(wrapper, { scale: 2 });\n        document.body.removeChild(wrapper);\n        const { jsPDF } = window.jspdf;\n        const img = canvas.toDataURL('image\/png');\n        const pdf = new jsPDF({ unit: 'mm', format: 'a4' });\n        pdf.addImage(img, 'PNG', 10, 10, 190, (canvas.height * 190\/canvas.width));\n        pdf.save(`${filename}.pdf`);\n    }\n    async function downloadElementAsPNG(elementId, name) {\n        const el = document.getElementById(elementId);\n        const wrap = document.createElement('div');\n        wrap.style.background = '#fff'; wrap.style.padding = '20px';\n        wrap.innerText = el.value;\n        document.body.appendChild(wrap);\n        const canvas = await html2canvas(wrap);\n        document.body.removeChild(wrap);\n        const link = document.createElement('a');\n        link.download = `${name}.png`;\n        link.href = canvas.toDataURL();\n        link.click();\n    }\n    function downloadDynamicTextPDF(guarantor, limit) {\n        const content = `PERSONAL GUARANTEE\\n\\nGuarantor: ${guarantor}\\nMax Liability: USD ${limit}\\nExecution Date: ${new Date().toLocaleDateString()}\\n\\nIn favour of Adase Ads Ltd Noteholders.`;\n        const wrapper = document.createElement('div');\n        wrapper.style.whiteSpace = 'pre-wrap';\n        wrapper.innerText = content;\n        document.body.appendChild(wrapper);\n        html2canvas(wrapper).then(canvas => {\n            document.body.removeChild(wrapper);\n            const { jsPDF } = window.jspdf;\n            const pdf = new jsPDF();\n            pdf.addImage(canvas.toDataURL(), 'PNG', 10, 10, 180, 0);\n            pdf.save('Personal_Guarantee.pdf');\n        });\n    }\n\n    \/\/ Excel model generation\n    document.getElementById('excelBtn')?.addEventListener('click', () => {\n        const wsData = [[\"Year\", \"Revenue\", \"Net Profit\", \"Users\"], [\"Year 1\", 17460000, 7444650, 200000], [\"Year 2\", 63175000, 31044563, 500000], [\"Year 3\", 157600000, 81723000, 1200000]];\n        const ws = XLSX.utils.aoa_to_sheet(wsData);\n        const wb = XLSX.utils.book_new();\n        XLSX.utils.book_append_sheet(wb, ws, \"Financial_Model\");\n        XLSX.writeFile(wb, \"Adase_Financial_Model.xlsx\");\n    });\n    document.getElementById('excelUseBtn')?.addEventListener('click', () => {\n        const data = [[\"Category\", \"Amount (USD)\"], [\"Hosting & AI\", 120000], [\"Marketing\", 100000], [\"Working Capital\", 30000]];\n        const ws = XLSX.utils.aoa_to_sheet(data);\n        const wb = XLSX.utils.book_new();\n        XLSX.utils.book_append_sheet(wb, ws, \"Use_of_Funds\");\n        XLSX.writeFile(wb, \"Use_of_Proceeds.xlsx\");\n    });\n\n    \/\/ category switching\n    const btns = document.querySelectorAll('.cat-btn');\n    const sections = { certificates: document.getElementById('certificates'), legal: document.getElementById('legal'), financial: document.getElementById('financial'), investor: document.getElementById('investor') };\n    btns.forEach(btn => {\n        btn.addEventListener('click', () => {\n            const cat = btn.getAttribute('data-cat');\n            Object.values(sections).forEach(sec => sec.classList.remove('active-section'));\n            sections[cat].classList.add('active-section');\n            btns.forEach(b => b.classList.remove('active'));\n            btn.classList.add('active');\n        });\n    });\n<\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Adase Ads Ltd | Document &#038; Certificate Hub \ud83d\udcc4 Adase Ads Ltd | Digital Document &#038; Certificate Suite Editable templates \u2022 Download as PDF \/ PNG \/ Excel \u2022 International-grade certificates with corporate seal \ud83c\udfc5 Certificates &#038; Seals \u2696\ufe0f Legal &#038; Corporate Docs \ud83d\udcca Financial &#038; Excel Models \ud83d\udcc8 Investor &#038; Noteholder Share Certificate (Ordinary [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"class_list":["post-164","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/pages\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":1,"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/pages\/164\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/pages\/164\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/cashchat.se\/dir\/wp-json\/wp\/v2\/media?parent=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}