"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkC4YTYSHGjs = require('./chunk-C4YTYSHG.js');var _buttons = require('@baseapp-frontend/design-system/components/native/buttons');var _jsxruntime = require('react/jsx-runtime');function m(r,e){return p(r)||A(r,e)||b(r,e)||y()}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(r,e){if(r){if(typeof r=="string")return f(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(r,e):void 0}}function f(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function A(r,e){var t=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var a,l,s,o,i=[],n=!0,u=!1;try{if(s=(t=t.call(r)).next,e===0){if(Object(t)!==t)return;n=!1}else for(;!(n=(a=s.call(t)).done)&&(i.push(a.value),i.length!==e);n=!0);}catch(d){u=!0,l=d}finally{try{if(!n&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(u)throw l}}return i}}function p(r){if(Array.isArray(r))return r}var k=function(e){var t=e.refetch,a=e.disabled,l=a===void 0?!1:a,s=_chunkC4YTYSHGjs.a.call(void 0, ),o=m(s,2),i=o[0],n=o[1],u=function(){i({onCompleted:t,variables:{input:{read:!0}}})};return _jsxruntime.jsx.call(void 0, _buttons.Button,{size:"small",mode:"text",loading:n,onPress:u,disabled:l||n,children:"Mark all as read"})},j= exports.a =k;exports.a = j;
//# sourceMappingURL=chunk-WYOLLZV4.js.map