"use strict";(self.webpackChunknocode_component=self.webpackChunknocode_component||[]).push([[9636],{9636:function(n,t,o){var u=o(81043),c=o(72048),e=o(70696),r=o.n(e),a=(o(87912),o(97308),o(65984)),i=o(23832),f=o(38680),l=o(39756);t.c=function(n){var t=(0,a.useContext)(l.m).model,o=(0,a.useState)((function(){var t=[];return null==n||n.forEach((function(n){var o=n.id,u=n.Status;(0,i.cl)(u).hidden&&t.push(o)})),t})),e=(0,c.c)(o,2),d=e[0],s=e[1],h=function(n){var t=n.v,o=n.k,c=(0,i.cl)(t).hidden;s((function(n){var t=(0,u.c)(n);return c?t.push(o):t=r()(t).call(t,(function(n){return n!==o})),t}))};return(0,a.useEffect)((function(){var o=[];return n.forEach((function(n){var u,c=n;(0,a.isValidElement)(n)&&(c=(null==n||null===(u=n.props)||void 0===u?void 0:u.meta)||{});var e=c,r=e.pageId,i=e.id;o.push(t.addControlAction(f.oH,r,i,h))})),function(){o.length&&o.forEach((function(n){return n()}))}}),[n]),d}}}]);