import DataTable_default from "../../../components/DataTable/DataTable.vue.js";
import DataTableRow_default from "../../../components/DataTable/DataTableRow.vue.js";
import DataTableText_default from "../../../components/DataTable/DataTableText.vue.js";
import ViewLayoutCollapse_default from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
import { Fragment, createBlock, createElementBlock, createTextVNode, createVNode, defineComponent, openBlock, renderList, withCtx } from "vue";
//#region src/views/Request/ResponseSection/ResponseCookies.vue?vue&type=script&setup=true&lang.ts
var _hoisted_1 = {
	key: 1,
	class: "text-c-3 bg-b-1 flex min-h-[65px] items-center justify-center border-t px-4 text-sm"
};
var ResponseCookies_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "ResponseCookies",
	props: { cookies: {} },
	setup(__props) {
		return (_ctx, _cache) => {
			return openBlock(), createBlock(ViewLayoutCollapse_default, { defaultOpen: false }, {
				title: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Cookies", -1)])]),
				default: withCtx(() => [(openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.cookies.length ? (openBlock(), createBlock(DataTable_default, {
					key: 0,
					class: "flex-1",
					columns: ["", ""]
				}, {
					default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.cookies, (item) => {
						return openBlock(), createBlock(DataTableRow_default, { key: item.name }, {
							default: withCtx(() => [createVNode(DataTableText_default, { text: item.name }, null, 8, ["text"]), createVNode(DataTableText_default, { text: item.value }, null, 8, ["text"])]),
							_: 2
						}, 1024);
					}), 128))]),
					_: 1
				})) : (openBlock(), createElementBlock("div", _hoisted_1, " No cookies "))], 64))]),
				_: 1
			});
		};
	}
});
//#endregion
export { ResponseCookies_vue_vue_type_script_setup_true_lang_default as default };

//# sourceMappingURL=ResponseCookies.vue.script.js.map