@mappedin/mappedin-js 6.0.1-beta.45 → 6.0.1-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_LICENSES.txt +2169 -27784
- package/lib/esm/GLTFExporter-TZEIALSW.js +1 -0
- package/lib/esm/GLTFLoader-YCEKYYW3.js +1 -0
- package/lib/esm/{browser-IE62BVYL.js → browser-6R2QCUOI.js} +1 -1
- package/lib/esm/chunk-DNBHISVY.js +1 -0
- package/lib/esm/{chunk-7QYC6UYU.js → chunk-KR33DBLD.js} +1 -1
- package/lib/esm/chunk-KVKD4E33.js +1 -0
- package/lib/esm/chunk-MENDLOSO.js +1 -0
- package/lib/esm/chunk-QRWMPXER.js +1 -0
- package/lib/esm/chunk-TVALVOG4.js +1 -0
- package/lib/esm/chunk-UIDBSU4C.js +1 -0
- package/lib/esm/index.css +1 -1
- package/lib/esm/index.d.ts +338 -129
- package/lib/esm/index.js +1 -1
- package/lib/esm/inspector-CV34C4XG.js +1 -0
- package/lib/esm/inspector-WWR77OPX.css +1 -0
- package/lib/esm/internal-M7DPGYMI.css +1 -0
- package/lib/esm/internal-YXEVD377.js +1 -0
- package/lib/esm/outdoor-context-v4-IEFB4X2Q.js +1 -0
- package/lib/esm/{roboto-regular-E2V4PXOH.js → roboto-regular-JRVF4TIR.js} +1 -1
- package/lib/esm/text3d-RZEC5VQO.js +1 -0
- package/lib/esm/workers/maplibre-worker.csp.js +1 -1
- package/lib/index.css +1 -1
- package/package.json +12 -12
- package/lib/esm/GLTFExporter-33O74ZRA.js +0 -1
- package/lib/esm/GLTFLoader-TFEUICFY.js +0 -1
- package/lib/esm/chunk-AGPZKMLJ.js +0 -1
- package/lib/esm/chunk-HALSTKAB.js +0 -1
- package/lib/esm/chunk-HTXG2WUL.js +0 -1
- package/lib/esm/chunk-L5IJY45Y.js +0 -1
- package/lib/esm/chunk-N5U7Y27D.js +0 -1
- package/lib/esm/chunk-O57EU3PO.js +0 -1
- package/lib/esm/inspector-CC3UZQDZ.js +0 -1
- package/lib/esm/inspector-GOK26VAV.css +0 -1
- package/lib/esm/internal-7A3UJNAV.css +0 -1
- package/lib/esm/internal-MEGLEQC5.js +0 -1
- package/lib/esm/outdoor-context-v4-5DHMHSDP.js +0 -1
- package/lib/esm/text3d-3PC3DCSJ.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Z as x,_ as y,u as A,v as w,w as g}from"./chunk-DNBHISVY.js";import{a as b}from"./chunk-MENDLOSO.js";b();function M(o,l=!1){let r=o[0].index!==null,f=new Set(Object.keys(o[0].attributes)),i=new Set(Object.keys(o[0].morphAttributes)),c={},e={},h=o[0].morphTargetsRelative,u=new y,d=0;for(let t=0;t<o.length;++t){let s=o[t],a=0;if(r!==(s.index!==null))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(let n in s.attributes){if(!f.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+'. All geometries must have compatible attributes; make sure "'+n+'" attribute exists among all geometries, or in none of them.'),null;c[n]===void 0&&(c[n]=[]),c[n].push(s.attributes[n]),a++}if(a!==f.size)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". Make sure all geometries have the same number of attributes."),null;if(h!==s.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(let n in s.morphAttributes){if(!i.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphAttributes must be consistent throughout all geometries."),null;e[n]===void 0&&(e[n]=[]),e[n].push(s.morphAttributes[n])}if(l){let n;if(r)n=s.index.count;else if(s.attributes.position!==void 0)n=s.attributes.position.count;else return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". The geometry must have either an index or a position attribute"),null;u.addGroup(d,n,t),d+=n}}if(r){let t=0,s=[];for(let a=0;a<o.length;++a){let n=o[a].index;for(let m=0;m<n.count;++m)s.push(n.getX(m)+t);t+=o[a].attributes.position.count}u.setIndex(s)}for(let t in c){let s=B(c[t]);if(!s)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" attribute."),null;u.setAttribute(t,s)}for(let t in e){let s=e[t][0].length;if(s===0)break;u.morphAttributes=u.morphAttributes||{},u.morphAttributes[t]=[];for(let a=0;a<s;++a){let n=[];for(let p=0;p<e[t].length;++p)n.push(e[t][p][a]);let m=B(n);if(!m)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" morphAttribute."),null;u.morphAttributes[t].push(m)}}return u}function B(o){let l,r,f,i=-1,c=0;for(let d=0;d<o.length;++d){let t=o[d];if(l===void 0&&(l=t.array.constructor),l!==t.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(r===void 0&&(r=t.itemSize),r!==t.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(f===void 0&&(f=t.normalized),f!==t.normalized)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;if(i===-1&&(i=t.gpuType),i!==t.gpuType)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.gpuType must be consistent across matching attributes."),null;c+=t.count*r}let e=new l(c),h=new x(e,r,f),u=0;for(let d=0;d<o.length;++d){let t=o[d];if(t.isInterleavedBufferAttribute){let s=u/r;for(let a=0,n=t.count;a<n;a++)for(let m=0;m<r;m++){let p=t.getComponent(a,m);h.setComponent(a+s,m,p)}}else e.set(t.array,u);u+=t.count*r}return i!==void 0&&(h.gpuType=i),h}function R(o,l){if(l===A)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),o;if(l===g||l===w){let r=o.getIndex();if(r===null){let e=[],h=o.getAttribute("position");if(h!==void 0){for(let u=0;u<h.count;u++)e.push(u);o.setIndex(e),r=o.getIndex()}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),o}let f=r.count-2,i=[];if(l===g)for(let e=1;e<=f;e++)i.push(r.getX(0)),i.push(r.getX(e)),i.push(r.getX(e+1));else for(let e=0;e<f;e++)e%2===0?(i.push(r.getX(e)),i.push(r.getX(e+1)),i.push(r.getX(e+2))):(i.push(r.getX(e+2)),i.push(r.getX(e+1)),i.push(r.getX(e)));i.length/3!==f&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");let c=o.clone();return c.setIndex(i),c.clearGroups(),c}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",l),o}export{M as a,R as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as ne,j as ge,k as be}from"./chunk-TVALVOG4.js";import{Q as b,R as ee,T as te,V as I,W as re,db as ye,qa as he}from"./chunk-DNBHISVY.js";import{a as s,b as m}from"./chunk-MENDLOSO.js";import{i,j as f,k as E,l as y}from"./chunk-QRWMPXER.js";s();var ie="[MappedinJS]",Re=(o=>(o[o.LOG=0]="LOG",o[o.WARN=1]="WARN",o[o.ERROR=2]="ERROR",o[o.SILENT=3]="SILENT",o))(Re||{});function mt(r){0<=r&&r<=3&&(xe.logState=r)}var xe={logState:m.env.NODE_ENV==="test"?3:0,log(...r){this.logState<=0&&console.log(ie,...r)},warn(...r){this.logState<=1&&console.warn(ie,...r)},error(...r){this.logState<=2&&console.error(ie,...r)},assert(...r){console.assert(...r)},time(r){console.time(r)},timeEnd(r){console.timeEnd(r)}},oe=xe;s();s();var F=class extends Error{};F.prototype.name="InvalidTokenError";function Be(r){return decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Ve(r){let e=r.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Be(e)}catch(t){return atob(e)}}function De(r,e){if(typeof r!="string")throw new F("Invalid token specified: must be a string");e||(e={});let t=e.header===!0?0:1,n=r.split(".")[t];if(typeof n!="string")throw new F("Invalid token specified: missing part #".concat(t+1));let o;try{o=Ve(n)}catch(a){throw new F("Invalid token specified: invalid base64 for part #".concat(t+1," (").concat(a.message,")"))}try{return JSON.parse(o)}catch(a){throw new F("Invalid token specified: invalid json for part #".concat(t+1," (").concat(a.message,")"))}}s();var R=63710088e-1;function Tt(r){var t,n;let e=De(r);if(e.sub==null)throw new Error("Access token is missing sub claim.");return{sub:e.sub,aud:typeof e.aud=="string"?[e.aud]:(t=e.aud)!=null?t:[],capabilities:(n=e.capabilities)!=null?n:{}}}function L(r){return r*(Math.PI/180)}function je(r){return r*(180/Math.PI)}function Mt(r,e){let t=Math.pow(10,e);return Math.sign(r)*Math.round(Math.abs(r)*t)/t}function ve(r,e){return(r%e+e)%e}function Et([r,e],[t,n]){let o=L(n-e),a=L(t-r),u=L(e),l=L(n),c=Math.sin(o/2)*Math.sin(o/2)+Math.sin(a/2)*Math.sin(a/2)*Math.cos(u)*Math.cos(l),d=2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c));return R*d}function St([r,e],[t,n]){let o=L(e),a=L(r),u=L(n),c=L(t)-a,d=Math.sin(c)*Math.cos(u),h=Math.cos(o)*Math.sin(u)-Math.sin(o)*Math.cos(u)*Math.cos(c);return je((Math.atan2(d,h)+Math.PI*2)%(Math.PI*2))}function Pt(r,e){let t=ve(r,Math.PI*2),n=ve(e,Math.PI*2),o=n-t,a=n+(o>Math.PI?-Math.PI*2:o<-Math.PI?Math.PI*2:0);return{start:t,end:a}}function Ue(r){return r instanceof ye?Number.isFinite(r.min.x)&&Number.isFinite(r.min.y)&&Number.isFinite(r.max.x)&&Number.isFinite(r.max.y):Number.isFinite(r.min.x)&&Number.isFinite(r.min.y)&&Number.isFinite(r.max.x)&&Number.isFinite(r.max.y)&&Number.isFinite(r.min.z)&&Number.isFinite(r.max.z)}function wt(r,e,t,n){return(r<e||r>t)&&oe.warn(n),Math.min(t,Math.max(e,r))}function Ct(r,e){if(r==null||e==null)return r===e;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}s();function Ot(r,e,t=!1){let n=null,o=0;return function(...a){o++,o===1&&t===!0&&r(...a);let u=()=>{(!t||o>1)&&r(...a),n=null,o=0};clearTimeout(n),n=setTimeout(u,e)}}s();s();var ae=class r extends Error{constructor(t){super(t);i(this,"name","AssertionError");Error.captureStackTrace&&Error.captureStackTrace(this,r)}};function Te(r,e){if(r==null){let t;if(e!=null&&e.customMessage)t=e.customMessage;else{let a=e!=null&&e.valueName?"'".concat(e.valueName,"'"):"value";t="Expected ".concat(a," to be defined, but received ").concat(r)}let n=(e==null?void 0:e.errorClass)||ae,o=new n(t);throw(e==null?void 0:e.captureStackTrace)!==!1&&Error.captureStackTrace&&Error.captureStackTrace(o,Te),o}}function Gt(r,e,t){if(Te(r),(r==null?void 0:r.type)!==e){let n="Expected type ".concat(e," but got ").concat(r==null?void 0:r.type);throw new Error(t!=null?t:n)}}s();var se=[0,4,6,8,10],x=()=>{let r=new Array(16).fill(0),e=Math.random()*4294967296;for(let n=0;n<r.length;n++)n>0&&(n&3)===0&&(e=Math.random()*4294967296),r[n]=e>>>((n&3)<<3)&255;let t=r.map(n=>n.toString(16).padStart(2,"0"));return t[6]="4"+t[6][1],t[8]=["8","9","a","b"].includes(t[7][0])?t[7]:"a"+t[7][1],se.map((n,o)=>t.slice(n,o===se.length-1?void 0:se[o+1]).join("")).join("-")};s();var ue=class{constructor(){i(this,"_subscribers",{})}publish(e,t){!this._subscribers||!this._subscribers[e]||this._subscribers[e].forEach(function(n){typeof n=="function"&&n(t)})}on(e,t){this._subscribers||(this._subscribers={}),this._subscribers[e]=this._subscribers[e]||[],this._subscribers[e].push(t)}off(e,t){if(!this._subscribers||this._subscribers[e]==null)return;let n=this._subscribers[e].indexOf(t);n!==-1&&this._subscribers[e].splice(n,1)}destroy(){this._subscribers={}}};s();var Me="mi-session-data",Ee="mi-local-data",B,D,v,J=class J{constructor(){E(this,D);E(this,v);try{let e=sessionStorage.getItem(Me);e?y(this,D,JSON.parse(e)):y(this,D,{id:x()})}catch(e){y(this,D,{id:x()})}try{let e=localStorage.getItem(Ee);e?y(this,v,JSON.parse(e)):y(this,v,{deviceId:x()})}catch(e){y(this,v,{deviceId:x()})}f(this,D).id||(f(this,D).id=x()),f(this,v).deviceId||(f(this,v).deviceId=x())}static getInstance(){return f(this,B)||y(this,B,new J),f(this,B)}static ___clearInstance(){y(this,B,void 0)}saveSessionData(e,t){f(this,D)[e]=t;try{return sessionStorage.setItem(Me,JSON.stringify(f(this,D))),!0}catch(n){return!1}}loadSessionData(e){let t=f(this,D)[e];if(t!=null)return t}saveLocalData(e,t){f(this,v)[e]=t;try{return localStorage.setItem(Ee,JSON.stringify(f(this,v))),!0}catch(n){return!1}}loadLocalData(e){let t=f(this,v)[e];if(t!=null)return t}};B=new WeakMap,D=new WeakMap,v=new WeakMap,E(J,B);var le=J;s();function He(r){return(r%(2*Math.PI)+2*Math.PI)%(2*Math.PI)}s();s();s();s();s();s();s();s();var g=63710088e-1,Pe={centimeters:g*100,centimetres:g*100,degrees:g/111325,feet:g*3.28084,inches:g*39.37,kilometers:g/1e3,kilometres:g/1e3,meters:g,metres:g,miles:g/1609.344,millimeters:g*1e3,millimetres:g*1e3,nauticalmiles:g/1852,radians:1,yards:g*1.0936},ir={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:1/1e3,kilometres:1/1e3,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/g,yards:1.0936133};function O(r,e,t){t===void 0&&(t={});var n={type:"Feature"};return(t.id===0||t.id)&&(n.id=t.id),t.bbox&&(n.bbox=t.bbox),n.properties=e||{},n.geometry=r,n}function We(r,e,t){if(t===void 0&&(t={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Se(r[0])||!Se(r[1]))throw new Error("coordinates must contain numbers");var n={type:"Point",coordinates:r};return O(n,e,t)}function or(r,e,t){t===void 0&&(t={});for(var n=0,o=r;n<o.length;n++){var a=o[n];if(a.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var u=0;u<a[a.length-1].length;u++)if(a[a.length-1][u]!==a[0][u])throw new Error("First and last Position are not equivalent.")}var l={type:"Polygon",coordinates:r};return O(l,e,t)}function we(r,e,t){if(t===void 0&&(t={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");var n={type:"LineString",coordinates:r};return O(n,e,t)}function ar(r,e){e===void 0&&(e={});var t={type:"FeatureCollection"};return e.id&&(t.id=e.id),e.bbox&&(t.bbox=e.bbox),t.features=r,t}function sr(r,e,t){t===void 0&&(t={});var n={type:"MultiLineString",coordinates:r};return O(n,e,t)}function ur(r,e,t){t===void 0&&(t={});var n={type:"MultiPolygon",coordinates:r};return O(n,e,t)}function lr(r,e){e===void 0&&(e="kilometers");var t=Pe[e];if(!t)throw new Error(e+" units is invalid");return r*t}function cr(r,e){e===void 0&&(e="kilometers");var t=Pe[e];if(!t)throw new Error(e+" units is invalid");return r/t}function mr(r){var e=r%(2*Math.PI);return e*180/Math.PI}function dr(r){var e=r%360;return e*Math.PI/180}function Se(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function Y(r,e,t){if(r!==null)for(var n,o,a,u,l,c,d,h=0,p=0,P,w=r.type,T=w==="FeatureCollection",G=w==="Feature",Z=T?r.features.length:1,N=0;N<Z;N++){d=T?r.features[N].geometry:G?r.geometry:r,P=d?d.type==="GeometryCollection":!1,l=P?d.geometries.length:1;for(var Q=0;Q<l;Q++){var M=0,_=0;if(u=P?d.geometries[Q]:d,u!==null){c=u.coordinates;var C=u.type;switch(h=t&&(C==="Polygon"||C==="MultiPolygon")?1:0,C){case null:break;case"Point":if(e(c,p,N,M,_)===!1)return!1;p++,M++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(e(c[n],p,N,M,_)===!1)return!1;p++,C==="MultiPoint"&&M++}C==="LineString"&&M++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(o=0;o<c[n].length-h;o++){if(e(c[n][o],p,N,M,_)===!1)return!1;p++}C==="MultiLineString"&&M++,C==="Polygon"&&_++}C==="Polygon"&&M++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(_=0,o=0;o<c[n].length;o++){for(a=0;a<c[n][o].length-h;a++){if(e(c[n][o][a],p,N,M,_)===!1)return!1;p++}_++}M++}break;case"GeometryCollection":for(n=0;n<u.geometries.length;n++)if(Y(u.geometries[n],e,t)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function gr(r,e){if(r.type==="Feature")e(r,0);else if(r.type==="FeatureCollection")for(var t=0;t<r.features.length&&e(r.features[t],t)!==!1;t++);}function ze(r,e){var t,n,o,a,u,l,c,d,h,p,P=0,w=r.type==="FeatureCollection",T=r.type==="Feature",G=w?r.features.length:1;for(t=0;t<G;t++){for(l=w?r.features[t].geometry:T?r.geometry:r,d=w?r.features[t].properties:T?r.properties:{},h=w?r.features[t].bbox:T?r.bbox:void 0,p=w?r.features[t].id:T?r.id:void 0,c=l?l.type==="GeometryCollection":!1,u=c?l.geometries.length:1,o=0;o<u;o++){if(a=c?l.geometries[o]:l,a===null){if(e(null,P,d,h,p)===!1)return!1;continue}switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(a,P,d,h,p)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<a.geometries.length;n++)if(e(a.geometries[n],P,d,h,p)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}P++}}function Je(r,e){ze(r,function(t,n,o,a,u){var l=t===null?null:t.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(O(t,o,{bbox:a,id:u}),n,0)===!1?!1:void 0}var c;switch(l){case"MultiPoint":c="Point";break;case"MultiLineString":c="LineString";break;case"MultiPolygon":c="Polygon";break}for(var d=0;d<t.coordinates.length;d++){var h=t.coordinates[d],p={type:c,coordinates:h};if(e(O(p,o),n,d)===!1)return!1}})}function Ye(r,e){Je(r,function(t,n,o){var a=0;if(t.geometry){var u=t.geometry.type;if(!(u==="Point"||u==="MultiPoint")){var l,c=0,d=0,h=0;if(Y(t,function(p,P,w,T,G){if(l===void 0||n>c||T>d||G>h){l=p,c=n,d=T,h=G,a=0;return}var Z=we([l,p],t.properties);if(e(Z,n,o,G,a)===!1)return!1;a++,l=p})===!1)return!1}}})}function br(r,e,t){var n=t,o=!1;return Ye(r,function(a,u,l,c,d){o===!1&&t===void 0?n=a:n=e(n,a,u,l,c,d),o=!0}),n}function ce(r){var e=[1/0,1/0,-1/0,-1/0];return Y(r,function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])}),e}ce.default=ce;var Ce=ce;function Ie(r){return Ce(r)}s();var me="#ffffff";var de=class{constructor(e={}){i(this,"initialColor",me);i(this,"color",me);i(this,"initialTopColor");i(this,"topColor");i(this,"topTexture");i(this,"texture");i(this,"hoverColor");i(this,"dirty",!0);i(this,"visible",!0);i(this,"opacity",1);i(this,"width",.1);i(this,"height",.1);i(this,"initialHeight",.1);i(this,"altitude",0);i(this,"join","round");i(this,"cap","round");i(this,"showImage",!0);i(this,"flipImageToFaceCamera",!0);i(this,"url");i(this,"side","double");i(this,"renderOrder",0);this.color=(e==null?void 0:e.color)!==void 0?e.color:this.color,this.initialColor=this.color,this.width=(e==null?void 0:e.width)!==void 0?e.width:this.width,this.opacity=(e==null?void 0:e.opacity)!==void 0?e.opacity:this.opacity,this.visible=(e==null?void 0:e.visible)!==void 0?e.visible:this.visible,this.height=(e==null?void 0:e.height)!==void 0?e.height:this.height,this.initialHeight=this.height,this.altitude=(e==null?void 0:e.altitude)!==void 0?e.altitude:this.altitude,this.join=(e==null?void 0:e.join)!==void 0?e.join:this.join,this.cap=(e==null?void 0:e.cap)!==void 0?e.cap:this.cap,this.topColor=e==null?void 0:e.topColor,this.initialTopColor=this.topColor,this.texture=e==null?void 0:e.texture,this.topTexture=e==null?void 0:e.topTexture,this.showImage=(e==null?void 0:e.showImage)!==void 0?e.showImage:this.showImage,this.flipImageToFaceCamera=(e==null?void 0:e.flipImageToFaceCamera)!==void 0?e.flipImageToFaceCamera:this.flipImageToFaceCamera,this.url=e==null?void 0:e.url,this.side=(e==null?void 0:e.side)!==void 0?e.side:this.side,this.renderOrder=(e==null?void 0:e.renderOrder)!==void 0?e.renderOrder:this.renderOrder}};var q=class extends he{constructor(){super(...arguments);i(this,"type","entityBatchedMesh");i(this,"userData",{entities:{}})}},j,U,V,Le=class{constructor(e){i(this,"mesh");i(this,"focusMesh");i(this,"imageMesh");i(this,"textMesh");i(this,"textEntityId");i(this,"type","geometry");i(this,"dirty",!0);i(this,"detached",!1);i(this,"instanceIndex",-1);i(this,"geometry");i(this,"material");i(this,"feature");i(this,"currentHeight",.1);i(this,"focusable",!1);i(this,"color",new re);i(this,"topColor",new re);i(this,"position",new b);E(this,j,0);E(this,U,1);E(this,V);i(this,"texturesVisible",!1);this.feature=e}get visible(){return this.mesh&&this.instanceIndex!==-1?this.mesh.getVisibleAt(this.instanceIndex):!1}set visible(e){this.mesh&&this.instanceIndex!==-1&&this.mesh.setVisibleAt(this.instanceIndex,e)}get renderOrder(){return this.mesh?this.mesh.renderOrder:0}set renderOrder(e){this.mesh&&(this.mesh.renderOrder=e)}setColor(e,t){this.color.set(e),this.topColor.set(t),this.material&&this.material.setColor(this.instanceIndex,this.color,this.topColor)}getColor(){var e;return(e=this.material)==null?void 0:e.getColor(this.instanceIndex)}get altitude(){return f(this,j)}set altitude(e){this.mesh&&(this.mesh.position.z=e,y(this,j,e))}get opacity(){return f(this,U)}set opacity(e){if(this.material&&(this.material.opacity=e,this.material.transparent=e<1,this.material.needsUpdate=!0),this.imageMesh){let t=Array.isArray(this.imageMesh.material)?this.imageMesh.material:[this.imageMesh.material];for(let n of t)n.opacity=e,n.needsUpdate=!0}y(this,U,e)}get texture(){var e,t;return(t=(e=this.material)==null?void 0:e.texture)==null?void 0:t.image.src}set texture(e){this.material&&(this.material.texture=e)}get textureInstance(){var e;return(e=this.material)==null?void 0:e.texture}set topTexture(e){this.material&&(this.material.topTexture=e)}get topTexture(){var e,t;return(t=(e=this.material)==null?void 0:e.topTexture)==null?void 0:t.image.src}get topTextureInstance(){var e;return(e=this.material)==null?void 0:e.topTexture}set blendTexture(e){this.material&&(this.material.blendTexture=e)}get featureBbox(){return f(this,V)?f(this,V):(y(this,V,Ie(this.feature)),f(this,V))}showTextures(){this.material&&(this.material.showTextures(this.instanceIndex),this.texturesVisible=!0)}hideTextures(){this.material&&(this.material.hideTextures(this.instanceIndex),this.texturesVisible=!1)}removeSideTexture(){this.material&&this.material.removeSideTexture(this.instanceIndex)}removeTopTexture(){this.material&&this.material.removeTopTexture(this.instanceIndex)}};j=new WeakMap,U=new WeakMap,V=new WeakMap;s();var Oe="#ffffff",A,$=class{constructor(e={}){i(this,"color",Oe);i(this,"initialColor",Oe);i(this,"topColor");i(this,"initialTopColor");i(this,"opacity",1);i(this,"height");E(this,A);i(this,"outline",!0);i(this,"texture");i(this,"topTexture");i(this,"dirty",!0);var t,n;this.color=(t=e==null?void 0:e.color)!=null?t:this.color,this.initialColor=this.color,this.topColor=e==null?void 0:e.topColor,this.initialTopColor=this.topColor,this.opacity=(n=e==null?void 0:e.opacity)!=null?n:this.opacity,this.height=e==null?void 0:e.height,this.shading=e==null?void 0:e.shading,this.outline=(e==null?void 0:e.outline)!==void 0?!!e.outline:this.outline}get shading(){return f(this,A)}set shading(e){var t;if(!e){y(this,A,void 0);return}y(this,A,(t=f(this,A))!=null?t:{start:0,end:0,intensity:0}),Object.assign(f(this,A),e)}};A=new WeakMap;var S=class extends I{constructor(t,n=new $){super();i(this,"visible",!0);i(this,"type","geometry-group");i(this,"components");i(this,"userData",{entityId:"",entities3D:new Set,opacity:1,dirty:!0,shadingDirty:!0});this.components=[n],this.userData.entityId=t}setVisible(t){this.visible!==t&&(this.visible=t,this.dispatchEvent({type:"childremoved",child:this}))}getOpacity(){return this.userData.opacity}setOpacity(t){this.userData.opacity=t}removeEntity(){this.dispatchEvent({type:"childremoved",child:this})}getfirstChildEntityId(){let t;for(let o of this.children)if(!o.userData.detached){t=o;break}return t instanceof q?Object.values(t.userData.entities)[0]:void 0}setAltitude(t){this.position.z!==t&&(this.position.z=t,this.dispatchEvent({type:"childremoved",child:this}))}get altitude(){return this.position.z}};s();var k=class extends I{},H=class{constructor(e,t,n=0){i(this,"id");i(this,"verticalOffset");i(this,"occluderId");i(this,"object3d",new k);i(this,"components");i(this,"disposed",!1);i(this,"worldPosition",new b);this.id=e.id||x(),this.components=[e],this.verticalOffset=n,this.object3d=new k,this.object3d.position.set(t.x,t.y,t.z+n),this.object3d.userData.entityId=this.id,this.object3d.userData.type=this.type,this.positionDirty=!0}get type(){return this.components[0].type}get parentObject3D(){return this.object3d.parent}get attachedTo(){return this.object3d.userData.attachedEntityId}get position(){return this.positionDirty&&(this.object3d.matrixAutoUpdate=!0,this.object3d.getWorldPosition(this.worldPosition),this.positionDirty=!1,this.object3d.matrixAutoUpdate=!1),this.worldPosition}get positionDirty(){return this.object3d.userData.worldPositionDirty}set positionDirty(e){this.object3d.userData.worldPositionDirty=e}updatePosition(e){this.object3d.position.copy(e),this.positionDirty=!0}setAltitude(e){this.object3d.position.z=e,this.positionDirty=!0}};s();var K=class extends I{constructor(){super(...arguments);i(this,"type","geometry");i(this,"userData",{entityId:"",type:"geometry"})}raycast(t,n){this.userData.type==="model"&&this.children[0]&&t.intersectObject(this.children[0],!0).forEach(o=>{n.push(o)})}},W=class{constructor(e,t){i(this,"id",x());i(this,"components");i(this,"entities2D",new Map);this.components=[e,t]}get object3d(){return this.components[0].mesh}get parentObject3D(){var e;return(e=this.components[0].mesh)==null?void 0:e.parent}get type(){return this.components[0].type}attach(e){this.parentObject3D instanceof S?e.object3d.userData.attachedEntityId=this.id:this.entities2D.set(e.id,e)}detach(e){this.parentObject3D instanceof S&&(e.object3d.userData.parentEntityId=void 0),this.entities2D.delete(e.id)}removeAllEntities(){for(let e of this.entities2D.values())this.detach(e)}};var z=class r extends I{constructor(t){super();i(this,"childrenIds",new Set);i(this,"children",[]);i(this,"type","group-container");i(this,"userData",{entityId:"",entities2D:new Set,dirty:!0,occluderDirty:!1,opacity:1,computedOpacity:1,preloadGeometry:!1});i(this,"components",[]);this.userData.entityId=t}addOccluderFeature(t,n){this.userData.occluderFeature=t,this.userData.occluderId=n,this.userData.occluderDirty=!0}addEntity(t){t instanceof r?(this.childrenIds.add(t.userData.entityId),this.add(t)):t instanceof H?(this.childrenIds.add(t.id),this.add(t.object3d),this.userData.entities2D.add(t.id),t.positionDirty=!0):t instanceof S?(this.childrenIds.add(t.userData.entityId),this.add(t)):t instanceof W&&t.object3d&&(this.childrenIds.add(t.id),this.add(t.object3d)),this.dispatchEvent({type:"childadded",child:this})}removeEntity(t){t instanceof r?(this.childrenIds.delete(t.userData.entityId),this.remove(t)):t instanceof H?(this.childrenIds.delete(t.id),this.userData.entities2D.delete(t.id),this.remove(t.object3d)):t instanceof S?(this.childrenIds.delete(t.userData.entityId),this.remove(t)):t instanceof W&&t.object3d&&(this.childrenIds.delete(t.id),this.add(t.object3d)),this.dispatchEvent({type:"childremoved",child:this})}setVisible(t){this.visible!==t&&(this.visible=t,this.dispatchEvent({type:"childremoved",child:this}))}setAltitude(t){this.position.z!==t&&(this.position.z=t,this.dispatchEvent({type:"childremoved",child:this}),this.set2DGeometryChildrenPositionDirty())}set2DGeometryChildrenPositionDirty(){this.children.forEach(t=>{t instanceof k?t.userData.worldPositionDirty=!0:t instanceof r&&t.set2DGeometryChildrenPositionDirty()})}get altitude(){return this.position.z}setOpacity(t){this.userData.opacity=t}get opacity(){return this.userData.opacity}};s();var cn={top:0,bottom:0,left:0,right:0,type:"pixel"},Ae="mappedin";var mn={ALWAYS_ON_TOP:10},dn=250;s();function $e(r){let e=r.min,t=r.max,n=new b(e.x,e.y,e.z),o=new b(t.x,e.y,e.z),a=new b(e.x,t.y,e.z),u=new b(t.x,t.y,e.z);return[n,o,a,u]}s();function ke(r,e){let t;return typeof e=="string"||typeof e=="number"?(t=r.geometry2DMap.get(e),t==null&&(t=r.geometry3DMap.get(e))):typeof(e==null?void 0:e.id)=="string"||typeof(e==null?void 0:e.id)=="number"?(t=r.geometry2DMap.get(e.id),t==null&&(t=r.geometry3DMap.get(e.id))):t=e,t}function xn(r,e,t=[],n=new ee,o){(r.getSystems().renderSystem.threeDdirty||r.getSystems().renderSystem.twoDdirty)&&r.renderSync();let a=ke(r.getInternalState(),e);return Ge(a,t,n,o),t}var X=new b;function Ge(r,e=[],t=new ee,n){if(r.visible){if(r.isMesh||r.isLine||r.isPoints){let o=r.geometry;if(o.isBufferGeometry){let a=o.attributes.position;for(let u=0;u<a.count;u++)X.fromBufferAttribute(a,u),n!==void 0&&(X.z=n),e.push(X.clone()),t.expandByPoint(X)}}for(let o of r.children)Ge(o,e,t,n)}}s();function Ke(){return typeof window>"u"?1:Math.min(window.devicePixelRatio,2)}s();function Xe(r,e,t=!1){let n=null,o=0;return function(...a){o++,o===1&&t===!0&&r(...a);let u=()=>{(!t||o>1)&&r(...a),n=null,o=0};clearTimeout(n),n=setTimeout(u,e)}}s();var Ze=(()=>{let r;return{getDeviceType(){if(r)return r;let{userAgent:e,platform:t,maxTouchPoints:n}=window.navigator,o=/(iphone|ipod|ipad)/i.test(e),a=t==="iPad"||t.indexOf("Mac")===0&&n>0&&!window.MSStream,u=/android/i.test(e);return r={isIpad:a,isMobile:u||o||a,isSafari12:/Version\/12.+Safari/.test(e),isFirefox:/Firefox/.test(e),isWindows:/windows/i.test(e)},r},_reset(){r=void 0}}})(),Ne=Ze.getDeviceType,_e=(()=>{let r,e,t;function n(){if(e!==void 0)return e;r||(r=document.createElement("canvas"));let a=r.getContext("webgl")||r.getContext("experimental-webgl");if(!a)return e;try{let u=Ne().isFirefox?null:a.getExtension("WEBGL_debug_renderer_info");return e=u?a.getParameter(u.UNMASKED_RENDERER_WEBGL):a.getParameter(a.RENDERER),e}catch(u){let l=new Error("Failed getting device info");throw l.name="FailedGettingDeviceInfo",l}}function o(){var u,l;if(!Ne().isWindows)return!1;if(t!==void 0)return t;let a=(l=(u=Qe())==null?void 0:u.toLowerCase())!=null?l:"";return t=a.includes("intel")&&(a.includes("uhd")||a.includes("iris")),t}return{getInfo:n,shouldDisableOffscreenCanvas:o,_setCanvas(a){r=a,e=void 0,t=void 0}}})(),Qe=_e.getInfo,et=_e.shouldDisableOffscreenCanvas;s();function tt(r,e){let t={};for(let n=0;n<e.length;n++){let o=e[n];o in r&&(t[o]=r[o])}return t}function rt(r){return Object.keys(r).length===0}s();var nt=r=>e=>{if(!e.includes("mappedin")){let t={};for(let n in r){let o=r[n];e.includes("mappedin")||(r[n]=o)}return{url:e,headers:t}}return{url:e,headers:r}};function jn(r,e,t,n){let o=r*(Math.PI/180),a=n/R,u=r+a*180/Math.PI,l=t/R/Math.cos(o),c=e+l*180/Math.PI;return{lat:u,lon:c}}function Un(r,e,t,n){let o=t*(Math.PI/180),a=n*(Math.PI/180),u=r*(Math.PI/180),l=e*(Math.PI/180),c=o-u,d=a-l,h=R*d*Math.cos(u),p=R*c;return{x:h,y:p}}var it=(r,e)=>{var t;if(r.children&&r.visible)for(let n of r.children){if(n.visible&&n.type)if("entities3D"in n.userData&&((t=n.userData)!=null&&t.entities3D)&&n.type==="geometry-group"){e.add(n.userData.entityId);for(let o of n.userData.entities3D.values())e.add(o)}else(n.type==="group-container"||n.type==="custom-geometry"||n instanceof K)&&e.add(n.userData.entityId);it(n,e)}return e},ot=(r,e)=>{var t;if(r.children&&r.visible&&!((t=r.userData)!=null&&t.hidden))for(let n of r.children)n.visible&&n instanceof k&&e.add(n.userData.entityId),ot(n,e);return e};function at(r,e){for(let t in e){if(e[t]==null){r[t]=void 0;continue}typeof e[t]=="object"?at(r[t],e[t]):r[t]=e[t]}return r}function Hn(r,e,t,n){let o={translateX:r.x,translateY:r.y,translateZ:r.z,scale:r.meterInMercatorCoordinateUnits()},a=new te,u=new b(o.scale,-o.scale,o.scale),l=new te().makeTranslation(o.translateX,o.translateY,o.translateZ).scale(u),c=t.elevation;return{id:Ae,type:"custom",renderingMode:"3d",render:(d,h)=>{if(a.fromArray(h),c!==t.elevation){let p=be.fromLngLat(r.toLngLat(),t.elevation);l.makeTranslation(o.translateX,o.translateY,-p.z).scale(u)}e.projectionMatrix=a.multiply(l),c=t.elevation,n()}}}function st(r){return fetch(r,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({grant_type:"client_credentials"})})}async function Wn(r){let e=await st(r),{access_token:t}=await e.json();return{"x-mappedin-tiles-key":t}}function zn(r,e=0){let t=3735928559^e,n=1103547991^e;for(let o=0,a;o<r.length;o++)a=r.charCodeAt(o),t=Math.imul(t^a,2654435761),n=Math.imul(n^a,1597334677);return t=Math.imul(t^t>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),4294967296*(2097151&n)+(t>>>0)}var ut=r=>r;var Jn=r=>1-Math.cos(r*Math.PI/2);function Yn(r,e,t,n,o,a=ut){r=Math.max(e,Math.min(r,t));let u=(r-Math.min(e,t))/Math.abs(t-e),l=a(u);return n+l*(o-n)}function qn(r,e,t){let n=r*(Math.PI/180)/2,o=e/2;return t*Math.tan(n)/o}function $n(r){return new ge(new ne(r[0][0],r[0][1]),new ne(r[1][0],r[1][1])).getCenter().toArray()}function Kn(r,e){return r<e||e<=12}function Xn(r){let e=1;return r.type==="geometry-group"&&r.parent!=null&&r.parent instanceof z?e=r.parent.userData.computedOpacity:(r.type==="geometry"||r.type==="custom-geometry"||r.type==="model")&&r.parentObject3D!=null&&r.parentObject3D instanceof S&&r.parentObject3D.parent!=null&&r.parentObject3D.parent instanceof z&&(e=r.parentObject3D.parent.userData.computedOpacity),e}s();var pe=class{constructor(e){i(this,"visible");i(this,"altitude");i(this,"color");i(this,"dirty",!0);i(this,"maxWidth");i(this,"maxHeight");i(this,"hoverByPolygon");i(this,"flipToFaceCamera",Fe.flipToFaceCamera);i(this,"font");i(this,"fillOpacity");i(this,"fontSize");i(this,"margin");i(this,"outlineWidth");i(this,"outlineBlur");i(this,"outlineOffsetX");i(this,"strokeColor");i(this,"strokeOpacity");i(this,"strokeWidth");i(this,"hoverColor");i(this,"outlineOffsetY");i(this,"outlineColor");i(this,"outlineOpacity");e&&Object.assign(this,e)}getState(e=!1){let t={};for(let n in this)!e&&n==="dirty"||this[n]!==void 0&&(t[n]=this[n]);return t}},Fe=Object.freeze({visible:!0,color:"black",flipToFaceCamera:!0,fillOpacity:1,font:void 0,fontSize:2,margin:[.2,1,.2,1.5],outlineColor:"black",outlineOpacity:1,outlineWidth:0,outlineOffsetX:0,outlineOffsetY:0,outlineBlur:0,strokeOpacity:1,strokeWidth:0,maxWidth:void 0,maxHeight:void 0,strokeColor:"black",hoverColor:void 0});s();s();var fe=class{constructor(e){i(this,"dirty",!0);i(this,"visible",!0);i(this,"opacity",1);i(this,"verticalOffset",0);i(this,"interactive",!1);i(this,"color");i(this,"material");i(this,"rotation");i(this,"scale");e&&Object.assign(this,e)}};s();var lt=[1,1,1],ct=[0,0,0];export{ie as a,Re as b,mt as c,oe as d,R as e,Tt as f,L as g,Mt as h,Et as i,St as j,Pt as k,Ue as l,wt as m,Ct as n,Ot as o,Gt as p,x as q,ue as r,le as s,O as t,We as u,or as v,we as w,ar as x,sr as y,ur as z,lr as A,cr as B,mr as C,dr as D,Y as E,gr as F,Je as G,br as H,Ce as I,me as J,de as K,q as L,Le as M,$ as N,S as O,k as P,H as Q,K as R,W as S,z as T,cn as U,Ae as V,mn as W,dn as X,$e as Y,ke as Z,xn as _,Ke as $,Xe as aa,et as ba,tt as ca,rt as da,nt as ea,He as fa,jn as ga,Un as ha,it as ia,ot as ja,at as ka,Hn as la,Wn as ma,zn as na,ut as oa,Jn as pa,Yn as qa,qn as ra,$n as sa,Kn as ta,Xn as ua,pe as va,Fe as wa,fe as xa,lt as ya,ct as za};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e}from"./chunk-QRWMPXER.js";var p,a=e(()=>{p={env:{NODE_ENV:"production",npm_package_version:"6.0.1-beta.47"}}});export{a,p as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var y=Object.create,u=Object.freeze,l=Object.defineProperty,z=Object.defineProperties,A=Object.getOwnPropertyDescriptor,B=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,D=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var m=(a,b)=>(b=Symbol[a])?b:Symbol.for("Symbol."+a),q=a=>{throw TypeError(a)};var o=(a,b,c)=>b in a?l(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,F=(a,b)=>{for(var c in b||(b={}))p.call(b,c)&&o(a,c,b[c]);if(n)for(var c of n(b))v.call(b,c)&&o(a,c,b[c]);return a},G=(a,b)=>z(a,B(b));var H=a=>typeof a=="symbol"?a:a+"",I=(a,b)=>{var c={};for(var d in a)p.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&n)for(var d of n(a))b.indexOf(d)<0&&v.call(a,d)&&(c[d]=a[d]);return c};var J=(a,b)=>()=>(a&&(b=a(a=0)),b);var K=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),L=(a,b)=>{for(var c in b)l(a,c,{get:b[c],enumerable:!0})},E=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of C(b))!p.call(a,e)&&e!==c&&l(a,e,{get:()=>b[e],enumerable:!(d=A(b,e))||d.enumerable});return a};var M=(a,b,c)=>(c=a!=null?y(D(a)):{},E(b||!a||!a.__esModule?l(c,"default",{value:a,enumerable:!0}):c,a));var N=(a,b,c)=>o(a,typeof b!="symbol"?b+"":b,c),r=(a,b,c)=>b.has(a)||q("Cannot "+c);var O=(a,b,c)=>(r(a,b,"read from private field"),c?c.call(a):b.get(a)),P=(a,b,c)=>b.has(a)?q("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(a):b.set(a,c),Q=(a,b,c,d)=>(r(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c),R=(a,b,c)=>(r(a,b,"access private method"),c);var S=(a,b)=>u(l(a,"raw",{value:u(b||a.slice())}));var w=function(a,b){this[0]=a,this[1]=b},T=(a,b,c)=>{var d=(g,h,i,k)=>{try{var s=c[g](h),t=(h=s.value)instanceof w,x=s.done;Promise.resolve(t?h[0]:h).then(j=>t?d(g==="return"?g:"next",h[1]?{done:j.done,value:j.value}:j,i,k):i({value:j,done:x})).catch(j=>d("throw",j,i,k))}catch(j){k(j)}},e=g=>f[g]=h=>new Promise((i,k)=>d(g,h,i,k)),f={};return c=c.apply(a,b),f[m("asyncIterator")]=()=>f,e("next"),e("throw"),e("return"),f},U=a=>{var b=a[m("asyncIterator")],c=!1,d,e={};return b==null?(b=a[m("iterator")](),d=f=>e[f]=g=>b[f](g)):(b=b.call(a),d=f=>e[f]=g=>{if(c){if(c=!1,f==="throw")throw g;return g}return c=!0,{done:!1,value:new w(new Promise(h=>{var i=b[f](g);i instanceof Object||q("Object expected"),h(i)}),1)}}),e[m("iterator")]=()=>e,d("next"),"throw"in b?d("throw"):e.throw=f=>{throw f},"return"in b&&d("return"),e};export{F as a,G as b,H as c,I as d,J as e,K as f,L as g,M as h,N as i,O as j,P as k,Q as l,R as m,S as n,T as o,U as p};
|