{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "create-block/testimonial-block",
  "version": "0.1.0",
  "title": "Testimonial Block (Free)",
  "category": "adaire-blocks-free",
  "description": "A testimonial block in a customizable carousel",
  "example": {},
  "supports": {
    "html": false,
    "anchor": true
  },
  "textdomain": "testimonial-block",
  "icon": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g clip-path=\"url(#clip0_57_242)\">\n<rect width=\"24\" height=\"24\" rx=\"5\" fill=\"#F0F0F1\"/>\n<g clip-path=\"url(#clip1_57_242)\">\n<path d=\"M16.8288 6.92745H14.5954C14.7855 6.4503 14.888 5.95175 14.8993 5.44885C14.9219 4.94849 14.6774 4.4363 14.2914 4.17371C14.1917 4.10071 14.0727 4.0485 13.9442 4.02136C13.8157 3.99423 13.6813 3.99292 13.5521 4.01756C13.4207 4.0462 13.3006 4.10324 13.2039 4.18296C13.1071 4.26268 13.0371 4.36229 13.0008 4.47179L12.8369 4.94494C12.6046 5.61454 12.2095 6.23674 11.6763 6.7725L11.2268 7.22317C11.1874 7.03056 11.0679 6.85581 10.8894 6.72982C10.7109 6.60384 10.4849 6.53473 10.2514 6.53474H7.70692C7.44449 6.53474 7.1928 6.62197 7.00723 6.77726C6.82166 6.93254 6.71741 7.14315 6.71741 7.36275V12.5958C6.71741 12.8154 6.82166 13.026 7.00723 13.1813C7.1928 13.3366 7.44449 13.4238 7.70692 13.4238H10.2514C10.4998 13.4246 10.7394 13.3472 10.9227 13.2069C11.106 13.0667 11.2196 12.8739 11.2409 12.6668L11.9732 12.875C12.1434 12.9235 12.322 12.9483 12.5018 12.9483H16.3892C16.6885 12.9505 16.9771 12.8558 17.195 12.6841C17.4128 12.5124 17.543 12.2769 17.5583 12.0269C17.5677 11.806 17.4836 11.5894 17.3208 11.4153C17.4581 11.34 17.5741 11.2406 17.6609 11.124C17.7476 11.0075 17.803 10.8765 17.8232 10.7402C17.8434 10.6039 17.8278 10.4655 17.7777 10.3347C17.7276 10.204 17.644 10.0839 17.5328 9.98284C17.6575 9.90182 17.7604 9.79965 17.8346 9.68303C17.9088 9.56641 17.9526 9.43797 17.9633 9.30615C17.974 9.17434 17.9512 9.04212 17.8965 8.91818C17.8418 8.79425 17.7564 8.68139 17.6459 8.58704L17.6134 8.56101C17.7796 8.43079 17.895 8.2616 17.9445 8.07559C17.9939 7.88958 17.9751 7.69541 17.8904 7.5185C17.8058 7.3416 17.6593 7.19019 17.4702 7.0841C17.281 6.978 17.058 6.92217 16.8303 6.9239L16.8288 6.92745ZM10.609 12.5982C10.609 12.6788 10.5708 12.7561 10.5026 12.8131C10.4345 12.8702 10.3421 12.9022 10.2457 12.9022H7.70127C7.60492 12.9022 7.51251 12.8702 7.44438 12.8131C7.37625 12.7561 7.33798 12.6788 7.33798 12.5982V7.36512C7.33798 7.28449 7.37625 7.20717 7.44438 7.15016C7.51251 7.09315 7.60492 7.06112 7.70127 7.06112H10.2457C10.3421 7.06112 10.4345 7.09315 10.5026 7.15016C10.5708 7.20717 10.609 7.28449 10.609 7.36512V12.5982ZM16.8288 8.82834C16.8968 8.82832 16.9641 8.83972 17.0267 8.86187C17.0893 8.88402 17.146 8.91647 17.1933 8.95729C17.2406 8.99811 17.2777 9.04647 17.3023 9.0995C17.3268 9.15254 17.3384 9.20916 17.3363 9.26601C17.3266 9.37969 17.2649 9.48586 17.1641 9.5625C17.0633 9.63914 16.9311 9.68038 16.7949 9.67765H16.6931C16.6099 9.67765 16.5301 9.70532 16.4712 9.75457C16.4124 9.80381 16.3793 9.87061 16.3793 9.94025C16.3793 10.0099 16.4124 10.0767 16.4712 10.1259C16.5301 10.1752 16.6099 10.2029 16.6931 10.2029C16.8277 10.2029 16.9568 10.2476 17.052 10.3272C17.1472 10.4069 17.2006 10.5149 17.2006 10.6275C17.2006 10.7401 17.1472 10.8481 17.052 10.9278C16.9568 11.0074 16.8277 11.0522 16.6931 11.0522H16.4231C16.3399 11.0522 16.2601 11.0798 16.2012 11.1291C16.1424 11.1783 16.1093 11.2451 16.1093 11.3148C16.1093 11.3844 16.1424 11.4512 16.2012 11.5004C16.2601 11.5497 16.3399 11.5774 16.4231 11.5774C16.4911 11.5775 16.5583 11.589 16.6208 11.6112C16.6833 11.6334 16.7399 11.6659 16.7872 11.7067C16.8345 11.7474 16.8715 11.7957 16.8962 11.8487C16.9208 11.9017 16.9325 11.9582 16.9306 12.015C16.9208 12.1289 16.859 12.2353 16.7579 12.3119C16.6568 12.3886 16.5242 12.4297 16.3878 12.4267H12.5004C12.3893 12.4268 12.2789 12.4112 12.1739 12.3805L11.2635 12.1227V8.00979L12.1597 7.10962C12.7496 6.51872 13.1857 5.83144 13.4405 5.09162L13.6059 4.61847C13.6115 4.59758 13.6234 4.57825 13.6405 4.5623C13.6575 4.54636 13.6792 4.53434 13.7034 4.52739C13.726 4.52739 13.791 4.50846 13.8971 4.5818C14.0921 4.71428 14.29 5.05495 14.2731 5.42993C14.2646 5.89373 14.1692 6.35356 13.9903 6.7926L13.849 7.10134C13.8308 7.14117 13.8245 7.18413 13.8306 7.22647C13.8368 7.26881 13.8553 7.30924 13.8844 7.34423C13.9135 7.37923 13.9525 7.40773 13.9978 7.42725C14.0431 7.44676 14.0935 7.4567 14.1444 7.4562H16.8303C16.9649 7.4562 17.0939 7.50094 17.1891 7.58058C17.2843 7.66022 17.3377 7.76823 17.3377 7.88086C17.3377 7.99348 17.2843 8.10149 17.1891 8.18113C17.0939 8.26077 16.9649 8.30551 16.8303 8.30551C16.7505 8.30999 16.6757 8.33966 16.6211 8.38853C16.5665 8.43739 16.5361 8.5018 16.5361 8.5687C16.5361 8.6356 16.5665 8.70001 16.6211 8.74887C16.6757 8.79774 16.7505 8.82741 16.8303 8.83189L16.8288 8.82834Z\" fill=\"#D52940\"/>\n<path d=\"M6.74576 18.0135C6.79634 18.0357 6.85258 18.0475 6.90973 18.0478C6.96079 18.0477 7.01121 18.0383 7.05749 18.0202C7.10377 18.0022 7.14481 17.9759 7.17776 17.9433C7.21071 17.9107 7.23478 17.8724 7.2483 17.8312C7.26182 17.79 7.26447 17.7469 7.25606 17.7047L7.02706 16.5893L7.99537 15.8003C8.0417 15.7618 8.07435 15.7134 8.08967 15.6603C8.105 15.6073 8.1024 15.5517 8.08217 15.4998C8.06193 15.4479 8.02486 15.4017 7.97509 15.3664C7.92531 15.3311 7.8648 15.3081 7.8003 15.2999L6.46304 15.1367L5.86509 14.123C5.83617 14.0738 5.79138 14.0324 5.73579 14.0035C5.6802 13.9745 5.61604 13.9592 5.55056 13.9592C5.48509 13.9592 5.42092 13.9745 5.36534 14.0035C5.30975 14.0324 5.26496 14.0738 5.23604 14.123L4.63809 15.1367L3.30083 15.2999C3.23603 15.3077 3.17513 15.3305 3.12502 15.3657C3.07491 15.401 3.03759 15.4473 3.01729 15.4993C2.99699 15.5514 2.99451 15.6072 3.01015 15.6604C3.02578 15.7136 3.0589 15.762 3.10575 15.8003L4.07406 16.5893L3.85213 17.7047C3.84118 17.7587 3.84847 17.8141 3.87318 17.8647C3.89789 17.9154 3.93904 17.9592 3.99197 17.9914C4.04491 18.0235 4.10752 18.0426 4.17273 18.0465C4.23795 18.0504 4.30317 18.0389 4.36102 18.0135L5.54844 17.4871L6.74576 18.0135ZM4.65647 17.2174L4.79782 16.5372C4.80749 16.4903 4.8034 16.4421 4.78592 16.3968C4.76844 16.3514 4.73809 16.3103 4.69746 16.277L4.10658 15.7956L4.92222 15.6962C4.97854 15.6893 5.03202 15.671 5.07806 15.643C5.1241 15.615 5.16133 15.578 5.18656 15.5353L5.54844 14.9167L5.91456 15.5353C5.93979 15.578 5.97703 15.615 6.02307 15.643C6.06911 15.671 6.12258 15.6893 6.17891 15.6962L6.99455 15.7956L6.40367 16.277C6.36304 16.3103 6.33269 16.3514 6.31521 16.3968C6.29773 16.4421 6.29364 16.4903 6.3033 16.5372L6.44466 17.2174L5.71525 16.8956C5.66476 16.8738 5.60878 16.8625 5.55198 16.8625C5.49517 16.8625 5.43919 16.8738 5.38871 16.8956L4.65647 17.2174Z\" fill=\"#D52940\"/>\n<path d=\"M10.3872 17.3853L10.1271 18.6569C10.1184 18.699 10.1209 18.7422 10.1342 18.7834C10.1476 18.8246 10.1715 18.8628 10.2043 18.8955C10.2372 18.9282 10.2782 18.9544 10.3244 18.9725C10.3706 18.9905 10.421 18.9999 10.472 19C10.5292 18.9997 10.5854 18.988 10.636 18.9657L12.0001 18.366L13.3642 18.9657C13.4221 18.9912 13.4873 19.0026 13.5525 18.9987C13.6177 18.9948 13.6803 18.9757 13.7333 18.9436C13.7862 18.9115 13.8273 18.8676 13.8521 18.817C13.8768 18.7663 13.8841 18.7109 13.8731 18.6569L13.613 17.3853L14.717 16.4852C14.7637 16.4469 14.7968 16.3984 14.8124 16.3453C14.828 16.2921 14.8257 16.2364 14.8056 16.1843C14.7854 16.1322 14.7484 16.0858 14.6985 16.0504C14.6487 16.015 14.588 15.9918 14.5234 15.9836L12.9967 15.7979L12.3139 14.6422C12.285 14.5931 12.2402 14.5517 12.1846 14.5227C12.129 14.4938 12.0649 14.4785 11.9994 14.4785C11.9339 14.4785 11.8698 14.4938 11.8142 14.5227C11.7586 14.5517 11.7138 14.5931 11.6849 14.6422L11.0035 15.7991L9.47825 15.9848C9.41316 15.9924 9.35194 16.0152 9.30157 16.0505C9.25119 16.0858 9.2137 16.1323 9.19336 16.1846C9.17302 16.2369 9.17066 16.2929 9.18654 16.3462C9.20242 16.3996 9.2359 16.4482 9.28317 16.4864L10.3872 17.3853ZM11.2862 16.3574C11.3426 16.3505 11.396 16.3322 11.4421 16.3042C11.4881 16.2762 11.5253 16.2393 11.5506 16.1965L12.0001 15.4348L12.4496 16.1965C12.4749 16.2393 12.5121 16.2762 12.5581 16.3042C12.6042 16.3322 12.6576 16.3505 12.714 16.3574L13.7176 16.4757L12.991 17.0672C12.9505 17.1006 12.9202 17.1417 12.9027 17.187C12.8853 17.2323 12.8811 17.2805 12.8907 17.3274L13.0617 18.1649L12.1627 17.7698C12.1126 17.7474 12.0568 17.7356 12.0001 17.7355C11.9429 17.7357 11.8867 17.7475 11.8361 17.7698L10.9385 18.1649L11.1095 17.3274C11.1191 17.2805 11.1149 17.2323 11.0975 17.187C11.08 17.1417 11.0497 17.1006 11.0092 17.0672L10.2826 16.4757L11.2862 16.3574Z\" fill=\"#D52940\"/>\n<path d=\"M20.9822 15.4998C20.9623 15.4476 20.9253 15.4012 20.8752 15.3658C20.8252 15.3304 20.7643 15.3076 20.6995 15.2999L19.3622 15.1367L18.7642 14.123C18.7353 14.0738 18.6905 14.0324 18.6349 14.0035C18.5794 13.9745 18.5152 13.9592 18.4497 13.9592C18.3842 13.9592 18.3201 13.9745 18.2645 14.0035C18.2089 14.0324 18.1641 14.0738 18.1352 14.123L17.5372 15.1367L16.2 15.2999C16.1355 15.3081 16.075 15.3311 16.0252 15.3664C15.9754 15.4017 15.9383 15.4479 15.9181 15.4998C15.8979 15.5517 15.8953 15.6073 15.9106 15.6603C15.9259 15.7134 15.9586 15.7618 16.0049 15.8003L16.9732 16.5893L16.7442 17.7047C16.7333 17.7587 16.7406 17.8141 16.7653 17.8647C16.79 17.9154 16.8311 17.9592 16.8841 17.9914C16.937 18.0235 16.9996 18.0426 17.0648 18.0465C17.13 18.0504 17.1953 18.0389 17.2531 18.0135L18.449 17.4871L19.6463 18.0135C19.6964 18.0357 19.7522 18.0475 19.8089 18.0478C19.8832 18.048 19.9556 18.0281 20.0153 17.991C20.0684 17.9591 20.1098 17.9153 20.1348 17.8647C20.1598 17.8141 20.1673 17.7587 20.1566 17.7047L19.9276 16.5893L20.8959 15.8003C20.9424 15.762 20.9752 15.7135 20.9904 15.6604C21.0056 15.6073 21.0028 15.5516 20.9822 15.4998ZM19.3042 16.277C19.2636 16.3103 19.2333 16.3514 19.2158 16.3968C19.1983 16.4421 19.1942 16.4903 19.2039 16.5372L19.3452 17.2174L18.6144 16.8956C18.5639 16.8738 18.5079 16.8625 18.4511 16.8625C18.3943 16.8625 18.3383 16.8738 18.2879 16.8956L17.557 17.2174L17.6984 16.5372C17.7081 16.4903 17.704 16.4421 17.6865 16.3968C17.669 16.3514 17.6387 16.3103 17.598 16.277L16.9987 15.7956L17.8143 15.6962C17.8706 15.6893 17.9241 15.671 17.9701 15.643C18.0162 15.615 18.0534 15.578 18.0786 15.5353L18.4434 14.9167L18.8095 15.5353C18.8347 15.578 18.8719 15.615 18.918 15.643C18.964 15.671 19.0175 15.6893 19.0738 15.6962L19.8895 15.7956L19.3042 16.277Z\" fill=\"#D52940\"/>\n</g>\n</g>\n<defs>\n<clipPath id=\"clip0_57_242\">\n<rect width=\"24\" height=\"24\" rx=\"5\" fill=\"white\"/>\n</clipPath>\n<clipPath id=\"clip1_57_242\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "attributes": {
    "textColor": {
      "type": "string",
      "default": "#000000"
    },
    "arrowColor": {
      "type": "string",
      "default": "#ff0000"
    },
    "dotColor": {
      "type": "string",
      "default": "#ff0000"
    },
    "fontSize": {
      "type": "number",
      "default": 16
    },
    "textToDisplay": {
      "type": "string",
      "default": "Hello World"
    },
    "slidesPerView": {
      "type": "number",
      "default": 1
    },
    "slides": {
      "type": "number",
      "default": 3
    },
    "spaceBetween": {
      "type": "number",
      "default": 50
    },
    "gap": {
      "type": "number",
      "default": 30
    },
    "logoSize": {
      "type": "number",
      "default": 60
    },
    "loop": {
      "type": "boolean",
      "default": true
    },
    "navigation": {
      "type": "boolean",
      "default": true
    },
    "pagination": {
      "type": "boolean",
      "default": true
    },
    "scrollbar": {
      "type": "boolean",
      "default": false
    },
    "testimonials": {
      "type": "array",
      "default": [
        {
          "companyName": "STATS PERFORM",
          "companyLogo": "https://via.placeholder.com/200x60/4F46E5/FFFFFF?text=STATS+PERFORM",
          "quote": "With an aggressive product development timeline, we needed a partner who had advanced mobile and machine-learning capabilities and could also match our pace.",
          "authorName": "Darryl Lewis",
          "authorTitle": "CTO of Stats Perform"
        }
      ]
    },
    "blockId": {
      "type": "string",
      "default": ""
    },
    "maxWidth": {
      "type": "number",
      "default": 1200
    },
    "cardBackgroundColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "blockBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "logoAlignment": {
      "type": "string",
      "default": "center"
    },
    "containerMode": {
      "type": "string",
      "default": "full"
    },
    "containerMaxWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 1200,
          "unit": "px"
        },
        "tablet": {
          "value": 100,
          "unit": "%"
        },
        "mobile": {
          "value": 100,
          "unit": "%"
        }
      }
    },
    "cardWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 100,
          "unit": "%"
        },
        "tablet": {
          "value": 100,
          "unit": "%"
        },
        "mobile": {
          "value": 100,
          "unit": "%"
        }
      }
    },
    "slidesPerViewMobile": {
      "type": "number",
      "default": 1
    },
    "slidesPerViewTablet": {
      "type": "number",
      "default": 2
    },
    "slidesPerViewDesktop": {
      "type": "number",
      "default": 3
    },
    "cardGap": {
      "type": "object",
      "default": {
        "desktop": {
          "value": 30,
          "unit": "px"
        },
        "tablet": {
          "value": 20,
          "unit": "px"
        },
        "mobile": {
          "value": 15,
          "unit": "px"
        }
      }
    }
  }
}