var t = require; var e = module; var i = exports; var s = (this && this.__decorate) || function (t, e, i, s) { var o, a = arguments.length, n = a < 3 ? e : null === s ? (s = Object.getOwnPropertyDescriptor(e, i)) : s; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) n = Reflect.decorate(t, e, i, s); else for (var r = t.length - 1; 0 <= r; r--) (o = t[r]) && (n = (a < 3 ? o(n) : 3 < a ? o(e, i, n) : o(e, i)) || n); return 3 < a && n && Object.defineProperty(e, i, n), n; }; Object.defineProperty(i, "__esModule", {value: !0}), (i.MyPageViewIndicator = void 0); const {property: o, ccclass: a} = cc._decorator; e = class extends cc.PageViewIndicator { constructor() { super(...arguments), (this.selectImg = null), (this.noSelecImg = null); } _changedState() { if (this._indicators.length) { for (var t = this._pageView.getCurrentPageIndex(), e = 0; e < this._indicators.length; ++e) this._indicators[e].getComponent(cc.Sprite).spriteFrame = this.noSelecImg; this._indicators[t].getComponent(cc.Sprite).spriteFrame = this.selectImg; } } }; s([o(cc.SpriteFrame)], e.prototype, "selectImg", void 0), s([o(cc.SpriteFrame)], e.prototype, "noSelecImg", void 0), (e = s([a], e)), (i.MyPageViewIndicator = e);