找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 7|回复: 0

22677927_家庭妓院导游指南:老婆篇

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
view,r=this.context.event,i={type:this.shapeType,name:this.maskType,get:function(t){return i.hasOwnProperty(t)?i[t]:void 0}};n.emit(e,{target:i,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:r.x,y:r.y})},e.prototype.createMask=function(t){var e=this.context.view,n=this.recordPoints[t],r=this.getMaskAttrs(n),i=e.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,m.pi)({fill:"#C5D4EB",opacity:.3},r)});this.maskShapes.push(i)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach((function(t){return t.show()})),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var e=this.recordPoints.length-1;this.createMask(e),this.updateShapesCapture(!1),this.updateMask(null===t||void 0===t?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(this.moving&&0!==this.maskShapes.length){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,r=t.y-e.y,i=this.getCurMaskShapeIndex();i>-1&&(this.recordPoints[i].forEach((function(t){t.x+=n,t.y+=r})),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var e=this;this.recordPoints.forEach((function(n,r){var i=(0,x.b$)({},e.getMaskAttrs(n),t);e.maskShapes[r].attr(i)}))},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach((function(t){return t.hide()})),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach((function(t){return t.remove()})),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();-1===t?(this.recordPointClear(),this.maskShapes.forEach((function(t){return t.remove()})),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),t.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return(0,m.ev)([],(0,m.CR)(null!==(t=this.recordPoints)&&void 0!==t?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),e=this.getCurrentPoint();this.recordPoints=(0,m.ev)((0,m.ev)([],(0,m.CR)(t),!1),[[e]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),e=this.getCurrentPoint(),n=t.splice(-1,1)[0]||[];n.push(e),this.recordPoints=(0,m.ev)((0,m.ev)([],(0,m.CR)(t),!1),[n],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach((function(e){return e.set("capture",t)}))},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex((function(e){var n=e.attrs,r=n.width,i=n.height,o=n.r,a=0===r||0===i||0===o;return!a&&e.isHit(t.x,t.y)}))},e}(hs),zx=Rx,Hx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return(0,m.ZT)(e,t),e.prototype.getRegion=function(t){return bx(t)},e.prototype.getMaskAttrs=function(t){var e=this.getRegion(t),n=e.start,r=e.end;return Ax(n,r)},e}(zx),Nx=Hx,Ux=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return(0,m.ZT)(e,t),e.prototype.getRegion=function(t){var e=this.context.view.getCoordinate();return Sx(t,this.dim,this.inPlot,e)},e}(Nx),Qx=Ux,Vx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e.getMaskAttrs=mx,e}return(0,m.ZT)(e,t),e}(zx),Zx=Vx,Gx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.getMaskPath=Ox,e.getMaskAttrs=Bx,e}return(0,m.ZT)(e,t),e.prototype.addPoint=function(){this.resize()},e}(zx),qx=Gx,Yx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.getMaskPath=Px,e.getMaskAttrs=Tx,e}return(0,m.ZT)(e,t),e}(qx),Jx=Yx,Wx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,m.ZT)(e,t),e.prototype.setCursor=function(t){var e=this.context.view;e.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(hs),Kx=Wx,Xx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,m.ZT)(e,t),e.prototype.filterView=function(t,e,n){var r=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&(0,x.S6)(t.views,(function(t){r.filterView(t,e,n)}))},e.prototype.filter=function(){var t=Ws(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(Xs(t)){if(r){var i=n.getItemsByState("unchecked"),o=Cl(e,r),a=i.map((function(t){return t.name}));a.length?this.filterView(e,r,(function(t){var e=o.getText(t);return!a.includes(e)})):this.filterView(e,r,null),e.render(!0)}}else if($s(t)){var s=n.getValue(),l=(0,m.CR)(s,2),u=l[0],c=l[1];this.filterView(e,r,(function(t){return t>=u&&t<=c})),e.render(!0)}}},e}(hs),$x=Xx;function tw(t,e,n,r){var i=Math.min(n[e],r[e]),o=Math.max(n[e],r[e]),a=(0,m.CR)(t.range,2),s=a[0],l=a[1];if(i<s&&(i=s),o>l&&(o=l),i===l&&o===l)return null;var u=t.invert(i),c=t.invert(o);if(t.isCategory){var f=t.values.indexOf(u),h=t.values.indexOf(c),p=t.values.slice(f,h+1);return function(t){return p.includes(t)}}return function(t){return t>=u&&t<=c}}(function(t){t["FILTER"]="brush-filter-processing",t["RESET"]="brush-filter-reset",t["BEFORE_FILTER"]="brush-filter:beforefilter",t["AFTER_FILTER"]="brush-filter:afterfilter",t["BEFORE_RESET"]="brush-filter:beforereset",t["AFTER_RESET"]="brush-filter:afterreset"})(_x||(_x={}));var ew=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return(0,m.ZT)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,e;if(tl(this.context)){var n=this.context.event.target,r=n.getCanvasBBox();t={x:r.x,y:r.y},e={x:r.maxX,y:r.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(Math.abs(t.x-e.x)<5||Math.abs(t.x-e.y)<5)){var i=this.context,o=i.view,a=i.event,s={view:o,event:a,dims:this.dims};o.emit(_x.BEFORE_FILTER,bu.fromData(o,_x.BEFORE_FILTER,s));var l=o.getCoordinate(),u=l.invert(e),c=l.invert(t);if(this.hasDim("x")){var f=o.getXScale(),h=tw(f,"x",u,c);this.filterView(o,f.field,h)}if(this.hasDim("y")){var p=o.getYScales()[0];h=tw(p,"y",u,c);this.filterView(o,p.field,h)}this.reRender(o,{source:_x.FILTER}),o.emit(_x.AFTER_FILTER,bu.fromData(o,_x.AFTER_FILTER,s))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(_x.BEFORE_RESET,bu.fromData(t,_x.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:_x.RESET}),t.emit(_x.AFTER_RESET,bu.fromData(t,_x.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(hs),nw=ew,rw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,m.ZT)(e,t),e.prototype.filterView=function(t,e,n){var r=xl(t);(0,x.S6)(r,(function(t){t.filter(e,n)}))},e.prototype.reRender=function(t){var e=xl(t);(0,x.S6)(e,(function(t){t.render(!0)}))},e}(nw),iw=rw,ow=function(t){function e(){retur
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-12 21:18 , Processed in 0.050771 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表