(()=>{"use strict";var e,r={60:(e,r,o)=>{const t=window.wp.components,i=window.wp.blocks,s=(window.wp.i18n,window.wp.blockEditor),n=window.wc.wcSettings;var l=o(848);const a=JSON.parse('{"apiVersion":3,"name":"irem/ozel-sozlesmeler","version":"2.0.0","title":"Legal Contracts","category":"woocommerce","description":"Displays and validates WooCommerce order contracts.","parent":["woocommerce/checkout-fields-block"],"supports":{"html":false,"align":false,"multiple":false,"reusable":false},"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}},"sozlesmebaslangic":{"type":"string","default":"Distance sales contract"},"vemetni":{"type":"string","default":"and"},"sozlesmeorta":{"type":"string","default":"preliminary information form"},"onaymetni":{"type":"string","default":"I have read and agree."}},"textdomain":"wc-korkmaz-contract"}');(0,i.registerBlockType)(a,{icon:{src:(0,l.jsx)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 16",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,l.jsx)("path",{stroke:"currentColor",strokeWidth:"1.5",d:"M2 .75h16c.69 0 1.25.56 1.25 1.25v12c0 .69-.56 1.25-1.25 1.25H2c-.69 0-1.25-.56-1.25-1.25V2C.75 1.31 1.31.75 2 .75z"}),(0,l.jsx)("path",{fill:"currentColor",d:"M7.667 7.667A2.34 2.34 0 0010 5.333 2.34 2.34 0 007.667 3a2.34 2.34 0 00-2.334 2.333 2.34 2.34 0 002.334 2.334zM11.556 3H17v3.889h-5.444V3zm2.722 2.916l1.944-1.36v-.779L14.278 5.14l-1.945-1.362v.778l1.945 1.361zm-5.834-.583a.78.78 0 00-.777-.777.78.78 0 00-.778.777c0 .428.35.778.778.778a.78.78 0 00.777-.778zm3.89 5.904c0-1.945-3.088-2.785-4.667-2.785-1.58 0-4.667.84-4.667 2.785v1.097h9.333v-1.097zM7.666 10c-1.012 0-2.163.389-2.738.778h5.475C9.821 10.38 8.678 10 7.667 10z"})]})}),foreground:"#874FB9"},edit:({attributes:e})=>{const r=(0,n.getSetting)("irem_data",{}),o=r.birinci_sozlesme_link_ismi||"Distance Sales Contract",t=r.ve_metin||"and",i=r.ikinci_sozlesme_link_ismi||"Preliminary Information Form",a=r.son_metin||"I have read and agree.";return(0,l.jsx)("div",{...(0,s.useBlockProps)(),children:(0,l.jsxs)("p",{children:[(0,l.jsx)("span",{children:o})," ",(0,l.jsx)("span",{children:t})," ",(0,l.jsx)("span",{children:i})," ",(0,l.jsx)("span",{children:a})]})})},save:({attributes:e})=>(0,l.jsx)("div",{...s.useBlockProps.save(),children:(0,l.jsx)("p",{})})})},20:(e,r,o)=>{var t=o(609),i=Symbol.for("react.element"),s=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,r,o){var t,a={},c=null,m=null;for(t in void 0!==o&&(c=""+o),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(m=r.ref),r)s.call(r,t)&&!l.hasOwnProperty(t)&&(a[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===a[t]&&(a[t]=r[t]);return{$$typeof:i,type:e,key:c,ref:m,props:a,_owner:n.current}}r.jsx=a,r.jsxs=a},848:(e,r,o)=>{e.exports=o(20)},609:e=>{e.exports=window.React}},o={};function t(e){var i=o[e];if(void 0!==i)return i.exports;var s=o[e]={exports:{}};return r[e](s,s.exports,t),s.exports}t.m=r,e=[],t.O=(r,o,i,s)=>{if(!o){var n=1/0;for(m=0;m<e.length;m++){o=e[m][0],i=e[m][1],s=e[m][2];for(var l=!0,a=0;a<o.length;a++)(!1&s||n>=s)&&Object.keys(t.O).every((e=>t.O[e](o[a])))?o.splice(a--,1):(l=!1,s<n&&(n=s));if(l){e.splice(m--,1);var c=i();void 0!==c&&(r=c)}}return r}s=s||0;for(var m=e.length;m>0&&e[m-1][2]>s;m--)e[m]=e[m-1];e[m]=[o,i,s]},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={800:0,481:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var i,s,n=o[0],l=o[1],a=o[2],c=0;if(n.some((r=>0!==e[r]))){for(i in l)t.o(l,i)&&(t.m[i]=l[i]);if(a)var m=a(t)}for(r&&r(o);c<n.length;c++)s=n[c],t.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return t.O(m)},o=self.webpackChunkirem=self.webpackChunkirem||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var i=t.O(void 0,[481],(()=>t(60)));i=t.O(i)})();