'use strict';
import { requirePageAuth } from '../../meta/server/auth/auth-guard.js';

var __defProp=Object['defineProperty'],__name=(_0x75817c,_0x58a64b)=>__defProp(_0x75817c,'name',{'value':_0x58a64b,'configurable':!![]});function createHttpWrapper(){return __name(function _0x8298ad(_0x23f5b1,_0xda9e60){return async _0x50aafd=>{const _0x39a1e5=_0xda9e60?.['anonymous']??![];if(_0x39a1e5)return _0x23f5b1(_0x50aafd);return await requirePageAuth(),_0x23f5b1(_0x50aafd);};},'httpWrapper');}__name(createHttpWrapper,'createHttpWrapper');

export { createHttpWrapper };
