"use strict";
const common_vendor = require("../../../../common/vendor.js");
const getObserver = (context, selector) => new Promise((resolve) => {
  common_vendor.index.createIntersectionObserver(context, {
    nativeMode: true
  }).relativeToViewport().observe(selector, (res) => {
    resolve(res);
  });
});
const getWindowInfo = () => common_vendor.index.getWindowInfo ? common_vendor.index.getWindowInfo() || common_vendor.index.getSystemInfoSync() : common_vendor.index.getSystemInfoSync();
const getAppBaseInfo = () => common_vendor.index.getAppBaseInfo ? common_vendor.index.getAppBaseInfo() || common_vendor.index.getSystemInfoSync() : common_vendor.index.getSystemInfoSync();
const getDeviceInfo = () => common_vendor.index.getDeviceInfo ? common_vendor.index.getDeviceInfo() || common_vendor.index.getSystemInfoSync() : common_vendor.index.getSystemInfoSync();
exports.getAppBaseInfo = getAppBaseInfo;
exports.getDeviceInfo = getDeviceInfo;
exports.getObserver = getObserver;
exports.getWindowInfo = getWindowInfo;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/tdesign-uniapp/components/common/wechat.js.map
